[apport] service-discovery-applet crashed with GError in connect()

Bug #96433 reported by Martin Schaaf
8
Affects Status Importance Assigned to Milestone
service-discovery-applet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: service-discovery-applet

Crash by clicking on webdav. Possibly a duplicate on bug 82493.

ProblemType: Crash
Architecture: powerpc
Date: Mon Mar 26 13:50:26 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/service-discovery-applet
InterpreterPath: /usr/bin/python2.5
Package: service-discovery-applet 0.4.4-1ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/service-discovery-applet --oaf-activate-iid=OAFIID:GNOME_ServiceDiscoveryApplet_Factory --oaf-ior-fd=26
ProcCwd: /
ProcEnviron:
 LANG=de_DE.UTF-8
 LANGUAGE=de_DE:de:en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/service-discovery-applet', '--oaf-activate-iid=OAFIID:GNOME_ServiceDiscoveryApplet_Factory', '--oaf-ior-fd=26']
SourcePackage: service-discovery-applet
Uname: Linux inderecke 2.6.20-13-powerpc64-smp #3 SMP Sat Mar 24 23:59:04 UTC 2007 ppc64 GNU/Linux

Revision history for this message
Martin Schaaf (mascha) wrote :
Revision history for this message
Sebastien Estienne (sebest) wrote :

what does GError: Zugriff verweigert means?

Revision history for this message
Sebastien Estienne (sebest) wrote :

could you try the following patch:
edit file /usr/share/service-discovery-applet/plugins/nautilus.py line 46

Index: nautilus.py.in
===================================================================
--- nautilus.py.in (révision 136)
+++ nautilus.py.in (copie de travail)
@@ -43,7 +43,10 @@
             url = build_url("dav",address,port, path, username,password)
         if stype == "_webdavs._tcp":
             url = build_url("davs",address,port, path, username,password)
- gnome.url_show(url)
+ try:
+ gnome.url_show(url)
+ except GError, e:
+ error_msg(e)

 def load():

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 96433] Re: [apport] service-discovery-applet crashed with GError in connect()

Sebastien Estienne [2007-03-26 12:21 -0000]:
> what does GError: Zugriff verweigert means?

German for "Access denied".

Revision history for this message
Martin Schaaf (mascha) wrote :

If I apply your patch I only get a point in the panel. If I remove the modification it starts with the normal style.

Revision history for this message
Martin Schaaf (mascha) wrote :

After latest update or editing the file you mentioned above (but not changing it) it doesn't crash any longer but nothing happen. The excpected nautilus view doesn't open.

Revision history for this message
Sebastien Estienne (sebest) wrote :

The error is an "access denied" trying to access the webdav share, and i didn't handle this error, that's why it crashed, i thought it was handled by nautilus itself.

when you type the url in nautilus itself, can you access the share?

Revision history for this message
Martin Schaaf (mascha) wrote :

Yes, I can it asks for a password. It display it under "Network" in "Got to" menu (translated from the german version).

Revision history for this message
Sebastien Estienne (sebest) wrote :

I think i found the issue:
i'm using the python equivalent to /usr/bin/gnome-open
and if you don't provide the exact credential in the url, it won't ask for the password or the username:

$ gnome-open dav://<email address hidden>:51526/
Error showing url: Access denied

so i replaced this by using nautilus, like in the following patch

Revision history for this message
Martin Schaaf (mascha) wrote :

Thanks this patch works great for me. Thank you for your help and fast response.

Revision history for this message
Sebastien Estienne (sebest) wrote :

Martin, thanx for reporting this bug.

Sebastian, could you please make a new release of s-d-a with this patch?

thank you

Revision history for this message
Sebastian Dröge (slomo) wrote :

Thanks for the patch... uploaded it some seconds ago

Changed in service-discovery-applet:
status: Unconfirmed → Fix Released
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.