Modify

Opened 14 years ago

Closed 14 years ago

Last modified 4 years ago

#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 14 years ago by Radek Bartoň

Status: newassigned

Thanks for reporting.

comment:2 Changed 14 years ago by Radek Bartoň

Resolution: wontfix
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.