[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    [Trac] Can't login after upgrading to 11.6
From:       Michel Jung <michel.jung89 () gmail ! com>
Date:       2009-12-23 9:51:15
Message-ID: 5511b86a-2423-418e-ba02-a84ebca728de () 21g2000yqj ! googlegroups ! com
[Download RAW message or body]

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 trac-users@googlegroups.com.
To unsubscribe from this group, send email to trac-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic