[Systems] Trace 0.11.5 => 0.11.6

Sascha Silbe sascha-ml-ui-sugar-systems at silbe.org
Sun Jan 10 06:32:04 EST 2010


On Fri, Jan 08, 2010 at 08:24:36PM -0500, Bernie Innocenti wrote:

> I upgraded Trac on solarsail:
Login is broken:

11:54 < silbe> bernie: what's up with bender? buildslaves are 
unreachable, ssh hangs after connect (both IPv4 and IPv6)
12:16 < silbe> bernie: Trac (bugs.sl.o) login is broken for me 
(AttributeError: 'NoneType' object has no attribute 'encode' in
                 
/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/pwhash.py) 
:(
12:18 < silbe> don't have an account on solarsail, so cannot investigate 
myself...
12:18 < silbe> anyone else having issues with Trac or just me?
12:19  * alsroot has the same traceback
12:19 < silbe> alsroot: do you have admin privileges on Trac?
12:20 < alsroot> silbe: on trac itself, yup, but not shell login to 
solarsail
12:20 < silbe> alsroot: ok, so it could still be related to that (i.e. 
it could work fine for regular users)
12:21 < silbe> but at least it's not just me :)


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 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/web_ui.py", 
line 429, in wrap
      return func(self, *args, **kwds)
    File 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/web_ui.py", 
line 439, in authenticate
      req.environ['REMOTE_USER'] = self._remote_user(req)
    File 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/web_ui.py", 
line 466, in _remote_user
      if AccountManager(self.env).check_password(user, password):
    File 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/api.py", 
line 140, in check_password
      valid = store.check_password(user, password)
    File 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/db.py", 
line 76, in check_password
      return self.hash_method.check_hash(user, password, hash)
    File 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/pwhash.py", 
line 52, in check_hash
      user,password,realm = _encode(user, password, self.realm)
    File 
"/usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r4679-py2.5.egg/acct_mgr/pwhash.py", 
line 57, in _encode
      return [a.encode('utf-8') for a in args]
AttributeError: 'NoneType' object has no attribute 'encode'


CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/private/systems/attachments/20100110/d385a079/attachment.pgp 


More information about the Systems mailing list