Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#1501 closed defect (fixed)

Error when going from 0.8.0 to 0.8.1

Reported by: Bernd VanSkiver <bernd@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8.1
Severity: blocker Keywords:
Cc: bernd@… Branch:
Release Notes:
API Changes:

Description

I just downloaded the 0.8.1 Trac code and ran the setup.py install script and now whenever I try to do anything with Trac I get the following error:

Trac detected an internal error:

'tuple' object is not callable

Traceback (most recent call last):
  File "C:/Python23/share/trac/cgi-bin/trac.cgi", line 24, in ?
    import trac.core
  File "C:\Python23\Lib\site-packages\trac\core.py", line 37, in ?
    import Environment
  File "C:\Python23\Lib\site-packages\trac\Environment.py", line 33, in ?
    import db_default
  File "C:\Python23\Lib\site-packages\trac\db_default.py", line 349, in ?
    data = (('enum',
TypeError: 'tuple' object is not callable

Nothing with my Trac sites will now work, I need to get this fixed ASAP. I am running ActiveState Python 2.3.5 on Windows 2003

Attachments (0)

Change History (6)

comment:1 by anonymous, 14 years ago

Milestone: 0.50.8.1

comment:2 by anonymous, 14 years ago

Milestone: 0.8.1

comment:3 by Matthew Good, 14 years ago

The file db_default.py where this error is occurring was not changed between 0.8 and 0.8.1. Compare the db_default.py file installed on your system to source:tags/trac-0.8.1/trac/db_default.py#latest since the 'enum' listed in the traceback should actually be 'component', and 'enum' is actually on line 365. As far as I can tell, you either have a modified version of that file which is not valid, or ActiveState's Python compiler has a bug.

comment:4 by anonymous, 14 years ago

Resolution: fixed
Status: newclosed

comment:5 by Christopher Lenz, 14 years ago

Resolution: fixed
Status: closedreopened

Don't just close a ticket without comment.

comment:6 by Bernd VanSkiver, 14 years ago

Resolution: fixed
Status: reopenedclosed

I figured out my issue, it was just an invalid file, I had made some modifications and had a syntax error.

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'.

Add Comment


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