#3377: trac-admin do not work with Python 2.5 beta 1
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: daniel
Type: defect | Status: new
Priority: normal | Milestone:
Component: trac-admin | Version: 0.9.6
Severity: blocker | Keywords:
---------------------------------+------------------------------------------
Hi All,
I'm trying to run '''Trac 0.9.6''' with '''Python 2.5 beta 1''' on Linux
and I got the following error when I executed '''trac-admin''':
{{{
Traceback (most recent call last):
File "/opt/build/python-2.5b1/bin/trac-admin", line 21, in <module>
from trac.scripts.admin import run
File "/opt/build/python-2.5b1/lib/python2.5/site-
packages/trac/scripts/admin.py", line 17
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the
file
}}}
also beacuse it seems a simple error I've fixed it by moving the line
__copyright__ after all the imports.
Attached to the file there is the patch
--
Ticket URL: <http://trac.edgewall.org/ticket/3377>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets