Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6723 closed defect (fixed)

TypeError with smtplib change, unexpected argument

Reported by: kavehv Owned by: doki_pen
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


With a recent update (running Trac 0.11.6, python 2.4) I got the following error. Commenting out the "timeout=self.smtp_timeout" in seems to have fixed the problem and I'm getting email notifications again.

2010-02-24 10:51:10,576 Trac[api] ERROR: AnnouncementSystem failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/AnnouncerPlugin-1.0_a1-py2.4.egg/announcerplugin/", line 369, in _real_send
    distributor.distribute(transport, packages[transport], evt)
  File "/usr/lib/python2.4/site-packages/AnnouncerPlugin-1.0_a1-py2.4.egg/announcerplugin/distributors/", line 236, in distribute
    self._do_send(transport, event, k, v, fmtdict[k])
  File "/usr/lib/python2.4/site-packages/AnnouncerPlugin-1.0_a1-py2.4.egg/announcerplugin/distributors/", line 392, in _do_send
  File "/usr/lib/python2.4/site-packages/AnnouncerPlugin-1.0_a1-py2.4.egg/announcerplugin/distributors/", line 409, in _transmit
TypeError: __init__() got an unexpected keyword argument 'timeout'
2010-02-24 10:51:10,577 Trac[api] DEBUG: AnnouncementSystem sent event in 0.11 seconds.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from new to closed

(In [7718]) Merge branch 'origin-0.11dev' into svn-0.11dev

fixes #6723

comment:2 Changed 7 years ago by kavehv


Add Comment

Modify Ticket

as closed The owner will remain doki_pen.
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.