email_enabled chronically false on 0.12, and when hacked, no address found
|Reported by:||mjt@…||Owned by:||doki_pen|
There are two users subscribing to notifications.
Nothing gets sent at first due to this kind of an error:
2010-07-07 15:58:05,815 Trac[mail] DEBUG: EmailDistributer email_enabled set to false
I tried setting things like
announcer.email_enabled = enabled
with mail. and whatnot in between. Everything fails.
Question number 1: Where is that enabled, as the admin view has nothing?
Then I went to hack the sources:
#if not self.enabled or not found: if False:
This enabled me to get to the next problem of the plugin not finding email addresses.
I hacked the sources again:
self.log.debug("mjt: recipients: %s" % recipients)
Now I got this in the log:
2010-07-07 16:05:46,975 Trac[mail] DEBUG: mjt: recipients: set([(u'mjt', True, None), (u'tumppi', True, None)]) 2010-07-07 16:05:46,975 Trac[mail] DEBUG: EmailDistributor determined the preferred format for 'mjt (authenticated)' is: text/plain 2010-07-07 16:05:46,976 Trac[mail] DEBUG: EmailDistributor was unable to find an address for: mjt (authenticated) 2010-07-07 16:05:46,977 Trac[mail] DEBUG: EmailDistributor was unable to find an address for: tumppi (authenticated)
Question number two: What must I do, besides set my email address, to make this understand email addresses?
Trac is 0.12 (pip install whatever) and Python 2.5.2 fwiw.
Change History (7)
comment:5 in reply to: ↑ 3 Changed 4 years ago by hasienda
- Cc hasienda added
- Keywords email-address configuration added
- Priority changed from highest to normal