Modify

Opened 7 years ago

Closed 5 years ago

#1867 closed defect (fixed)

Template parsing error on roadmap.css

Reported by: gabe.monroy@… Owned by: davecole
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 6 years ago by sezer

comment:2 Changed 6 years ago by baohx2000@…

  • Cc baohx2000@… added

I am having this issue as well.

comment:3 Changed 6 years ago by anonymous

  • Cc hju@… added

same problem.

Seems to be reason for #3007

comment:4 Changed 5 years ago by wojtek@…

  • Resolution set to fixed
  • Status changed from new to 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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from davecole. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.