Modify ↓
Ticket #1501 (closed defect: fixed)
Opened 7 years ago
Last modified 7 years ago
Error when going from 0.8.0 to 0.8.1
| Reported by: | Bernd VanSkiver <bernd@…> | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.8.1 |
| Severity: | blocker | Keywords: | |
| Cc: | bernd@… | ||
| 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
Change History
comment:1 Changed 7 years ago by anonymous
- Milestone changed from 0.5 to 0.8.1
comment:2 Changed 7 years ago by anonymous
- Milestone 0.8.1 deleted
comment:3 Changed 7 years ago by mgood
comment:4 Changed 7 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 7 years ago by cmlenz
- Resolution fixed deleted
- Status changed from closed to reopened
Don't just close a ticket without comment.
comment:6 Changed 7 years ago by Bernd VanSkiver
- Resolution set to fixed
- Status changed from reopened to 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.