Hi Martin,

After I updated my Jaunty today, some software crashed before works fine
now

---
$ dpkg -l | grep software-properties-gtk
ii  software-properties-gtk                    0.71.2
                manage the repositories that you install sof
$ dpkg -l | grep python-apt
ii  python-apt                                 0.7.9~exp2ubuntu8
                Python interface to libapt-pkg
---

And command "$ gksu --desktop
/usr/share/applications/software-properties.desktop
/usr/bin/software-properties-gtk"
No such warning message as you posted at all on my side.

Thanks, I guess we can close this bug.
-Bryan


On Mon, Mar 2, 2009 at 10:30 PM, martin <mn...@minimum.se> wrote:
> I used to have this problem but mvo's fix removed the bug for me (I also
> tried it again with latest jaunty bits just now and it's still gone). I
> do see some deprecation warnings printed to the console, but the GUI
> works without any problems.
>
> Bryan, what does "dpkg -l | grep software-properties-gtk" print for you?
>
> mn...@kingfish:~$ gksu --desktop 
> /usr/share/applications/software-properties.desktop 
> /usr/bin/software-properties-gtk
> /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated
>  import sets
> Warning: the md5 module is deprecated; use hashlib instead
> /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated
>  import sets
> /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated
>  import sets
> /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated
>  import sets
> mn...@kingfish:~$ dpkg -l | grep python-apt
> ii  python-apt                                0.7.9~exp2ubuntu8               
>              Python interface to libapt-pkg
> mn...@kingfish:~$ dpkg -l | grep software-properties-gtk
> ii  software-properties-gtk                   0.71.1                          
>              manage the repositories that you install software from
> mn...@kingfish:~$
>
> --
> "software sources" UI broken in jaunty
> https://bugs.launchpad.net/bugs/319714
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “python-apt” source package in Ubuntu: Fix Released
>
> Bug description:
> If you select "System::Administration::Software Sources" currently _nothing_ 
> happens on jaunty.
>
> If I run it from a terminal, using the command:
> gksu --desktop /usr/share/applications/software-properties.desktop 
> /usr/bin/software-properties-gtk
>
> Then I see this chain of nasty errors like this:
> /usr/lib/python2.5/site-packages/apt/__init__.py:19: FutureWarning: apt API 
> not stable yet  warnings.warn("apt API not stable yet", FutureWarning)
> reWarning: apt API not stable yetTraceback (most recent call last):
>  File "/usr/bin/software-properties-gtk", line 101, in <module>
>    app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=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 78, in __init__
>    self.reload_sourceslist()
>  File 
> "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py", 
> line 516, in reload_sourceslist
>    self.distro.get_sources(self.sourceslist)
>  File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 89, in 
> get_sources
>    raise NoDistroTemplateException("Error: could not find a "
> aptsources.distro.NoDistroTemplateException: Error: could not find a 
> distribution template
> Error in sys.excepthook:
> Traceback (most recent call last):
>  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 85, in 
> apport_excepthook
>    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
> OSError: [Errno 17] File exists: 
> '/var/crash/_usr_bin_software-properties-gtk.0.crash'
>
> Original exception was:
> Traceback (most recent call last):
>  File "/usr/bin/software-properties-gtk", line 101, in <module>
>    app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=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 78, in __init__
>    self.reload_sourceslist()
>  File 
> "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py", 
> line 516, in reload_sourceslist
>    self.distro.get_sources(self.sourceslist)
>  File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 89, in 
> get_sources
>    raise NoDistroTemplateException("Error: could not find a "
> aptsources.distro.NoDistroTemplateException: Error: could not find a 
> distribution template
>
>
>
>
> Some guy on #ubuntu-bugs confirmed that it happens on his jaunty system as 
> well.
>

-- 
"software sources" UI broken in jaunty
https://bugs.launchpad.net/bugs/319714
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to