Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#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:


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

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) (1012 bytes) - added by piotrm@… 16 years ago.

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by piotrm@…

comment:1 Changed 15 years ago by bas

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from 0.1 to 0.3

This bug is fixed in 0.30 and has todo with settings in trac.ini

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?

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.