Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10974 - [guake] window preferences crash

Attached to Project: Community Packages
Opened by Andrea Scarpino (BaSh) - Monday, 21 July 2008, 22:20 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 22 July 2008, 17:08 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I try to open window preferences of guake it crash.
If I launch guake and try to open window preferences with 'guake -p' I get:

Traceback (most recent call last):
File "/usr/lib/guake/guake.py", line 1172, in <module>
main()
File "/usr/lib/guake/guake.py", line 1152, in main
remote_object.show_prefs()
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError: Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/dbus/service.py", line 696, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/guake/dbusiface.py", line 49, in show_prefs
self.guake.show_prefs()
File "/usr/lib/guake/guake.py", line 707, in show_prefs
PrefsDialog(self).show()
File "/usr/lib/guake/guake.py", line 173, in __init__
self.populate_shell_combo()
File "/usr/lib/guake/guake.py", line 308, in populate_shell_combo
for j in os.listdir(i):
OSError: [Errno 2] No such file or directory: '/usr/bin/perlbin/site'


Additional info:
* guake 0.3.0


Steps to reproduce:
After launch guake, try to open prefences windows with
$ guake -p

Note: An ugly fix is creating the directory site under perlbin path, with mkdir -p /usr/bin/perlbin/vendor this problem seems to be more far than guake, maybe many app's depend on it, so i will research, for now you can fix the error creating the directory.

Note2: I found a hack, the error is that a function is based on other linux tree dir structure and he doesn't found the dir /usr/bin/perlbin/vendor so you have to add on the code an exception to skip that dir, and everything works good.

I've mailed to the developers, and i hope a soon answer, with the patch that i've added you have to do

# patch /usr/lib/guake/guake.py -i preferences-window.patch

and that will add the line that skip vendor dir, but i hope to get an answer from guake dev's to see what expected to do with that line, to see how fix it in a natural, transparent and optimized way.

Note3: I contacted the guake developers (lincoln) and he told me that this week will go out a new release with that bug fixed, until now we can add an official patch, the package was updated so this thread is close update to guake 0.3.0-2.

The problem it was already on many distros, not just arch, so i look for some help in the community.

Thanks to BaSh, lincoln, neurogeek and gentoo-ve community
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 22 July 2008, 17:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed by angvp
Comment by Andrea Scarpino (BaSh) - Tuesday, 22 July 2008, 08:04 GMT
wow! thanks for your FAST contribute

however, I think you can add the patch to srcdir instead of pkgdir
next time remember to add the patch to source array ;)


this is my tarball with my pkgbuild and patch for srcdir:
Comment by Andrea Scarpino (BaSh) - Tuesday, 22 July 2008, 14:01 GMT
I tried guake in community and I get:
$ guake
Traceback (most recent call last):
File "/usr/lib/guake/guake.py", line 45, in <module>
import globalhotkeys
ImportError: /usr/lib/guake/globalhotkeys.so: wrong ELF class: ELFCLASS64

I rebuilt it, and it works
Comment by Angel Velasquez (angvp) - Tuesday, 22 July 2008, 16:05 GMT
Good Andrea i'll uploading a new release today at 2 hours, i'd like to test it first as well so i hope to see you online when i will be doing the tests ;)

Loading...