Nevermind. I've forgot to enable AccountManager in config after
switching from local environment version to globally installed.

On Dec 25, 6:06 pm, anatoly techtonik <[email protected]> wrote:
> Seems like I experience the same problem, but I use AccountManager
> plugin.
>
> On Dec 23, 11:51 am, Michel Jung <[email protected]> wrote:
>
> > Hi
>
> > I upgraded my Trac from 11.5 (I guess) to 11.6. Now, I can't login
> > anymore (see Traceback below). I had installed some plugins like
> > UserAdmin or however it was called (to allow users to register
> > themselves).
> > Couldn't find anything on google yet, except a 3 year old, solved trac-
> > ticket (http://trac.edgewall.org/ticket/5383). Any suggestions?
>
> > -----------------
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/api.py", line 377, in send_error
> >     'text/html')
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/chrome.py", line 733, in render_template
> >     message = req.session.pop('chrome.%s.%d' % (type_, i))
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/api.py", line 195, in __getattr__
> >     value = self.callbacks[name](self)
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/main.py", line 265, in _get_session
> >     return Session(self.env, req)
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/session.py", line 149, in __init__
> >     if req.authname == 'anonymous':
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/api.py", line 195, in __getattr__
> >     value = self.callbacks[name](self)
> >   File "/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/
> > web/main.py", line 134, in authenticate
> >     authname = authenticator.authenticate(req)
> >   File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 437, in
> > wrap
> >     return func(self, *args, **kwds)
> >   File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 447, in
> > authenticate
> >     req.environ['REMOTE_USER'] = self._remote_user(req)
> >   File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 474, in
> > _remote_user
> >     if AccountManager(self.env).check_password(user, password):
> >   File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 140, in
> > check_password
> >     valid = store.check_password(user, password)
> >   File "build/bdist.linux-i686/egg/acct_mgr/db.py", line 76, in
> > check_password
> >     return self.hash_method.check_hash(user, password, hash)
> >   File "build/bdist.linux-i686/egg/acct_mgr/pwhash.py", line 52, in
> > check_hash
> >     return hash == self.generate_hash(user, password)
> >   File "build/bdist.linux-i686/egg/acct_mgr/pwhash.py", line 48, in
> > generate_hash
> >     user,password,realm = _encode(user, password, self.realm)
> >   File "build/bdist.linux-i686/egg/acct_mgr/pwhash.py", line 56, in
> > _encode
> >     return [a.encode('utf-8') for a in args]
> > AttributeError: 'NoneType' object has no attribute 'encode'

--

You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.


Reply via email to