﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
13064	KeyError: u'2015-06-15 09_45_36-HiHotel.Asia App V3.png'	defect			new	2017-02-07T04:46:54+01:00	2017-02-07T05:29:27+01:00	"==== 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) ` [[br]] `[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'
}}}"	lemonyoyodo
9693	how to Hide created images 32x32 and  488x from attachment list	enhancement	0.11		new	2012-01-15T08:45:54+01:00	2015-04-22T19:51:21+02:00	How to Hide created images 32x32 and 488x from attachment list and change history and time line(I need any solution to apply it in python code )	eng.asmaa.ahm@…
6212	Error on Tiff and other filetypes	defect	0.11		new	2009-11-16T10:40:09+01:00	2015-04-22T19:51:21+02:00	"When uploading certain types of files - as image or normal attachment button - causes the following problem:

{{{
Trac detected an internal error:
IOError: decoder group4 not available
}}}

Traceback

{{{
Python Traceback

Most recent call last:
File ""/usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py"", line 444, in _dispatch_request
File ""/usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py"", line 205, in dispatch
File ""/usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/attachment.py"", line 398, in process_request
File ""/usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/attachment.py"", line 612, in _do_save
File ""/usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/attachment.py"", line 247, in insert
File ""/usr/local/lib/python2.6/site-packages/ImageTrac-0.3.1-py2.6.egg/imagetrac/image.py"", line 157, in attachment_added
File ""/usr/local/lib/python2.6/site-packages/ImageTrac-0.3.1-py2.6.egg/imagetrac/image.py"", line 190, in create_sizes
File ""/usr/local/lib/python2.6/site-packages/cropresize-0.1.1-py2.6.egg/cropresize/__init__.py"", line 46, in crop_resize
File ""/usr/local/lib/python2.6/site-packages/PIL/Image.py"", line 1256, in resize
File ""/usr/local/lib/python2.6/site-packages/PIL/ImageFile.py"", line 180, in load
File ""/usr/local/lib/python2.6/site-packages/PIL/Image.py"", line 375, in _getdecoder
}}}

Tried uploading files that previously worked - now returns this error. Also returns error on group3 tif files, .ico files etc.
"	anonymous
5904	Installation failed	defect	0.11		new	2009-10-01T05:36:14+02:00	2015-04-22T19:51:21+02:00	"Attempting to install the ImageTracPlugin using easy_install via both the ZIP and SVN methods failed due to a missing vcvarsall.bat file while installing the PIL 1.1.6 dependency.

''Note: On advice from someone who has previously installed many Trac plugins, the first two directory levels were removed from the zip prior to installation. However, as the SVN install also failed, I'm not convinced this had anything to do with the overall installation error.''

''The following output has been manually modified in an attempt to avoid being caught by the spam filtering that limits the number of external links that can be specified within a ticket.''

'''ZIP Install Output'''

{{{
#!html
<tt>
C:\apps\trac>easy_install ""d:\live\staff\temp\ImageTracPlugin-r6634.zip"" Processing ImageTracPlugin-r6634.zip
Running setup.py -q bdist_egg --dist-dir c:\users\administrator\appdata\local\temp\4\easy_install-v_3uri\egg-dist-tmp-c9f_cf
Adding imagetrac 0.3.1 to easy-install.pth file

Installed c:\apps\python26\lib\site-packages\imagetrac-0.3.1-py2.6.egg
Processing dependencies for imagetrac==0.3.1
Searching for cropresize
Reading http : //pypi.python.org/simple/cropresize/
Best match: cropresize 0.1.1
Downloading http : //pypi.python.org/packages/source/c/cropresize/cropresize-0.1.1.tar.gz#md5=6e6bc60905c6096ac47495e8e2a635e6
Processing cropresize-0.1.1.tar.gz
Running cropresize-0.1.1\setup.py -q bdist_egg --dist-dir c:\users\administrator\appdata\local\temp\4\easy_install-u8mkuj\cropresize-0.1.1\egg-dist-tmp-tspk20
Adding cropresize 0.1.1 to easy-install.pth file
Installing crop-resize-script.py script to C:\apps\Python26\Scripts
Installing crop-resize.exe script to C:\apps\Python26\Scripts

Installed c:\apps\python26\lib\site-packages\cropresize-0.1.1-py2.6.egg
Searching for PIL
Best match: PIL 1.1.6
Downloading http : //dist.repoze.org/PIL-1.1.6.tar.gz
Processing PIL-1.1.6.tar.gz
Running PIL-1.1.6\setup.py -q bdist_egg --dist-dir c:\users\administrator\appdata\local\temp\4\easy_install-ft55oz\PIL-1.1.6\egg-dist-tmp-epsjmd
error: Setup script exited with error: Unable to find vcvarsall.bat
</tt>
}}}

[[BR]]
'''SVN Install Output'''

{{{
#!html
<tt>
C:\apps\trac>easy_install http : //trac-hacks.org/svn/imagetracplugin/0.11
Downloading http : //trac-hacks.org/svn/imagetracplugin/0.11
Doing subversion checkout from http : //trac-hacks.org/svn/imagetracplugin/0.11 to  c:\users\administrator\appdata\local\temp\4\easy_install-0gigh4\0.11
Processing 0.11
Running setup.py -q bdist_egg --dist-dir c:\users\administrator\appdata\local\temp\4\easy_install-0gigh4\0.11\egg-dist-tmp-4bjajv
unrecognized .svn/entries format in
imagetrac 0.3.1 is already the active version in easy-install.pth

Installed c:\apps\python26\lib\site-packages\imagetrac-0.3.1-py2.6.egg
Processing dependencies for imagetrac==0.3.1
Searching for PIL
Best match: PIL 1.1.6
Downloading http : //dist.repoze.org/PIL-1.1.6.tar.gz
Processing PIL-1.1.6.tar.gz
Running PIL-1.1.6\setup.py -q bdist_egg --dist-dir c:\users\administrator\appdata\local\temp\4\easy_install-t59qsl\PIL-1.1.6\egg-dist-tmp-vagupj
error: Setup script exited with error: Unable to find vcvarsall.bat
</tt>
}}}
"	anonymous
5381	Table thumbnail support	enhancement	0.11		new	2009-06-15T15:10:04+02:00	2015-04-22T19:51:21+02:00	"
any idea when you might have time to implement functionality to include images in the ticket query tables?

at the moment, we're trying to set up trac for a animation production environment, and could definitely benefit from associating images. 

"	Sunit Parekh-Gaihede
