Modify ↓
#3950 closed defect (worksforme)
Attachment: AttributeError: 'int' object has no attribute 'astimezone'
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In r3945 i get this error when trying to display a PNG attached to a wiki page:
Trac[main] ERROR: 'int' object has no attribute 'astimezone' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 377, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 388, in process_request data = self._render_view(req, attachment) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 535, in _render_view req.check_modified(attachment.time) File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 301, in check_modified etag = 'W"%s/%s/%s"' % (self.authname, http_date(time), extra) File "/usr/lib/python2.4/site-packages/trac/util/datefmt.py", line 92, in http_date t = t.astimezone(utc) AttributeError: 'int' object has no attribute 'astimezone'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
You should have looked at t.e.o's timeline before creating this ticket, I believe this was fixed just before ;) (in r3965)