GTG

Comment 9 for bug 537885

Revision history for this message
Morgan Collett (morgan) wrote :

The problem is happening in GTG/tools/openurl.py where it forks a process to check if xdg-open or exo-open are available on the system.

If I make the following change, the crash is prevented (but we lose the ability to detect these programs - so only works on a gnome desktop):

--- openurl.py.old 2010-04-13 11:18:30.000000000 +0200
+++ openurl.py 2010-04-13 11:18:59.000000000 +0200
@@ -56,8 +56,8 @@
 def _spawn_quiet(*args):
     return _spawn_executable(True, False, *args)

-_has_xdg = _test_executable('xdg-open', '--help')
-_has_exo = _test_executable('exo-open', '--help')
+_has_xdg = False
+_has_exo = False

 def openurl(url):
     if _has_xdg: # freedesktop is the best choice :p

I don't know how to fix it (don't have time to experiment further) but this seems to be where the problem lies.