Modify ↓
#34 closed setup (fixed)
Have newer seen such a good work before!
Reported by: | anonymous | Owned by: | bas |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | email2trac | Version: | 0.3 |
Keywords: | Cc: |
Description
Source of this problem is in TicketEmailParser::notify().
Here it tries to set hrefs:
self.env.abs_href = Href(self.get_config('project', 'url')) self.env.href = Href(self.get_config('project', 'url'))
Unfortunately as of Trac version 0.11 abs_href and href are properties that don't have function for setting value (see http://trac.edgewall.org/browser/trunk/trac/env.py):
href = property(_get_href, 'The application root path') abs_href = property(_get_abs_href, 'The application URL')
So when trying to set hrefs you get str object is not callable exception. As a workaround I added set functions to above properties. See attached diff.
Attachments (1)
Change History (3)
Changed 16 years ago by piotrm@…
comment:1 Changed 16 years ago by bas
- Resolution set to fixed
- Status changed from new to closed
- Version changed from 0.1 to 0.3
comment:3 Changed 15 years ago by bas
- Keywords 6522983 removed
Is did not fixed in a upstream email2trac version? Or did you submit your patch to the trac devlopers?
Note: See
TracTickets for help on using
tickets.
This bug is fixed in 0.30 and has todo with settings in trac.ini