Note that Debian is also affected when /usr/share/python-
apt/templates/Debian.info is out of date.

** Description changed:

  first "precise" i386 crash after having installed the available
  packages. Then this crash happen when i want to open Settings->Repo into
  synaptic: the dialog box dont open but get this crash.
+ 
+ TEST CASE:
+ 1. Run the latest development release
+ 2. Edit the file /usr/share/python-apt/templates/Ubuntu.info and delete all 
the sections with and entry "ParentSuite=Precise"
+ 3. Open a terminal and run the following command
+   $ software-properties-gtk
+ 
+ EXPECTED RESULT
+ The application starts correctly.
+ Ideally it should display a message indicating that the repository 
information for the current release is out of date.
+ 
+ CURRENT RESULT
+ Traceback (most recent call last):
+   File "/usr/bin/software-properties-gtk", line 104, in <module>
+     app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, 
file=file)
+   File 
"/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 85, in __init__
+     SoftwareProperties.__init__(self, options=options, datadir=datadir)
+   File 
"/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", 
line 96, in __init__
+     self.reload_sourceslist()
+   File 
"/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", 
line 580, in reload_sourceslist
+     self.distro.get_sources(self.sourceslist)
+   File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 91, in 
get_sources
+     raise NoDistroTemplateException("Error: could not find a "
+ NoDistroTemplateException: Error: could not find a distribution template
+ 
  
  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.81.10
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Fri Oct 14 17:16:51 2011
  ExecutablePath: /usr/bin/software-properties-gtk
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 54525989
  ProcEnviron:
-  SHELL=/bin/bash
-  LANG=fr_FR.UTF-8
-  PATH=(custom, no user)
+  SHELL=/bin/bash
+  LANG=fr_FR.UTF-8
+  PATH=(custom, no user)
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '54525989']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with NoDistroTemplateException in 
get_sources(): Error: could not find a distribution template
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: admin audio avahi avahi-autoipd crontab debian-tor fuse haldaemon 
klog libuuid lpadmin messagebus mythtv plugdev polkituser pulse root ssh 
ssl-cert syslog users voice

** Summary changed:

- software-properties-gtk crashed with NoDistroTemplateException in 
get_sources(): Error: could not find a distribution template
+ software-properties-gtk crashed with NoDistroTemplateException in 
get_sources(): Error: could not find a distribution template when Ubuntu.info 
is out of date

** Changed in: software-properties (Debian)
   Importance: Undecided => Unknown

** Changed in: software-properties (Debian)
       Status: Invalid => Unknown

** Changed in: software-properties (Debian)
 Remote watch: None => Debian Bug tracker #554567

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/874329

Title:
  software-properties-gtk crashed with NoDistroTemplateException in
  get_sources(): Error: could not find a distribution template when
  Ubuntu.info is out of date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/874329/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to