Modify

Opened 14 years ago

Closed 13 years ago

#199 closed defect (worksforme)

Email notifications not getting sent when the Account Manager plugin is enabled

Reported by: Chris LoSacco <chrisl@…> Owned by: bas
Priority: critical Milestone:
Component: email2trac Version:
Keywords: Cc: chrisl@…, hju@…

Description

This may be a duplicate of #52. No notifications are being sent on ticket creation or updates. We're using the Account Manager (acct_mgr) plugin to manage users.

Any help would be greatly appreciated.

Attachments (0)

Change History (18)

comment:1 Changed 14 years ago by anonymous

Have you looked into this, by any chance?

comment:2 Changed 14 years ago by bas

Not Yet. we are in the middle of a cluster upgrade

comment:3 Changed 14 years ago by Chris LoSacco <chrisl@…>

Okay, thanks for getting back to me. Let me know when you have a chance to check this out.

comment:4 Changed 14 years ago by bas

(In [392]) Do not check if notification is enabled. Trac will do the checking and determine it. Some plugins will override some settings, eg: announcerplugin. So we did not receive any notifications, see #199

comment:5 Changed 14 years ago by bas

  • Status changed from new to assigned

Chris can you test he trunk version?

comment:6 Changed 14 years ago by Chris LoSacco <chrisl@…>

Installed and tested; still didn't send notifications on ticket creation or update.

Thanks for the work; let me know if there's another build to test.

comment:7 Changed 14 years ago by bas

Huh i just tested it on our 0.11 installation and it worked. Can you turn debug for trac and see inf the announcer plugin is called:

[logging]
log_level = DEBUG
log_type = file
log_file = /var/tmp/trac.log

comment:8 Changed 14 years ago by bas

trac.log

2010-07-13 09:59:15,659 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [basv@sara.nl(not authenticated) via email], [bas(authenticated) via email]
2010-07-13 09:59:15,659 Trac[email_distributor] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'ticket': text/html, text/plain
2010-07-13 09:59:15,660 Trac[email_distributor] DEBUG: EmailDistributor found the address 'basv@sara.nl' for 'bas (authenticated)' via: SessionEmailResolver
2010-07-13 09:59:15,660 Trac[email_distributor] DEBUG: EmailDistributor is sending event as 'text/plain' to: basv@sara.nl, basv@sara.nl
2010-07-13 09:59:15,766 Trac[email_distributor] DEBUG: EmailDistributor took 0.07 seconds to send.
2010-07-13 09:59:15,767 Trac[api] DEBUG: AnnouncementSystem sent event in 0.11 seconds

comment:9 Changed 14 years ago by Chris LoSacco <chrisl@…>

I enabled the logs. I don't see the announcer plugin getting called anywhere.

On a successful ticket update from the web UI, I see this kind of entry:

2010-07-13 13:50:14,129 Trac[notification] INFO: Sending notification through SMTP at localhost:25 to [u'chrisl@arc90.com']

I don't see that anywhere for the time when a new ticket was created via email.

comment:10 Changed 14 years ago by bas

which version of the aanouncer plugin is installed?

  • 0.20

my trac.ini:

[announcer]
admit_domains =
always_notify_owner = false
always_notify_reporter = true
always_notify_updater = true
ignore_domains =
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc = basv@sara.nl
smtp_default_domain =
smtp_enabled = true
smtp_from = test@subtrac.sara.nl
smtp_from_name =
smtp_password =
smtp_port = 25
smtp_replyto = test@subtrac.sara.nl
smtp_server = mailhost.sara.nl
smtp_subject_prefix = __default__
smtp_user =
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = false
use_short_addr = false
use_tls = false

[components]
tracext.google.ads.* = enabled
announcerplugin.* = enabled
announcerplugin.subscribers.ticket_groups.* = disabled

If i send an email i see that the whol eenvironment is loaded:

010-07-13 15:56:21,945 Trac[loader] DEBUG: Loading tracwysiwyg from /usr/lib/python2.5/site-packages/TracWysiwyg-0.2_r5931-py2.5.egg
2010-07-13 15:56:21,946 Trac[loader] DEBUG: Loading timingandestimationplugin from /usr/lib/python2.5/site-packages/timingandestimationplugin-0.8.6b-py2.5.egg
2010-07-13 15:56:21,951 Trac[loader] DEBUG: Loading tracfullblog.db from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,952 Trac[loader] DEBUG: Loading tracfullblog.core from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,952 Trac[loader] DEBUG: Loading tracfullblog.web_ui from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,953 Trac[loader] DEBUG: Loading tracfullblog.macros from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,954 Trac[loader] DEBUG: Loading tracfullblog.spamfilter from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,955 Trac[loader] DEBUG: Loading tracfullblog.tags from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,956 Trac[loader] DEBUG: Loading tracfullblog.admin from /usr/lib/python2.5/site-packages/TracFullBlogPlugin-0.1.1_r7225-py2.5.egg
2010-07-13 15:56:21,956 Trac[loader] DEBUG: Loading tracstats.web_ui from /usr/lib/python2.5/site-packages/TracStats-0.3-py2.5.egg
2010-07-13 15:56:21,957 Trac[loader] DEBUG: Loading announcerplugin from /usr/lib/python2.5/site-packages/AnnouncerPlugin-0.2-py2.5.egg
2010-07-13 15:56:21,971 Trac[loader] DEBUG: Loading spamfilter.session from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,971 Trac[loader] DEBUG: Loading spamfilter.ip_blacklist from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,983 Trac[loader] DEBUG: Skipping "spamfilter.ip_blacklist = tracspamfilter.filters.ip_blacklist [dns]": ("DistributionNotFound: dnspython>=1.3.5" not found)
2010-07-13 15:56:21,983 Trac[loader] DEBUG: Loading spamfilter.adapters from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,984 Trac[loader] DEBUG: Loading spamfilter.ip_throttle from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,984 Trac[loader] DEBUG: Loading spamfilter.extlinks from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,985 Trac[loader] DEBUG: Loading spamfilter.bayes from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,997 Trac[loader] DEBUG: Skipping "spamfilter.bayes = tracspamfilter.filters.bayes [spambayes]": ("DistributionNotFound: spambayes" not found)
2010-07-13 15:56:21,997 Trac[loader] DEBUG: Loading spamfilter from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,997 Trac[loader] DEBUG: Loading spamfilter.akismet from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,998 Trac[loader] DEBUG: Loading spamfilter.admin from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,999 Trac[loader] DEBUG: Loading spamfilter.regex from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r9626-py2.5.egg
2010-07-13 15:56:21,999 Trac[loader] DEBUG: Loading file plugin NewShowPath from /etc/trac/plugins/NewShowPath.py
2010-07-13 15:56:22,000 Trac[loader] DEBUG: Loading file plugin ShowPath from /etc/trac/plugins/ShowPath.py
2010-07-13 15:56:22,000 Trac[loader] DEBUG: Loading file plugin Color from /etc/trac/plugins/Color.py
2010-07-13 15:56:22,000 Trac[loader] DEBUG: Loading file plugin SaraNav2 from /etc/trac/plugins/SaraNav2.py
2010-07-13 15:56:22,000 Trac[loader] DEBUG: Loading file plugin SaraNav from /etc/trac/plugins/SaraNav.py
2010-07-13 15:56:22,000 Trac[loader] DEBUG: Loading file plugin ChangeLogMacro from /etc/trac/plugins/ChangeLogMacro.py
2010-07-13 15:56:22,043 Trac[default_workflow] DEBUG: Workflow actions at initialization: {'resolve': {'operations': [u'set_resolution'], 'name': 'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'accept': {'operations': [u'set_owner_to_self'], 'name': 'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'leave': {'operations': [u'leave_status'], 'name': 'leave', 'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, 'reopen': {'operations': [u'del_resolution', u'set_owner_to_self'], 'name': 'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 'permissions': [u'TICKET_CREATE']}, 'reassign': {'operations': [u'set_owner'], 'name': 'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}}

2010-07-13 15:56:22,043 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2010-07-13 15:56:22,054 Trac[api] DEBUG: AnnouncementSystem found the following subscribers capable of handling 'ticket, created': StaticTicketSubscriber, LegacyTicketSubscriber, CarbonCopySubscriber, WatchSubscriber
2010-07-13 15:56:22,054 Trac[ticket_compat] DEBUG: StaticTicketSubscriber added 'basv@sara.nl' because of rule: smtp_always_cc
2010-07-13 15:56:22,055 Trac[ticket_compat] WARNING: LegacyTicketSubscriber couldn't add component owner because component was not found, message: 'Component testje does not exist.'
2010-07-13 15:56:22,055 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'bas (authenticated)' because of rule: always_notify_reporter
2010-07-13 15:56:22,056 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'bas (authenticated)' because of rule: always_notify_updater
2010-07-13 15:56:22,057 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [basv@sara.nl(not authenticated) via email], [bas(authenticated) via email]
2010-07-13 15:56:22,058 Trac[email_distributor] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'ticket': text/html, text/plain
2010-07-13 15:56:22,060 Trac[email_distributor] DEBUG: EmailDistributor found the address 'basv@sara.nl' for 'bas (authenticated)' via: SessionEmailResolver
2010-07-13 15:56:22,060 Trac[email_distributor] DEBUG: EmailDistributor is sending event as 'text/plain' to: basv@sara.nl, basv@sara.nl
2010-07-13 15:56:22,195 Trac[email_distributor] DEBUG: EmailDistributor took 0.09 seconds to send.
2010-07-13 15:56:22,195 Trac[api] DEBUG: AnnouncementSystem sent event in 0.14 seconds.
2010-07-13 15:56:22,198 Trac[api] DEBUG: AnnouncementSystem found the following subscribers capable of handling 'ticket, changed': StaticTicketSubscriber, LegacyTicketSubscriber, CarbonCopySubscriber, WatchSubscriber
2010-07-13 15:56:22,199 Trac[ticket_compat] DEBUG: StaticTicketSubscriber added 'basv@sara.nl' because of rule: smtp_always_cc
2010-07-13 15:56:22,199 Trac[ticket_compat] WARNING: LegacyTicketSubscriber couldn't add component owner because component was not found, message: 'Component testje does not exist.'
2010-07-13 15:56:22,200 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'bas (authenticated)' because of rule: always_notify_reporter
2010-07-13 15:56:22,200 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'bas (authenticated)' because of rule: always_notify_updater
2010-07-13 15:56:22,201 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [basv@sara.nl(not authenticated) via email], [bas(authenticated) via email]
2010-07-13 15:56:22,201 Trac[email_distributor] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'ticket': text/html, text/plain
2010-07-13 15:56:22,202 Trac[email_distributor] DEBUG: EmailDistributor found the address 'basv@sara.nl' for 'bas (authenticated)' via: SessionEmailResolver
2010-07-13 15:56:22,202 Trac[email_distributor] DEBUG: EmailDistributor is sending event as 'text/plain' to: basv@sara.nl, basv@sara.nl
2010-07-13 15:56:22,312 Trac[email_distributor] DEBUG: EmailDistributor took 0.08 seconds to send.
2010-07-13 15:56:22,312 Trac[api] DEBUG: AnnouncementSystem sent event in 0.11 seconds.

comment:11 Changed 14 years ago by Chris LoSacco <chrisl@…>

Installed version of the Announcer plugin:

  • 0.2.1

My Trac.ini:

[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.abstractpasswordfilestore = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.notification.accountchangenotificationadminpanel = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.svnserve.svnservepasswordstore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.emailverificationmodule = disabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = disabled
autocompleteusers.autocompleteusers.* = enabled
batchmod.web_ui.* = enabled
blackmagic.blackmagic.* = enabled
customfieldadmin.* = enabled
privatetickets.* = enabled
trac.web.auth.loginmodule = disabled
tracrpc.* = enabled

[notification]
always_notify_owner = false
always_notify_reporter = false
always_notify_updater = false
smtp_enabled = true
smtp_from = techsupport@[mydomain]
smtp_from_name = [mydomain]
smtp_replyto = 
smtp_server = localhost
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = False

If I send an email, here are the relevant pieces I think:

2010-07-13 13:47:12,790 Trac[env] INFO: -------------------------------- environment startup [Trac 0.12b1] --------------------------------
2010-07-13 13:47:12,819 Trac[loader] DEBUG: Loading TracXMLRPC from /usr/local/lib/python2.6/dist-packages/TracXMLRPC-1.0.6-py2.6.egg
2010-07-13 13:47:12,980 Trac[loader] DEBUG: Loading acct_mgr.admin from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,073 Trac[loader] DEBUG: Loading acct_mgr.api from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,074 Trac[loader] DEBUG: Loading acct_mgr.db from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,099 Trac[loader] DEBUG: Loading acct_mgr.htfile from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,101 Trac[loader] DEBUG: Loading acct_mgr.http from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,101 Trac[loader] DEBUG: Loading acct_mgr.notification from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,102 Trac[loader] DEBUG: Loading acct_mgr.pwhash from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,102 Trac[loader] DEBUG: Loading acct_mgr.svnserve from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,103 Trac[loader] DEBUG: Loading acct_mgr.web_ui from /usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r7737-py2.6.egg
2010-07-13 13:47:13,103 Trac[loader] DEBUG: Loading autocompleteusers from /usr/local/lib/python2.6/dist-packages/AutocompleteUsers-0.4.1-py2.6.egg
2010-07-13 13:47:13,104 Trac[loader] DEBUG: Loading batchmod.web_ui from /usr/local/lib/python2.6/dist-packages/BatchModify-0.5.0_trac0.12-py2.6.egg
2010-07-13 13:47:13,105 Trac[loader] DEBUG: Loading blackmagic from /usr/local/lib/python2.6/dist-packages/BlackMagicTicketTweaks-0.1-py2.6.egg
2010-07-13 13:47:13,106 Trac[loader] DEBUG: Loading customfieldadmin.api from /usr/local/lib/python2.6/dist-packages/TracCustomFieldAdmin-0.2.2-py2.6.egg
2010-07-13 13:47:13,107 Trac[loader] DEBUG: Loading customfieldadmin.customfieldadmin from /usr/local/lib/python2.6/dist-packages/TracCustomFieldAdmin-0.2.2-py2.6.egg
2010-07-13 13:47:13,108 Trac[loader] DEBUG: Loading privatetickets.policy from /usr/local/lib/python2.6/dist-packages/TracPrivateTickets-2.0.2-py2.6.egg
2010-07-13 13:47:13,110 Trac[loader] DEBUG: Loading trac.about from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,111 Trac[loader] DEBUG: Loading trac.admin.console from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,113 Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,115 Trac[loader] DEBUG: Loading trac.attachment from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,115 Trac[loader] DEBUG: Loading trac.db.mysql from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,117 Trac[loader] DEBUG: Loading trac.db.postgres from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,119 Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,172 Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,173 Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,187 Trac[loader] DEBUG: Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": ("DistributionNotFound: Pygments>=0.6" not found)
2010-07-13 13:47:13,187 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,200 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": ("DistributionNotFound: docutils>=0.3" not found)
2010-07-13 13:47:13,200 Trac[loader] DEBUG: Loading trac.mimeview.silvercity from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,213 Trac[loader] DEBUG: Skipping "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]": ("DistributionNotFound: SilverCity>=0.9.4" not found)
2010-07-13 13:47:13,214 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,227 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("DistributionNotFound: textile>=2.0" not found)
2010-07-13 13:47:13,227 Trac[loader] DEBUG: Loading trac.prefs from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,228 Trac[loader] DEBUG: Loading trac.search from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,228 Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,231 Trac[loader] DEBUG: Loading trac.ticket.query from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,231 Trac[loader] DEBUG: Loading trac.ticket.report from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,232 Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,234 Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,234 Trac[loader] DEBUG: Loading trac.timeline from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,235 Trac[loader] DEBUG: Loading trac.versioncontrol.admin from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,236 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_authz from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,237 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_fs from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,240 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_prop from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,254 Trac[loader] DEBUG: Loading trac.versioncontrol.web_ui from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,254 Trac[loader] DEBUG: Loading trac.web.auth from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,255 Trac[loader] DEBUG: Loading trac.web.session from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,255 Trac[loader] DEBUG: Loading trac.wiki.admin from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,255 Trac[loader] DEBUG: Loading trac.wiki.interwiki from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,257 Trac[loader] DEBUG: Loading trac.wiki.macros from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,257 Trac[loader] DEBUG: Loading trac.wiki.web_api from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,258 Trac[loader] DEBUG: Loading trac.wiki.web_ui from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,259 Trac[loader] DEBUG: Loading tracopt.mimeview.enscript from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,260 Trac[loader] DEBUG: Loading tracopt.mimeview.php from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,261 Trac[loader] DEBUG: Loading tracopt.perm.authz_policy from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,262 Trac[loader] DEBUG: Loading tracopt.perm.config_perm_provider from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,263 Trac[loader] DEBUG: Loading tracopt.ticket.commit_updater from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,264 Trac[loader] DEBUG: Loading tracopt.ticket.deleter from /usr/local/lib/python2.6/dist-packages/Trac-0.12b1-py2.6.egg
2010-07-13 13:47:13,356 Trac[default_workflow] DEBUG: Workflow actions at initialization: {u'leave': {u'operations': [u'leave_status'], 'name': u'leave', u'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name': u'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], u'permissions': [u'TICKET_CREATE']}, u'resolve': {u'operations': [u'set_resolution'], 'name': u'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}, u'reassign': {u'operations': [u'set_owner'], 'name': u'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}}

2010-07-13 13:47:13,357 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']

[... and maybe? ...]

2010-07-13 13:47:17,289 Trac[api] INFO: Synchronized '' repository in 0.00 seconds

comment:12 Changed 14 years ago by bas

sorry you have the account plugin installed. Not the announcer plugin. I see that you have disabked all mail in the notification section. Is this handled by the accountmanager plugin?

comment:13 Changed 14 years ago by Chris LoSacco <chrisl@…>

Yes, it's the Account Manager plugin I'm having a problem with, not the Announcer plugin.

I haven't disabled all mail; it still happens:

smtp_enabled = true

comment:14 Changed 14 years ago by bas

always_notify_owner = false
always_notify_reporter = false
always_notify_updater = false

and this not set:

smtp_always_cc =

comment:15 Changed 14 years ago by Chris LoSacco <chrisl@…>

Basically, I'm saying I want the CC field to be explicit. Anyone who wants ticket updates must be in the CC field. This way, it's very clear who is getting emailed on each ticket.

comment:16 Changed 14 years ago by bas

I have just read the accountplugin module. I can see why it does not send updates for ticket, It does not override the function that i use to send notification. Maybe this solutions work:

comment:17 follow-up: Changed 13 years ago by hju@…

  • Cc hju@… added

with

always_notify_reporter = false
always_notify_updater = false

the trac-notification-system does not send tickets. And with email2trac using the notification system of trac it does neither.

We had a similar problem because we won't be bothered with mails to the reporter - except mails to reporters of tickets via email2trac and when the ticket is closed. (we use the NeverNotifyUpdaterPlugin, integrated in FlexibleReporterNotificationPlugin)

I have implemented a little trick (look at #178) to add the reporter from email2trac just before the trac-notification-system is sending the mail.

Perhaps this may be helpful?

comment:18 in reply to: ↑ 17 Changed 13 years ago by chrisl@…

  • Resolution set to worksforme
  • Status changed from assigned to closed

Replying to hju@…:

with

always_notify_reporter = false
always_notify_updater = false

the trac-notification-system does not send tickets. And with email2trac using the notification system of trac it does neither.

Sure enough, it's working now! With those values set to true, I'm getting notifications.

Thanks for the tip.

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.