Modify ↓
Opened 8 years ago
Last modified 8 years ago
#13064 new defect
KeyError: u'2015-06-15 09_45_36-HiHotel.Asia App V3.png'
Reported by: | lemonyoyodo | Owned by: | |
---|---|---|---|
Priority: | high | Component: | ImageTracPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: |
Description
How to Reproduce
While doing a GET operation on /ticket/5
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'5'}
User agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
System Information
Trac | 1.0
|
Babel | 0.9.5
|
Docutils | 0.10
|
Genshi | 0.6 (without speedups)
|
mod_wsgi | 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
|
MySQL | server: "5.1.73", client: "5.1.73", thread-safe: 0
|
MySQLdb | 1.2.3c1
|
Pygments | 1.1.1
|
Python | 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
|
pytz | 2010h
|
RPC | 1.1.2-r13203
|
setuptools | 0.6
|
Subversion | 1.6.11 (r934486)
|
Subversion | 1.6.11 (r934486)
|
jQuery | 1.7.2
|
Enabled Plugins
ComponentDependencyPlugin | 0.1
|
graphviz | 0.7.7dev-r13275
|
ImageTrac | 0.4
|
PDFRedirector | 0.4-r13321
|
PlantUML | 2.0dev-r13476
|
SvnAuthzAdminPlugin | 0.2
|
svnsyncplugin | 0.1.2
|
TaskList | 0.2.2
|
TicketReminderPlugin | 0.1.3
|
TicketSidebarProvider | 0.0-r11698
|
Trac-jsGantt | 0.11-r14208
|
TracDragDrop | 0.12.0.12-r13613
|
TracHtmlNotificationPlugin | 0.12.0.1
|
TracStats | 0.5
|
TracSubTicketsPlugin | 0.2.0.dev-20140105
|
TracWikiToPdfPlugin | 2.3.1dev-r13441
|
TracWysiwyg | 0.12.0.4-r11158
|
TracXMLRPC | 1.1.2-r13203
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 233, in dispatch content_type) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/chrome.py", line 968, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg/genshi/core.py", line 132, in __or__ return Stream(_ensure(function(self)), serializer=self.serializer) File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/chrome.py", line 1147, in inner data) File "/usr/lib/python2.6/site-packages/TicketSidebarProvider-0.0_r11698-py2.6.egg/ticketsidebarprovider/ticketsidebar.py", line 49, in filter_stream stream |= filter.after(tag.div(provider.content(req, ticket), File "/usr/lib/python2.6/site-packages/ImageTrac-0.4-py2.6.egg/imagetrac/web_ui.py", line 79, in content default = DefaultTicketImage(self.env).default_image(ticket.id) File "/usr/lib/python2.6/site-packages/ImageTrac-0.4-py2.6.egg/imagetrac/default_image.py", line 85, in default_image if size in images[image]: KeyError: u'2015-06-15 09_45_36-HiHotel.Asia App V3.png'
Attachments (0)
Note: See
TracTickets for help on using
tickets.