Modify

Opened 5 years ago

Last modified 5 years ago

#13626 new defect

Trac 1.4 incompatiblity

Reported by: anonymous Owned by: Cinc-th
Priority: normal Component: BlueFlatTheme
Severity: critical Keywords:
Cc: Trac Release: 1.4

Description (last modified by Jun Omae)

The plugin cannot be installed in Trac 1.4, it crashes the application with error in log

2019-10-08 15:34:15,658 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/wiki/Home'">, referrer ''redacted''
Traceback (most recent call last):
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/web/main.py", line 639, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/web/main.py", line 271, in dispatch
    method=method)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/web/chrome.py", line 1441, in render_template
    fragment, iterable, method)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/web/chrome.py", line 1516, in _render_jinja_template
    page = self.render_template_string(template, data, text)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/web/chrome.py", line 1675, in render_template_string
    string = template.render(data)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Jinja2-2.10.3-py2.7.egg/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Jinja2-2.10.3-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/wiki/templates/wiki_view.html", line 11, in top-level template code
    # extends 'layout.html'
  File "/var/lib/trac/trac14/lib/python2.7/site-packages/Trac-1.4-py2.7.egg/trac/templates/layout.html", line 12, in top-level template code
    # import "macros.html" as jmacros with context
  File "/var/lib/trac/BikeTrackLogger/.egg-cache/BlueFlatTheme-1.0.1-py2.7.egg-tmp/blueflattheme/templates/blueflat_theme.html", line 12, in top-level template code
    ${select('*|comment()|text()')}
UndefinedError: 'select' is undefined

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Jun Omae

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Cinc-th.

Add Comment


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

 
Note: See TracTickets for help on using tickets.