On Sun, Jan 06, 2008 at 09:25:01AM +0000, Adrien CLERC wrote:
> Package: apt-listchanges
> Version: 2.79
> Severity: normal
> 
> --- Please enter the report below this line. ---
> Hi !
> I'm very very embarrassed, but I have to submit this bug to understand 
> what's happening. I've purged and reinstalled apt-listchanges, and even 
> with the default configuration, I always have the following error :
> 
> Traceback (most recent call last):
>  File "/usr/bin/apt-listchanges", line 227, in ?
>    main()
>  File "/usr/bin/apt-listchanges", line 190, in main
>    frontend.set_title( _('apt-listchanges: Changelogs') )
> AttributeError: pager instance has no attribute 'set_title'
> 
> I have another PC under Debian/testing which is using exactly the same 
> package, sources are identical, python binaries are identical, 
> environment variable seems identical, and that PC doesn't crash...

  You may have old apt-listchanges pyo/pyc files in
/usr/share/python/site-packages or sth similar. Look for
apt_listchanges.py{o,c} on your system, the ones in
/usr/share/apt-listchanges/ are OK and normal, the other ones are not.

  If that's the case, then you probably messed up something on your
system and is not a packaging bug (I do remove the old pyc/pyo the old
apt-listchanges created at preinst time).

  I can't see any other reason, because the "pager" frontend inherits
the "frontend" class that _do_ have a set_title member.
-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpiM2OuiEdWa.pgp
Description: PGP signature

Reply via email to