Modify ↓
Opened 20 years ago
Closed 20 years ago
#1501 closed defect (fixed)
Error when going from 0.8.0 to 0.8.1
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.8.1 |
Severity: | blocker | Keywords: | |
Cc: | bernd@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal 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 , 20 years ago
Milestone: | 0.5 → 0.8.1 |
---|
comment:2 by , 20 years ago
Milestone: | 0.8.1 |
---|
comment:3 by , 20 years ago
comment:4 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 20 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Don't just close a ticket without comment.
comment:6 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I figured out my issue, it was just an invalid file, I had made some modifications and had a syntax error.
Note:
See TracTickets
for help on using tickets.
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.