Opened 11 years ago

Closed 8 years ago

#1867 closed defect (fixed)

Template parsing error on roadmap.css

Reported by: gabe.monroy@… Owned by: Dave Cole
Priority: high Component: CustomRoadmapPlugin
Severity: normal Keywords:
Cc: beth.ferguson@…, baohx2000@…, hju@… Trac Release: 0.11


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/", line 434, in dispatch_request


File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r5859-py2.5.egg/trac/web/", line 239, in dispatch

data, content_type)

File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r5859-py2.5.egg/trac/web/", 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/", 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/", line 203, in load


File "/usr/lib/python2.5/site-packages/Genshi-0.4.2-py2.5.egg/genshi/template/", 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/", 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 10 years ago by sezer

comment:2 Changed 10 years ago by baohx2000@…

Cc: baohx2000@… added

I am having this issue as well.

comment:3 Changed 10 years ago by anonymous

Cc: hju@… added

same problem.

Seems to be reason for #3007

comment:4 Changed 8 years ago by wojtek@…

Resolution: fixed
Status: newclosed

I have same issue, the solution is to apply this 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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Dave Cole.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.