Opened 8 years ago
Closed 8 years ago
#365 closed enhancement (fixed)
email2trac doesn't work with discussionplugin 0.9
Reported by: | anonymous | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | email2trac | Version: | 2.8.4 |
Keywords: | Cc: |
Description
trying to use email2trac v2.8.8 with discussionplugin v0.9dev. I think the discussionplugin API must have changed and there is an incompatibility
2015-05-09 16:46:03,957 email2trac wol: Traceback (most recent call last):
2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 2915, in <module>
tktparser.parse(sys.stdin)
2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 1823, in parse
self.parse_subject_field(m, subject, spam_msg)
2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 1938, in parse_subject_field
self.discussion_topic_reply(m, subject[result.end('topic'):])
2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 1589, in discussion_topic_reply
topic = api.get_topic(context, self.id)
2015-05-09 16:46:03,957 email2trac wol: File "build/bdist.linux-x86_64/egg/tracdiscussion/api.py", line 1699, in get_topic
(id,))
2015-05-09 16:46:03,957 email2trac wol: File "build/bdist.linux-x86_64/egg/tracdiscussion/model.py", line 54, in _get_item
cursor = context.db.cursor()
2015-05-09 16:46:03,958 email2trac wol: AttributeError?: 'RenderingContext?' object has no attribute 'db'
Attachments (1)
Change History (7)
Changed 8 years ago by anonymous
comment:1 Changed 8 years ago by anonymous
Added a patch which works for me, using Trac 1.0.5 and tracdiscussion 0.9
comment:2 Changed 8 years ago by bas
In 668:
comment:3 follow-up: ↓ 5 Changed 8 years ago by bas
- Status changed from new to assigned
Thanks for the patch. Can i have your name. Then I can give you the credits.
comment:4 Changed 8 years ago by bas
- Type changed from defect to enhancement
comment:5 in reply to: ↑ 3 Changed 8 years ago by anonymous
Replying to bas:
Thanks for the patch. Can i have your name. Then I can give you the credits.
Thank-you. Paul Emberson
comment:6 Changed 8 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
Updated changelog
patch for email2trac v2.8.8