Modify ↓
Opened 21 years ago
Closed 21 years ago
#1527 closed defect (fixed)
Python 2.2 compatibility issues
| Reported by: | xris | Owned by: | Christopher Lenz |
|---|---|---|---|
| Priority: | high | Milestone: | 0.9 |
| Component: | general | Version: | devel |
| Severity: | blocker | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Just upgraded to [1645] and I now get this: (I assume it's a python 2.2 type error)
invalid syntax (auth.py, line 106)
Traceback (most recent call last):
File "/var/www/trac/cgi-bin/trac.cgi", line 25, in ?
from trac.web import cgi_frontend
File "/usr/lib/python2.2/site-packages/trac/web/cgi_frontend.py", line 23, in ?
from trac.web.main import Request, dispatch_request, send_pretty_error
File "/usr/lib/python2.2/site-packages/trac/web/main.py", line 25, in ?
from trac.web.auth import Authenticator
File "/usr/lib/python2.2/site-packages/trac/web/auth.py", line 106
yield 'metanav', 'login', 'logged in as %s' \
^
SyntaxError: invalid syntax
Attachments (0)
Change History (5)
comment:1 by , 21 years ago
| Component: | general → changeset view |
|---|---|
| Milestone: | → 0.9 |
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 21 years ago
| Component: | changeset view → general |
|---|
comment:4 by , 21 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
| Summary: | fatal error in → Python 2.2 compatibility issues |
Apparently, more files are missing the from __future__ import generators magic:
- trac/web/auth.py
- trac/About.py
- trac/attachment.py
- trac/wiki/api.py
- trac/wiki/model.py
- trac/Changeset.py
- trac/Timeline.py
- trac/Query.py
- trac/Ticket.py
- trac/Report.py
- trac/Roadmap.py
- trac/Milestone.py
- trac/Search.py
- trac/Settings.py
- trac/wiki/web_ui.py
- trac/wiki/macros.py
Note:
See TracTickets
for help on using tickets.



Oops, wrong ticket