Opened 17 years ago
Closed 15 years ago
#1867 closed defect (fixed)
Template parsing error on roadmap.css
Reported by: | Owned by: | Dave Cole | |
---|---|---|---|
Priority: | high | Component: | CustomRoadmapPlugin |
Severity: | normal | Keywords: | |
Cc: | beth.ferguson@…, baohx2000@…, hju@… | Trac Release: | 0.11 |
Description
After installation of the plugin, receive the following error when visiting the "Roadmap" page from the main wiki:
2007-07-27 11:28:49,579 Trac[init] ERROR: syntax error: line 1, column 0 (/var/www/.python-eggs/TracCustomRoadmap-0.4-py2.5.egg-tmp/customroadmap/templates/roadmap.css, line 1) Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r5859-py2.5.egg/trac/web/main.py", line 434, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r5859-py2.5.egg/trac/web/main.py", line 239, in dispatch
data, content_type)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r5859-py2.5.egg/trac/web/chrome.py", line 569, in render_template
template = self.load_template(filename, method=method)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r5859-py2.5.egg/trac/web/chrome.py", line 553, in load_template
return self.templates.load(filename, cls=cls)
File "/usr/lib/python2.5/site-packages/Genshi-0.4.2-py2.5.egg/genshi/template/loader.py", line 203, in load
encoding=encoding)
File "/usr/lib/python2.5/site-packages/Genshi-0.4.2-py2.5.egg/genshi/template/markup.py", line 75, in init
loader=loader, encoding=encoding, lookup=lookup)
File "/usr/lib/python2.5/site-packages/Genshi-0.4.2-py2.5.egg/genshi/template/base.py", line 322, in init
raise TemplateSyntaxError(e.msg, self.filepath, e.lineno, e.offset)
TemplateSyntaxError: syntax error: line 1, column 0 (/var/www/.python-eggs/TracCustomRoadmap-0.4-py2.5.egg-tmp/customroadmap/templates/roadmap.css, line 1)
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I have same issue, the solution is to apply this patch: http://trac-hacks.org/svn/customroadmapplugin/0.11/trac-0.11dev.patch to trac source (always use README) I've had to patch templates/macro.html by hand, but there are only 2 lines to patch.
css web template page (example) -- http://www.css-lessons.ucoz.com/css-template-page.htm