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

Bug #769213 reported by Nils Toedtmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trac-accountmanager (Ubuntu)
New
Undecided
Unassigned

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 http://trac-hacks.org/ticket/6453. The patch described there works well for me when applied to /usr/share/pyshared/acct_mgr/pwhash.py:

> 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

Revision history for this message
Nils Toedtmann (m-launchpad-net-mail-nils-toedtmann-net) wrote :

The issue solved in Debian stable http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572167 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.

Revision history for this message
Martin (debacle) wrote :

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

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

Other bug subscribers

Remote bug watches

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