pyneighborhood handles gksu-wrapper wrong - can't mount

Bug #746670 reported by Linus Hoppe on 2011-03-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When starting pyneighborhood 0.5.3 in ArchLinux, there are two extra messages in the debug-window:

* /usr/bin/gksu isn't accessable... trying to determine correct sudo wrapper...
* Detected gnome desktop environment... falling back to /usr/bin/gksu as sudo wrapper...

Although /usr/bin/gksu does not exist, pyneighbiorhood falls back to /usr/bin/gksu. Here, we have to change the method to detect the correct desktop-environment/sudo-wrapper.

When trying to mount a share (although /usr/bin/gksu does not exist), the folling terminal-lines are printed out because he does not find /usr/bin/gksu.

[linus@virtualbox-arch ~]$ pyNeighborhood
Can't load /etc/samba/smb.conf - run testparm to debug it
Can't load /etc/samba/smb.conf - run testparm to debug it
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 530, in __bootstrap_inner
  File "/usr/lib/python2.7/site-packages/pyneighborhood/", line 203, in run
    mountpoint, error = self.mount()
  File "/usr/lib/python2.7/site-packages/pyneighborhood/", line 180, in mount
    process = Popen(command, executable = command[0], stdout=PIPE, stderr=PIPE)
  File "/usr/lib/python2.7/", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/", line 1202, in _execute_child
    raise child_exception
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers