Ticket #1501 (closed defect: fixed)
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@… |
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:3 Changed 5 years ago by mgood
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 Changed 5 years ago by anonymous
- Status changed from new to closed
- Resolution set to fixed


