Edgewall Software
Modify

Ticket #7311 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Incorrect integer value: 'WikiStart'

Reported by: mcarpent Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.11rc1
Severity: normal Keywords: infoneeded
Cc: mcarpent@…
Release Notes:
API Changes:

Description

In my apache logs I am seeing the following over and over:

/usr/lib/python2.5/site-packages/Trac-0.11rc1-py2.5.egg/trac/db/util.py:50: Warning: Incorrect integer value: 'WikiStart' for column 'id' at row 1
  return self.cursor.execute(sql_escape_percent(sql), args)

This did not start until upgrading from trac 10.4 to 0.11rc1.

OS: Ubuntu Hard Heron (8.04)
Apache: 2.2.8-1ubuntu0.1
Python: 2.5.2-0ubuntu1

Attachments

Change History

comment:1 Changed 4 years ago by cboos

  • Keywords infoneeded added
  • Milestone 0.11 deleted

More context is needed. Have a look at TracLogging to see how to log errors to a file, then copy here the full Python backtrace you'll find in the trac.log file.

comment:2 Changed 4 years ago by mcarpent

Enabling Debug log refused to reproduce backtrace in log. I had tried this previously, and the error log in apache was the only place error was showing. Uncommenting debug statements in db/util.py and recompiling/reinstalling also didn't give any extra information.

I have created a new trac environment and copied the necessary ini settings and tables from a backup, and for now the error seems to be gone.

I'll hold off on closing for a couple days in case I see the error pop up again with a proper backtrace.

comment:3 Changed 4 years ago by mcarpent

  • Resolution set to invalid
  • Status changed from new to closed

Error has not reappeared. Will close... something strange with the environment/database I guess. More than likely my own fault.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.