software-properties-gtk crashed with DBusException in call_blocking() after clicking Cancel in authentication dialog

Bug #827936 reported by 81238283
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Test Case:

1. Open Software Center
2. Edit > Software Sources
3. Other Software > Add...
4. Paste deb line
5. Click "Add Source" and when it asks for the password, click "Cancel".

ProblemType: CrashDistroRelease: Ubuntu 11.10
Package: software-properties-gtk 0.81.7
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Wed Aug 17 12:48:25 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/software-properties-gtk
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 58720394
ProcEnviron:
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '58720394']SourcePackage: software-properties
Title: software-properties-gtk crashed with DBusException in call_blocking(): org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
UpgradeStatus: Upgraded to oneiric on 2011-08-15 (1 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
81238283 (jsadj) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
Kevin Guertin (leonivek) wrote :

I can reproduce this easily:

1. Open Software Center
2. Edit > Software Sources
3. Other Software > Add...
4. Paste deb line
5. Click "Add Source" and when it asks for the password, click "Cancel".
6. BANG!

Revision history for this message
Brian Murray (brian-murray) wrote :

I received the following Traceback in the terminal which I launched software-properties-gtk on Precise:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 782, in on_add_clicked
    self.backend.AddSourceFromLine(line)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: com.ubuntu.SoftwareProperties.PermissionDeniedByPolicy: com.ubuntu.softwareproperties.applychanges

description: updated
tags: added: precise
tags: added: testcase
Changed in software-properties (Ubuntu):
importance: Undecided → Medium
summary: - software-properties-gtk crashed with DBusException in call_blocking():
- org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible
- causes include: the remote application did not send a reply, the message
- bus security policy blocked the reply, the reply timeout expired, or the
- network connection was broken.
+ software-properties-gtk crashed with DBusException in call_blocking()
+ after clicking Cancel in authentication dialog
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

I met this problem when I failed to enter my password.

Revision history for this message
Edward Donovan (edward.donovan) wrote :

I believe this is a duplicate of bug 828850, at least now that that bug has been clarified to the same test case. That bug is triaged, assigned, and has many more subscribers, so I'll make that the master. Thanks.

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.