Modify ↓
#13636 closed defect (fixed)
v2.2.2 on Trac 1.4: preference page empty
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | normal | Component: | DynamicFieldsPlugin |
| Severity: | minor | Keywords: | |
| Cc: | Trac Release: | 1.4 |
Description
when attempting to open the Dynamic Fields tab in the user preferences, I get this log:
2019-10-30 15:46:31,398 Trac[chrome] ERROR: Jinja2 UndefinedError error while rendering XML/HTML template
Traceback (most recent call last):
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1704, in _iterable_jinja_content
for chunk in stream:
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 1271, in __next__
return self._next()
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 1248, in _buffered_generator
c = next(self._gen)
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 1045, in generate
yield self.environment.handle_exception(exc_info, True)
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/dynfields/templates/prefs_panel.html", line 32, in top-level template code
<p class="hint">${data[title]['desc']}</p>
File "/var/projects/trac/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 411, in getitem
return obj[argument]
UndefinedError: dict object has no element Undefined
At first sight, the plugin seems to work.
Attachments (0)
Change History (7)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
| Status: | new → accepted |
|---|
comment:4 Changed 6 years ago by
For now, you'll need to install from the svn repository:
$ pip install svn+https://trac-hacks.org/svn/dynamicfieldsplugin/trunk/
I'll release version 2.3.0 soon.
Note: See
TracTickets for help on using
tickets.



Edit added: the preference page does not open, but stays blank.