Modify ↓
Opened 14 years ago
Closed 10 years ago
#9527 closed defect (worksforme)
MailToTracPlugin 0.12 not compatible with Python 2.4.3
| Reported by: | Floris Lambrechts | Owned by: | Olivier ANDRE |
|---|---|---|---|
| Priority: | normal | Component: | MailToTracPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description
I am running Trac 12.0 on Python v2.4.3 (CentOS).
When building MailToTracPlugin r10884, this fails with syntax errors. I suspecs this is due to the old Python version.
cd plugin
python setup.py bdist_egg
(...)
byte-compiling build/bdist.linux-i686/egg/mail2trac/utils.py to utils.pyc
File "build/bdist.linux-i686/egg/mail2trac/utils.py", line 170
with open('/home/zitune/tmp/mail', 'r') as f :
^
SyntaxError: invalid syntax
(...)
byte-compiling build/bdist.linux-i686/egg/mail2trac/email2ticket.py to email2ticket.pyc
File "build/bdist.linux-i686/egg/mail2trac/email2ticket.py", line 225
action = actions.keys()[0] if actions else None
^
SyntaxError: invalid syntax
Attachments (0)
Change History (5)
comment:1 Changed 14 years ago by
| Summary: | MailToTracPlugin 12.0 not compatible with Python 2.4.3 → MailToTracPlugin 0.12 not compatible with Python 2.4.3 |
|---|
comment:2 Changed 14 years ago by
| Status: | new → assigned |
|---|
comment:4 Changed 14 years ago by
Thanks, it now builds without problems.
However when I install mail2trac (copy the .egg to env/plugins/ plus a restart of apache), the plugin does not show up in the list of plugins (URL /admin/general/plugin).
Any pointers for how I can debug this issue? Am I installing it incorrectly?
comment:5 Changed 10 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | assigned → closed |
Closing this very old installation issue. Please follow-up if you still need help debugging the issue.
Note: See
TracTickets for help on using
tickets.



i'll try to patch this today.