Ticket #3377 (closed defect: duplicate)
trac-admin do not work with Python 2.5 beta 1
| Reported by: | kismet.sl@… | Owned by: | daniel |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | 0.9.6 |
| Severity: | major | Keywords: | |
| Cc: |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


