On Thursday, May 21, 2015 at 2:23:50 PM UTC-7, Josh Santangelo wrote:
>
> I ran the 1.0.6 MSI, but it seemed to break LDAP authentication. When I
> browse to trac I see:
>
> Traceback (most recent call last):
> File "C:\Python27\lib\site-packages\trac\web\api.py", line 559, in
> send_error
> data, 'text/html')
> File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 1063, in
> render_template
> template = self.load_template(filename, method=method)
> File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 1017, in
> load_template
> self.get_all_templates_dirs(), auto_reload=self.auto_reload,
> File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 725, in
> get_all_templates_dirs
> for provider in self.template_providers:
> File "C:\Python27\lib\site-packages\trac\core.py", line 78, in extensions
> components = [component.compmgr[cls] for cls in classes]
> File "C:\Python27\lib\site-packages\trac\core.py", line 204, in
> __getitem__
> component = cls(self)
> File "C:\Python27\lib\site-packages\trac\core.py", line 140, in __call__
> self.__init__()
> File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 75, in __init__
> self._write_check(log=True)
> File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 79, in _write_check
> writable = self.acctmgr.get_all_supporting_stores('set_password')
> File "build\bdist.win32\egg\acct_mgr\api.py", line 348, in
> get_all_supporting_stores
> for store in self.password_stores:
> File "C:\Python27\lib\site-packages\trac\config.py", line 777, in __get__
> option=tag.tt("[%s] %s" % (self.section, self.name))))
> ConfigurationError: Cannot find implementation(s) of the
> <tt>IPasswordStore</tt> interface named <tt>LdapAuthStore</tt>. Please
> check that the Component is enabled or update the option
> <tt>[account-manager] password_store</tt> in trac.ini.
>
> I backed up my Python directory before the install, and restoring it seems
> to have restored things back to working.
>
>
Trac 1.0.2 and later enforces that Components specified in the trac.ini
configuration file must be loaded. Often users find that when upgrading
they had errors in their configuration that passed silently prior to the
upgrade.
Your [account-manager] password_store setting includes LdapAuthStore, but
the plugin is either not installed, not loading correctly due to an error,
or not enabled. LdapAuthStore is provided by LdapAuthStorePlugin (1).
Perhaps you aren't actually using that store? In that case you can just
removed LdapAuthStore from password_store. But if you are using the plugin,
and the plugin is installed and enabled, then we need to determine why it's
not loading. See TracTroubleshooting (2). It would also be useful to
confirm, before trying the upgrade again, if it is loading in Trac 1.0.2.
You can do that by inspecting the debug level log, as described in
TracTroubleshooting.
(1) https://trac-hacks.org/wiki/LdapAuthStorePlugin
(2) http://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.