Modify ↓
Ticket #1527 (closed defect: fixed)
Python 2.2 compatibility issues
| Reported by: | xris | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | high | Milestone: | 0.9 |
| Component: | general | Version: | devel |
| Severity: | blocker | Keywords: | |
| Cc: |
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
Change History
comment:1 Changed 5 years ago by cmlenz
- Owner changed from jonas to cmlenz
- Status changed from new to assigned
- Component changed from general to changeset view
- Milestone set to 0.9
comment:2 Changed 5 years ago by cmlenz
- Component changed from changeset view to general
Oops, wrong ticket
comment:3 Changed 5 years ago by cmlenz
- Status changed from assigned to closed
- Resolution set to fixed
Fixed in [1646].
comment:4 Changed 5 years ago by cmlenz
- Status changed from closed to reopened
- Resolution fixed deleted
- Summary changed from fatal error in to 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.


