I just changed the wiki to reflect my first point. I didn't realize it was open to everyone.
On Sep 12, 2:11 pm, pieroxy <[email protected]> wrote: > Hi there, > > I was trying to get TracNotification to work, and I almost got there. > I am using Ubuntu (11.04) with trac from the repos (0.11.7) > > First of all, the wiki page is misleading. It lets you believe the > "Example configuration (SMTP)" is enough to get it to work, when the > crucial "email_sender = SmtpEmailSender" is missing. > > Second, whenever I activate SMTP (smtp_enabled = true), I get the > following message in the logs (and an error page): > > 2011-09-12 13:44:38,524 Trac[notification] INFO: Sending SMTP > notification to smtp.free.fr:25 to [u'pierre@...'] > 2011-09-12 13:44:42,916 Trac[main] ERROR: Internal Server Error: > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 450, > in _dispatch_request > dispatcher.dispatch(req) > File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 217, > in dispatch > self._post_process_request(req, *resp) > File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 309, > in _post_process_request > resp = f.post_process_request(req, *resp) > File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 869, in > post_process_request > email=email, link=link)))) > TypeError: __call__() got an unexpected keyword argument 'link' > > The email are sent allright. > > Another issue, I receive the email verification mail every time. I can > clic on the link and log in, it doesn't do anything. > > Thanks for your help. > > Note: my trac.ini notifications section: > > [notification] > admit_domains = > always_notify_owner = true > always_notify_reporter = true > always_notify_updater = true > ignore_domains = > mime_encoding = none > smtp_always_bcc = > email_sender = SmtpEmailSender > smtp_always_cc = > smtp_default_domain = > smtp_enabled = false > smtp_from = pierre@... > smtp_from_name = Pierre > smtp_password = > smtp_port = 25 > smtp_replyto = pierre@... > smtp_server = my.isp.smtp.server.name > smtp_subject_prefix = __default__ > smtp_user = > ticket_subject_template = $prefix #$ticket.id: $summary > use_public_cc = false > use_short_addr = false > use_tls = false -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
