id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10053	KeyError: 'customfieldadmin/locale' on 0.11	gustavo@42ideas.mx	osimons	I just compiled the egg manually and installed it copying the egg file to the plugins directory and then modifying the trac.ini, afterwards I get this message on my trac installation:\r\n\r\n\r\n{{{\r\nTraceback (most recent call last):\r\n  File "/usr/lib/python2.6/dist-packages/trac/web/api.py", line 378, in send_error\r\n    'text/html')\r\n  File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 738, in render_template\r\n    template = self.load_template(filename, method=method)\r\n  File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 704, in load_template\r\n    self.templates = TemplateLoader(self.get_all_templates_dirs(),\r\n  File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 439, in get_all_templates_dirs\r\n    for provider in self.template_providers:\r\n  File "/usr/lib/python2.6/dist-packages/trac/core.py", line 70, in extensions\r\n    return filter(None, [component.compmgr[cls] for cls in extensions])\r\n  File "/usr/lib/python2.6/dist-packages/trac/core.py", line 207, in __getitem__\r\n    component = cls(self)\r\n  File "/usr/lib/python2.6/dist-packages/trac/core.py", line 111, in maybe_init\r\n    init(self)\r\n  File "build/bdist.linux-x86_64/egg/customfieldadmin/admin.py", line 28, in __init__\r\n    CustomFields(self.env)\r\n  File "/usr/lib/python2.6/dist-packages/trac/core.py", line 111, in maybe_init\r\n    init(self)\r\n  File "build/bdist.linux-x86_64/egg/customfieldadmin/api.py", line 59, in __init__\r\n    locale_dir = resource_filename(__name__, 'locale')\r\n  File "/home/ftideasmx/rootenv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 882, in resource_filename\r\n    self, resource_name\r\n  File "/home/ftideasmx/rootenv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1352, in get_resource_filename\r\n    return self._extract_resource(manager, zip_path)\r\n  File "/home/ftideasmx/rootenv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1363, in _extract_resource\r\n    zip_stat = self.zipinfo[zip_path]\r\nKeyError: 'customfieldadmin/locale'\r\n}}}\r\n\r\nI'm pretty sure it has to do with the locale folder not being found inside the egg because if I take a look at the egg contents I cannot see the "locale" folder, not sure if it has to be there and was not copied/built.\r\n\r\nMaybe I'm missing some dependency?... I'm running trac 0.11.7 on FastCGI...	defect	closed	normal	CustomFieldAdminPlugin	normal	fixed			0.11
