Modify ↓
Opened 20 months ago
Last modified 19 months ago
#9527 assigned defect
MailToTracPlugin 0.12 not compatible with Python 2.4.3
| Reported by: | Floris Lambrechts | Owned by: | zitune |
|---|---|---|---|
| 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 (4)
comment:1 Changed 20 months ago by Floris
- Summary changed from MailToTracPlugin 12.0 not compatible with Python 2.4.3 to MailToTracPlugin 0.12 not compatible with Python 2.4.3
comment:2 Changed 20 months ago by zitune
- Status changed from new to assigned
comment:3 Changed 20 months ago by zitune
comment:4 Changed 19 months ago by Floris Lambrechts
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?
Note: See
TracTickets for help on using
tickets.


i'll try to patch this today.