id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 3950 Attachment: AttributeError: 'int' object has no attribute 'astimezone' Markus Tacker Jonas Borgström "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' }}}" defect closed normal wiki system devel normal worksforme