Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11547 closed defect (duplicate)

Install issue

Reported by: kulibarri20@… 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 Jun Omae

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.

comment:2 Changed 11 years ago by Jun Omae

Keywords: needinfo added

comment:3 Changed 11 years ago by Russell Ballestrini

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 in reply to:  3 ; Changed 11 years ago by Jun Omae

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 Jun Omae

Resolution: worksforme
Status: newclosed

No feedback from original issuer.

comment:6 Changed 11 years ago by anonymous

Resolution: worksforme
Status: closedreopened

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 in reply to:  4 Changed 11 years ago by anonymous

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 kulibarri20@…

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'
Last edited 11 years ago by Jun Omae (previous) (diff)

comment:9 Changed 11 years ago by Jun Omae

Resolution: duplicate
Status: reopenedclosed

That is the same as #11570. Please upgrade to [13660] or later. Thanks.

comment:10 Changed 11 years ago by Jun Omae

Keywords: needinfo removed

comment:11 Changed 11 years ago by kulibarri20@…

Is upgrading as simple as rerunning the easy installer?

comment:12 Changed 11 years ago by Jun Omae

Use easy_install -U and restart your web server. The --help option of easy_install always helps you.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.