Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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: 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)

stefano.lenzi.patch (666 bytes ) - added by kismet.sl@… 18 years ago.
Stefano Lenzi: Patch for fixing this bug

Download all attachments as: .zip

Change History (4)

by kismet.sl@…, 18 years ago

Attachment: stefano.lenzi.patch added

Stefano Lenzi: Patch for fixing this bug

comment:1 by anonymous, 18 years ago

Milestone: 0.9.7

comment:2 by Emmanuel Blot, 18 years ago

Milestone: 0.9.7
Severity: blockermajor
  • 0.9.x branch is a maintenance branch mainly used for security fixes → discarding the milestone
  • I really don't think that not supporting a unreleased version of the Python VM can be considered as a blocking issue → decreasing severity

comment:3 by Christopher Lenz, 18 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #3351.

Also note that this issue doesn't even exist in current trunk anymore.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.