Modify ↓
Opened 17 years ago
Closed 17 years ago
#5805 closed defect (duplicate)
trying to view an xls file causes python error
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
other Excel spreadsheets work fine on our system.
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 244, in dispatch req.display(template, content_type or 'text/html') File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 358, in display data = self.hdf.render(template, form_token) File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 296, in render injector.feed(template.render()) File "/usr/lib/python2.4/HTMLParser.py", line 108, in feed self.goahead(0) File "/usr/lib/python2.4/HTMLParser.py", line 148, in goahead k = self.parse_starttag(i) File "/usr/lib/python2.4/HTMLParser.py", line 226, in parse_starttag endpos = self.check_for_whole_start_tag(i) File "/usr/lib/python2.4/HTMLParser.py", line 301, in check_for_whole_start_tag self.error("malformed start tag") File "/usr/lib/python2.4/HTMLParser.py", line 115, in error raise HTMLParseError(message, self.getpos()) HTMLParseError: malformed start tag, at line 150, column 87
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Description: | modified (diff) |
---|---|
Keywords: | needinfo added |
Does the filename have an '<', '>', or '&' in it? That error is caused by something producing invalid html, perhaps due to us not escaping filenames enough.
Also what version of Trac are you using?
comment:3 by , 17 years ago
Keywords: | needinfo removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #4691.
Note:
See TracTickets
for help on using tickets.
I think it may have something to do with the xls having multiple tabs.