Register new user not working with AccountManager and Announcer

40 views
Skip to first unread message

Mo

unread,
Mar 16, 2015, 5:52:09 AM3/16/15
to trac-...@googlegroups.com
This is trac-1.0.4.

I can't get the procedure for self-registering new users working. There should be sent some Email for confirming registration. I remember this used to work before setting up Announcer plugin.

There is no email sent.

Currently these plugins are active in ./plugins:

RoadmapHours-0.5-py2.7.egg
SimpleMultiProject-0.0.4dev_r14359-py2.7.egg
timingandestimationplugin
-1.4.4b-py2.7.egg
TracAccountManager-0.5dev_r14363-py2.7.egg
TracAnnouncer-1.0dev_r13984-py2.7.egg
TracAutocompleteUsersPlugin-0.4.3dev_r14213-py2.7.egg
TracDiscussion-0.9dev_r14140-py2.7.egg
TracFullBlogPlugin-0.1.1_r0-py2.7.egg
TracGanttCalendarPlugin-0.6.4_r859-py2.7.egg
TracMasterTickets-3.0.5dev_r14323-py2.7.egg
TracWatchlistPlugin-1.0.1-patched_py2.7.egg
TracWikiExtras-1.0dev_r14316-py2.7.egg
TracWorkflowAdmin-0.12.0.2-py2.7.egg
TracWysiwyg-0.12.0.5_r13457-py2.7.egg
WikiAutoComplete-1.0-py2.7.egg
WorkLog-0.4dev_r13835-py2.7.egg

I attach the complete trac.ini and DEBUG log of the registering procedure.

I need the AccountManager plugin for HTML form login (switching users, storing multiple account logins in the browsers keystore). I need the Announcer plugin for rule based subscriptions / email rules. Default trac has very few options here.

I also enabled all admin/accounts/notification to g. That email was not sent either, so I guess there is something wrong with the smtp setup of Announcer. Using the smtp setting at [notification] was working before.
trac.ini
trac.log

Mo

unread,
Mar 16, 2015, 6:04:32 AM3/16/15
to trac-...@googlegroups.com
I've seen
http://trac-hacks.org/wiki/AnnouncerPlugin/PluginSupport/AccountManagerPlugin

but where do I get the plugin? Looking at the changes it seems to be integrated in announcerplugin/trunk, but how to enable?

Mo

unread,
Mar 16, 2015, 10:31:37 AM3/16/15
to trac-...@googlegroups.com
Enabling default notification again by

[notification]
smtp_enabled
= true

..emails are sent for a new user registration. One mail is sent to me as I have enabled admin/accounts/notification for my email-address, but the other mail is just sent to User_A@localdomain, ignoring the given email address. So I'm facing again bug http://trac-hacks.org/ticket/12186.

Peter Suter

unread,
Mar 16, 2015, 2:37:49 PM3/16/15
to trac-...@googlegroups.com
Did you enable the components in announcer.opt.acct_mgr.announce?

http://trac-hacks.org/browser/announcerplugin/trunk/announcer/opt/acct_mgr/announce.py

Mo

unread,
Mar 17, 2015, 2:50:17 AM3/17/15
to trac-...@googlegroups.com
Am Montag, 16. März 2015 19:37:49 UTC+1 schrieb Peter Suter:
Did you enable the components in announcer.opt.acct_mgr.announce?

http://trac-hacks.org/browser/announcerplugin/trunk/announcer/opt/acct_mgr/announce.py

Without explicitly enabling it, announcer.opt.acct_mgr.announce.* is enabled here.

Mo

unread,
Mar 17, 2015, 5:43:20 AM3/17/15
to trac-...@googlegroups.com
Am Montag, 16. März 2015 10:52:09 UTC+1 schrieb Mo:

I need the AccountManager plugin for HTML form login (switching users, storing multiple account logins in the browsers keystore). I need the Announcer plugin for rule based subscriptions / email rules. Default trac has very few options here.

Maybe I could live without one of these plugins if it is too much trouble and uncertainty. But how do I convert from the local htpasswd to webserver based authentication (using Nginx with uWSGI).

I guess I found another reason why using the AccountManager plugin, as using a local htpasswd in the profile allows to have different passwords for the production and the testing trac environment.

Mo

unread,
Mar 18, 2015, 4:33:56 AM3/18/15
to trac-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages