Modify ↓
#3377 closed defect (duplicate)
trac-admin do not work with Python 2.5 beta 1
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | 0.9.6 |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (1)
Change History (4)
by , 19 years ago
Attachment: | stefano.lenzi.patch added |
---|
comment:1 by , 19 years ago
Milestone: | → 0.9.7 |
---|
comment:2 by , 19 years ago
Milestone: | 0.9.7 |
---|---|
Severity: | blocker → major |
comment:3 by , 19 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is a duplicate of #3351.
Also note that this issue doesn't even exist in current trunk anymore.
Note:
See TracTickets
for help on using tickets.
Stefano Lenzi: Patch for fixing this bug