Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#7311 closed defect (invalid)

Incorrect integer value: 'WikiStart'

Reported by: mcarpent Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.11rc1
Severity: normal Keywords: infoneeded
Cc: mcarpent@… Branch:
Release Notes:
API Changes:
Internal 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 (0)

Change History (3)

comment:1 by Christian Boos, 17 years ago

Keywords: infoneeded added
Milestone: 0.11

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 by mcarpent, 17 years ago

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 by mcarpent, 17 years ago

Resolution: invalid
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.