software-properties-gtk crashed with NoDistroTemplateException in get_sources()

Bug #181342 reported by steveacab
48
This bug affects 5 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

8.04 alpha2

ProblemType: Crash
Architecture: i386
Date: Sun Jan 6 14:47:50 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/software-properties-gtk
InterpreterPath: /usr/bin/python2.5
Package: software-properties-gtk 0.60.debian-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 54526081
ProcCwd: /home/steve
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '54526081']
SourcePackage: software-properties
Title: software-properties-gtk crashed with NoDistroTemplateException in get_sources()
Uname: Linux ubuntu 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux
UserGroups:

Revision history for this message
steveacab (antonio.chiurazzi) wrote :
Revision history for this message
Michael Mulder (michael-mulder) wrote :

I was able to re-produce this error after updating my sources.list to Intrepid repository. Attempting to launch update manager produced this error. I'll gladly attach additional information upon request.

Revision history for this message
Michael Mulder (michael-mulder) wrote :

In my above comment, I meant to say that I attempted to launch "Software Sources", not update manager as I previously described. I apologize for this confusion.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try to reproduce the same with Ubuntu 9.04? Thanks in advance.

Changed in software-properties (Ubuntu):
status: New → Incomplete
Changed in software-properties (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Emilio (turl) wrote :

This seems to be fixed in current jaunty

Changed in software-properties:
status: Incomplete → Fix Released
Revision history for this message
Robb Munson (r.munson) wrote :

I believe this is the same error I am getting in Lucid....

Revision history for this message
YunQiang Su (wzssyqa) wrote :

It occur on natty again.

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 112, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 86, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 90, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 538, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template

here is my source.list

deb http://tw.archive.ubuntu.com/ubuntu/ natty multiverse restricted universe main

# deb http://security.ubuntu.com/ubuntu natty-security main restricted universe

deb http://ppa.launchpad.net/sevenmachines/flash/ubuntu maverick main #flash 64

#deb http://dl.google.com/linux/deb/ stable non-free
deb http://packages.medibuntu.org/ lucid free non-free # medibuntu

deb http://mirrors.163.com/ubuntu-cn/globalmenu-team/ppa/ubuntu/ lucid main

deb http://ppa.launchpad.net/happyaron/amule-dlp/ubuntu maverick main

deb http://ppa.launchpad.net/happyaron/ppa/ubuntu/ maverick main

Changed in software-properties (Ubuntu):
status: Fix Released → New
tags: added: natty
Revision history for this message
YunQiang Su (wzssyqa) wrote :

in natty, it is fixed now.

Changed in software-properties (Ubuntu):
status: New → Fix Released
Revision history for this message
IsraeLins (israelins85) wrote :

I'm getting the same problem here after a wrong ppa-purge!

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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