Modify ↓
#6465 closed defect (wontfix)
Creating forum with 0.11 gives "TypeError: 'module' object is not callable". working OK on >= 0.11.1
Reported by: | François Granade | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | lowest | Component: | DiscussionPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
This is working correctly with 0.11.1 and later versions - so I suppose it shouldn't be fixed, but since I had the problem, I report it
Creating a forum failed with this error:
NotifyEmail.notify(self, id, subject) File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/notification.py", line 241, in notify Notify.notify(self, resid) File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/notification.py", line 130, in notify self.send(torcpts, ccrcpts) File "/home/francoisg/discussionplugin/0.11/tracdiscussion/notification.py", line 131, in send header['Message-ID'] = self.get_forum_email_id(self.forum['id']) File "/home/francoisg/discussionplugin/0.11/tracdiscussion/notification.py", line 165, in get_forum_email_id digest = md5(s).hexdigest()
Workaround was to edit tracdiscussion/notification.py
and add on line 19 the following code:
try: md5() except TypeError: md5 = md5.new
Of course, I should upgrade :)...
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for reporting.