New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guake fails to start due to a GlobalHotkey related C call #558
Comments
thanks for report. Doesn't it also do it in 0.7.x / 0.6.x or 0.5.x ? |
I haven't faced this issue earlier. The latest version of guake on Arch Linux is |
Probably a dependency that has been updated |
This also happen with Guake 0.7.2 on Arch Linux. I have to note that it only happen sometimes, if I start and stop Guake repeatedly I can see that some of the times it fails and other times it runs just fine. For dependecy version, this is the version I have installed as of writting this: |
Navigate to /usr/lib/python2.7/site-packages/guake and delete all files ending with .pyc then reboot. PS: I'm not author of this idea - all credits to JayGuevara at https://forum.manjaro.org/index.php?topic=23155.msg203775#msg203775. |
@ivoshm I deleted all .pyc and .pyo files, and it didn't resolve the issue |
I can imagine only two differences between me and you ... I didn't remove *.pyo only *.pyc and I rebooted. |
I thought the same, however I haven't been able to find a culprit.
LXQt may have had a hand in this, but I am positive it hasn't been updated recently. |
@ivoshm *.pyc files were the culprits in my eyes too, and then I saw your comment. I followed your suggestion word to word, but as @jenrik says, this does not work; not reliably at least. |
that's really weird... |
@ghosthoughts All people affected are Arch positive, desktop environment is probably not the key (in Manjaro forum was bug reported on KDE primally, you are on LXQt, @jenrik on vanilla ? Arch and another happy Manjaro man solved this problem same way as me on MATE). |
I am on the same boat as @ghosthoughts , although my DE is gnome and i don't think DE has anything to do with it.... |
@ivoshm I have tried deleting only .pyc files, and I have tried both .pyc and .pyo files, neither helped me. I will also note that I have tried with both openbox and xfce4 (with xfwm window manager). |
Maybe it will be way ... I'm using non-standard global hot-key (Win+Z) instead of default F12. If I set global hotkey back to F12, exception reappear again. |
Setting the show/hide hotkey to F12 or Pause doesn't fix it. |
The problem happens when "GlobalHotkey()" is called which calls the C function GlobalHotkey_init in globalhotkeys.c, which doesn't return NULL?! It may very well be calling other C functions I just haven't noticed. |
This is a very old code, never touched since prehistoric times... |
Gonna startup a proper debugger tomorrow and see if I can find out some more about the issue. |
i don't env environment to debug it at home for the moment... |
Same issue occurring here. My hotkey to raise the terminal is not the default. I'm on Arch with xfce. Python was updated a few days ago which is around the time the issues started, so perhaps the python update is causing the issue. [2015-05-30 00:43] [ALPM] upgraded python2 (2.7.9-1 -> 2.7.10-1) |
I refer all ... today my guake didn't started - I am inclined to the random occurrence of this error (maybe it will be this NULL without error message as mentioned by @enlighter). |
Can you roll back to python 2.7.6 ? |
I rollbacked to python 2.7.9 (python2-2.7.9-1-x86_64.pkg.tar.xz) and started Guake ten times without problem (even mixing Win+Z and F12 global hotkey). |
so this comes from 2.7.10? |
Looks like ... I updated my Manjaro at Saturday and Python's update from 2.7.9 to 2.7.10 was included. Actual Arch package info for python2 ...https://www.archlinux.org/packages/extra/x86_64/python2/ |
I have created a PR that replaces guakes internal GlobalHotkeys system with the keybinder module and as a result fixes this issue. |
Also on Arch x64, running Gnome, Pause for my hotkey, latest python update seems to have broken everything -- no new information there. |
Thanks jenrik! Nice one! |
This is the traceback:
This started happening since today. I tried the usual reboot-and-hope-things-work scenario, but didn't work.
For the record, I am using Arch Linux.
The text was updated successfully, but these errors were encountered: