Modify ↓
Opened 20 years ago
Closed 20 years ago
#1362 closed defect (fixed)
Repository image (raw) resource display broken
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | version control/browser | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
As of pre-0.9 revision 1446, raw images no longer display properly in the source browser. (I've tested .png's at least).
When viewing a link like this: /browser/trunk/site/images/logo1.png?rev=6&format=raw
I get an oops page with the message "a float is required". Here's the associated traceback:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 168, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 305, in dispatch_request module.render(req) File "/usr/lib/python2.3/site-packages/trac/Browser.py", line 83, in render self.render_file(req, repos, node, rev) File "/usr/lib/python2.3/site-packages/trac/Browser.py", line 156, in render_file req.send_header('Last-Modified', util.http_date(node.last_modified)) File "/usr/lib/python2.3/site-packages/trac/util.py", line 172, in http_date t = time.gmtime(t) TypeError: a float is required
Attachments (0)
Change History (2)
comment:1 by , 20 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [1447].