pyneighborhood handles gksu-wrapper wrong - can't mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyneighborhood |
Confirmed
|
High
|
Unassigned |
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-
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@
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/
self.run()
File "/usr/lib/
mountpoint, error = self.mount()
File "/usr/lib/
process = Popen(command, executable = command[0], stdout=PIPE, stderr=PIPE)
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden