software-properties-gtk crash

Bug #84009 reported by Henrique Ferreiro
8
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: software-properties-gtk

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(data_dir, options, file)
  File "/usr/lib/python2.5/site-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 75, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py", line 51, in __init__
    self.distro = aptsources.distro.get_distro()
  File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 429, in get_distro
    return Distribution(id, codename, description, relase)
NameError: global name 'relase' is not defined

Simply renaming relase with release works. It seems a typo.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

is this still a problem on your current system? If so, can you please tell me the output of:

$ lsb_release -i -c -d -r -s

Thanks,
 Michael

Changed in software-properties:
status: Unconfirmed → Needs Info
Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

It works now.

Changed in software-properties:
status: Needs Info → Fix Released
Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

As of python-apt-0.6.20ubuntu13 it still doesn't work.

$ lsb_release -i -c -d -r -s
Ubuntu
Ubuntu feisty (development branch)
7.04
feisty

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.
This problem is fixed in my local tree and the fix will be part of the next uploa (0.6.20ubuntu14).

Cheers,
 Michael

Changed in software-properties:
status: Fix Released → Confirmed
assignee: nobody → mvo
Changed in software-properties:
status: Confirmed → Fix Committed
Michael Vogt (mvo)
Changed in software-properties:
status: Fix Committed → Fix Released
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.