在 2016年12月18日星期日 UTC+8上午11:39:06,RjOllos写道:
>
>
>
> On Thursday, December 15, 2016 at 10:17:58 PM UTC-8, Mingxing Tian wrote:
>>
>> I used the 1.0.13 version before the upgrade, where the mail notification
>> service is normal, whenever the task status changes will be notified to the
>> relevant colleagues. But after the upgrade, colleagues can not receive
>> e-mail messages.
>>
>> There is a strange phenomenon, the account will exist in the login will
>> prompt, need to verify e-mail address. And colleagues can find their own
>> mailbox verification code, so as to complete the e-mail address
>> authentication. This also shows that a mailbox configuration should be
>> successful.
>>
>> To enable you to help me find a problem, I will log level down, the
>> following record of a single task list to add a comment after the log,
>> under normal circumstances should have to send mail notification action.
>>
>> To facilitate query log files, I upload files through attachments.
>>
>>
>>
>> User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
>> (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
>> Package版本
>> Trac 1.2
>> Babel 2.3.4
>> Genshi 0.7 (without speedups)
>> GIT 1.7.1
>> mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>> MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
>> MySQLdb 1.2.3c1
>> Pygments 2.1.3
>> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313
>> (Red Hat 4.4.7-11)]
>> pytz 2016.4
>> setuptools 30.2.0
>> Subversion 1.6.11 (r934486)
>> Textile 2.3.6
>> jQuery 1.11.3
>> jQuery UI 1.11.4
>> jQuery Timepicker 1.5.5
>>
>
>
> I don't see any notification-related activity in your log message. For
> comparison, here are the log messages seen when updating a ticket with the
> preference //Never notify: I update a ticket//.
>
> 19:23:21 Trac[main] DEBUG: Dispatching <RequestWithSession "POST
> '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is <Component
> trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 19:23:21 Trac[mail] INFO: Email address w/o domain: somebody
> 19:23:21 Trac[api] DEBUG: Ignoring (user1 [1]) for 'never' on rule
> (TicketUpdaterSubscriber) for (email)
> 19:23:21 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow
> 127.0.0.1 - - [17/Dec/2016 19:23:21] "POST /proj-1.1-2/ticket/32 HTTP/1.1"
> 303 -
> 19:23:21 Trac[main] DEBUG: Dispatching <RequestWithSession "GET
> '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is <Component
> trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
>
> Do you have a Notification preferences tab at path /prefs/notification? If
> so, could you send a screen capture?
>
>
>
>
> I'm assuming your [components] section is as described in (1), and your
> [notification] section is as described in (2). If different, please send.
>
> (1) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/dh7pTH2yCAAJ
> (2) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/qHeVNMnmCQAJ
>
> - Ryan
>
>
But I still find a problem, when the mail format select "text/html", there
will be an exception thrown.
2016-12-19 15:31:38,858 Trac[mail] WARNING: EmailDistributor caught
exception while formatting ticket to text/html for email: <class
'trachtmlnotification.notification.HtmlNotificationModule'>
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/trac/notification/mail.py", line
338, in distribute
outputs[fmt] = formatter.format(transport, fmt, event)
File "build/bdist.linux-x86_64/egg/trachtmlnotification/notification.py",
line 77, in format
req = self._create_request()
File "build/bdist.linux-x86_64/egg/trachtmlnotification/notification.py",
line 160, in _create_request
req.session = FakeSession({'dateinfo': 'absolute'})
TypeError: __init__() takes exactly 1 argument (2 given)
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.