#11547 closed defect (duplicate)
Install issue
Reported by: | Owned by: | Jun Omae | |
---|---|---|---|
Priority: | normal | Component: | TracHtmlNotificationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I followed the install instructions and I still have ugly text notification emails. What could be wrong?
Attachments (0)
Change History (12)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Keywords: | needinfo added |
---|
comment:3 follow-up: 4 Changed 11 years ago by
Not the same user, but also having issues getting the plugin to work
enabled logging and have the following tracebacks
Most likely related
014-02-13 01:16:15,243 Trac[notification] WARNING: Caught exception while substituting message Traceback (most recent call last): File "/cars/trac/cars-sm/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.7.egg/trachtmlnotification/notification.py", line 72, in substitute_message return self._substitute_message(chrome, req, message) File "/cars/trac/cars-sm/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.7.egg/trachtmlnotification/notification.py", line 126, in _substitute_message html = self._create_html_body(chrome, req, ticket, cnum, link) File "/cars/trac/cars-sm/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.7.egg/trachtmlnotification/notification.py", line 163, in _create_html_body rendered = chrome.render_template(req, template, data, fragment=True) File "/cars/trac/.env/local/lib/python2.7/site-packages/trac/web/chrome.py", line 983, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/cars/trac/.env/local/lib/python2.7/site-packages/genshi/core.py", line 133, in __or__ return Stream(_ensure(function(self)), serializer=self.serializer) File "/cars/trac/.env/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1162, in inner data) File "/cars/trac/cars-sm/plugins/TracSubcomponents-1.2.0-py2.7.egg/subcomponents/web_ui.py", line 135, in filter_stream elif req.path_info.startswith('/query'): AttributeError: 'Mock' object has no attribute 'path_info'
most likely _not_ related
Traceback (most recent call last): File "/cars/trac/.env/local/lib/python2.7/site-packages/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/cars/trac/.env/local/lib/python2.7/site-packages/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/cars/trac/cars-sm/plugins/TracTicketChainedFields-0.1-py2.7.egg/tcf/web_ui.py", line 197, in process_request trigger_values = locate_trigger_values(tcf_define_target) UnboundLocalError: local variable 'tcf_define_target' referenced before assignment
comment:4 follow-up: 7 Changed 11 years ago by
Replying to russell.ballestrini@…:
Not the same user, but also having issues getting the plugin to work
Please create a new ticket for that.
comment:5 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No feedback from original issuer.
comment:6 Changed 11 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Give me a few days to get the info. Being a trac admin is far from my primary duty, therefore I can't provide immediate feedback.
comment:7 Changed 11 years ago by
Replying to jun66j5:
Replying to russell.ballestrini@…:
Not the same user, but also having issues getting the plugin to work
Please create a new ticket for that.
Sure, created a new ticket for my issues here #11570
comment:8 Changed 11 years ago by
Exerpt from log file...
2014-02-07 08:42:49,388 Trac[notification] WARNING: Caught exception while substituting message Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg/trachtmlnotification/notification.py", line 72, in substitute_message return self._substitute_message(chrome, req, message) File "/usr/local/lib/python2.6/dist-packages/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg/trachtmlnotification/notification.py", line 126, in _substitute_message html = self._create_html_body(chrome, req, ticket, cnum, link) File "/usr/local/lib/python2.6/dist-packages/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg/trachtmlnotification/notification.py", line 163, in _create_html_body rendered = chrome.render_template(req, template, data, fragment=True) File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 840, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib/pymodules/python2.6/genshi/core.py", line 132, in __or__ return Stream(_ensure(function(self)), serializer=self.serializer) File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 991, in inner data) File "/usr/local/lib/python2.6/dist-packages/TracSubcomponents-1.1.2-py2.6.egg/subcomponents/web_ui.py", line 130, in filter_stream elif req.path_info.startswith('/query'): AttributeError: 'Mock' object has no attribute 'path_info'
comment:9 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
comment:10 Changed 11 years ago by
Keywords: | needinfo removed |
---|
comment:12 Changed 11 years ago by
Use easy_install -U
and restart your web server. The --help
option of easy_install
always helps you.
You can turn on TracLogging with DEBUG level and make sure the issue using trac.log. If you don't solve it, attach your $ENV/conf/trac.ini and $ENV/log/trac.log after reproduce it.