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
