software-properties-gtk crashed with TypeError in __init__()

Bug #90296 reported by siucdude
2
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I don't know how this happened but I was trying to open apt's sources.list so that i may do a backup of it.

ProblemType: Crash
Architecture: i386
Date: Tue Mar 6 22:09:42 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/software-properties-gtk
InterpreterPath: /usr/bin/python2.5
Package: software-properties-gtk 0.56
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk /etc/apt/sources.list
ProcCwd: /home/joniak99
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-properties-gtk', '/etc/apt/sources.list']
SourcePackage: software-properties
Uname: Linux joniak99-desktop 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Revision history for this message
siucdude (siucdude) wrote :
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

User errror: Do not add your sources.list as a command line option. Software-properties will detect it.

Changed in software-properties:
status: Unconfirmed → Rejected
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I fixed it in my bzr tree so that it does not crash anymore when called with a filename arguemnt. The bug here was that the order of the arguemnts passed to the constructor was wrong.

Cheers,
 Michael

P.S. Sebastian, please merge the fix from my bzr tree.

Changed in software-properties:
importance: Undecided → Medium
status: Rejected → 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.