id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
7850	[patch] Error after upgrade from 0.11 to trunk version	ogiesen	hasienda	I just tested the upgrade from trac 0.11 to 0.12 on a local clone of our trac 0.11 installation. I upgraded using {{{easy_install}}} and everything went smooth (except the wiki editor is now mostly broken). At first everything appeared to be working fine with account manager as well. Then I saw that there was a dedicated version of account manager for trac 0.12 (previously we were using the version from the 0.11 branch) and ran {{{easy_install https://trac-hacks.org/svn/accountmanagerplugin/trunk}}} as specified on the plugin's home page. After that, when trying to access our trac environment all I get is the following stack trace:\r\n\r\n{{{\r\nTraceback (most recent call last):\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\web\\api.py", line 436, in send_error\r\n    data, 'text/html')\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\web\\chrome.py", line 808, in render_template\r\n    template = self.load_template(filename, method=method)\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\web\\chrome.py", line 769, in load_template\r\n    self.get_all_templates_dirs(), auto_reload=self.auto_reload,\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\web\\chrome.py", line 481, in get_all_templates_dirs\r\n    for provider in self.template_providers:\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\core.py", line 78, in extensions\r\n    return filter(None, [component.compmgr[cls] for cls in extensions])\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\core.py", line 213, in __getitem__\r\n    component = cls(self)\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\core.py", line 119, in maybe_init\r\n    init(self)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\web_ui.py", line 189, in __init__\r\n    self._write_check(log=True)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\web_ui.py", line 192, in _write_check\r\n    writable = AccountManager(self.env).get_all_supporting_stores('set_password')\r\n  File "c:\\users\\me\\appdata\\local\\temp\\easy_install-epr54e\\Trac-0.12-py2.6-win32.egg.tmp\\trac\\core.py", line 119, in maybe_init\r\n    init(self)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\api.py", line 147, in __init__\r\n    locale_dir = resource_filename(__name__, 'locale')\r\n  File "C:\\Program Files\\Python26\\lib\\site-packages\\pkg_resources.py", line 882, in resource_filename\r\n    self, resource_name\r\n  File "C:\\Program Files\\Python26\\lib\\site-packages\\pkg_resources.py", line 1352, in get_resource_filename\r\n    return self._extract_resource(manager, zip_path)\r\n  File "C:\\Program Files\\Python26\\lib\\site-packages\\pkg_resources.py", line 1363, in _extract_resource\r\n    zip_stat = self.zipinfo[zip_path]\r\nKeyError: 'acct_mgr\\\\locale'\r\n}}}\r\n\r\nAs you can see, this is on Windows 7. We're using Apache with MOD_WSGI and the HtPasswdStore module. We also have the HttpAuthPlugin installed and enabled for the xmlrpc paths.\r\n\r\nI've already tried uninstalling and reinstalling the account manager plugin but without success.\r\n\r\nAny ideas?	defect	closed	high	AccountManagerPlugin	critical	fixed	upgrade stacktrace i18n	pacopablo	0.12
