Edgewall Software

Ticket #3377 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

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

stefano.lenzi.patch (0.7 KB) - added by kismet.sl@… 2 years ago.
Stefano Lenzi: Patch for fixing this bug

Change History

Changed 2 years ago by kismet.sl@…

Stefano Lenzi: Patch for fixing this bug

Changed 2 years ago by anonymous

  • milestone set to 0.9.7

Changed 2 years ago by eblot

  • severity changed from blocker to major
  • milestone 0.9.7 deleted
  • 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

Changed 2 years ago by cmlenz

  • status changed from new to closed
  • resolution set to duplicate

This is a duplicate of #3351.

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

Add/Change #3377 (trac-admin do not work with Python 2.5 beta 1)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from daniel. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.