Modify ↓
Opened 18 years ago
Closed 18 years ago
#4859 closed defect (duplicate)
TemplateSyntaxError: EOL while scanning single-quoted string (C:\Programs\Python\share\trac\templates\query.html, line 198)
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | report system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /query
, Trac issued an internal error.
Everytime the link Custom Query on the View Tickets tab is clicked, this error comes up: TemplateSyntaxError: EOL while scanning single-quoted string (C:\Programs\Python\share\trac\templates\query.html, line 198)
System Information
Trac | 0.11dev
|
Python | 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)]
|
SQLite | 3.3.10
|
pysqlite | 2.3.3
|
Genshi | 0.3.6
|
Subversion | 1.4.3
|
Python Traceback
Traceback (most recent call last): File "C:\Programs\Python\Lib\site-packages\trac\web\main.py", line 412, in dispatch_request dispatcher.dispatch(req) File "C:\Programs\Python\Lib\site-packages\trac\web\main.py", line 227, in dispatch content_type) File "C:\Programs\Python\Lib\site-packages\trac\web\chrome.py", line 540, in render_template template = self.load_template(filename, method=method) File "C:\Programs\Python\Lib\site-packages\trac\web\chrome.py", line 524, in load_template return self.templates.load(filename, cls=cls) File "build\bdist.win32\egg\genshi\template.py", line 1395, in load File "build\bdist.win32\egg\genshi\template.py", line 1000, in __init__ File "build\bdist.win32\egg\genshi\template.py", line 811, in __init__ File "build\bdist.win32\egg\genshi\template.py", line 1056, in _parse File "build\bdist.win32\egg\genshi\template.py", line 852, in _interpolate TemplateSyntaxError: EOL while scanning single-quoted string (C:\Programs\Python\share\trac\templates\query.html, line 198)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Either use Genshi from trunk or update Trac, this was fixed in r4793 (and as such, this ticket is a duplicate of #4777).