trac-accountmanager dies on login with AttributeError: 'NoneType' object has no attribute 'encode'

Bug #769213 reported by Nils Toedtmann on 2011-04-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trac-accountmanager (Ubuntu)

Bug Description

Binary package hint: trac-accountmanager

When trac-accountmanager is installed and enabled, login and password-reset fail with

> AttributeError: 'NoneType' object has no attribute 'encode'

This is a know bug which is fixed upstream, see The patch described there works well for me when applied to /usr/share/pyshared/acct_mgr/

> On line 45 of acct_mgr.pwhash change:
> realm = Option('account-manager', 'htdigest_realm')
> to
> realm = Option('account-manager', 'htdigest_realm', '')

I am talking Lucid (x86_64) with trac-0.11.7-1 and trac-accountmanager-0.2.1+r7163-1

The issue solved in Debian stable and therefore probably also in Maverick and Natty which have already synced Debian's trac-accountmanager-0.2.1+r7731-1.

Would be great if you could sync that down to lucid/universe or lucid-backports/universe too.

W. Martin Borgert (debacle) wrote :

This bug is about a very old version of the package.
Can someone please close it?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.