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.

-- 
gtg crashed with RuntimeError in <module>()
https://bugs.launchpad.net/bugs/537885
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to