-
Notifications
You must be signed in to change notification settings - Fork 146
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
Nothing happens with "gh s ..." or any other commands #82
Comments
I'm seeing this too! Tried deleting and reinstalling, |
Please open the workflow in alfred preferences and activate the debug mode. |
Nothing that useful:
I've tried running
|
Hi, I'm seeing the same thing. When I type Tried it with the debugging turned on, but I'm getting no output. I type I figured I'd try uninstalling it and installing it again, just to be pedantic, but that didn't change anything. The workflow acts as above. Thanks |
Yes, I got the same result as @chrismetcalf, "...version="1.0....". Is it possible that it's caused by the network connection problem? |
@tarvos21 did you really mean to close this issue? |
@gharlan, oh, sorry, I made a mistake by clicking "close and comment", while actually I want to "cancel" the comment above. I am not sure whether it's caused by internet connection, I can connect GitHub without proxy, but need proxy to connect Google. Today, when I type "gh ...." in Alfred 3, nothings happens anymore, only left "gh" in the input, same with @dotemacs. I type in any commend: After I hit enter: |
You have to run it like this (the query has to start with a space):
|
Hmm, tried with the space in the query as you suggested, and now it just hangs:
|
Let me add my bit. My setup:
Like @chrismetcalf when I run the workflow like this:
it hangs for a while, then it barfs:
The contents of workflow.php line 206: self::getStatement('UPDATE request_cache SET refresh = ? WHERE url = ?')->execute(array(time(), $url)); Hope that helps |
I can't tell you why it worked, but deleting the workflow's working directory ( |
I've followed @chrismetcalf's suggestion and can confirm that the workflow is working again. Thanks @chrismetcalf :) |
Same thing happend to me. @chrismetcalf's suggestion fixes the problem. |
As we see, I couldn't log in, after clearing the cache it still didn't work for me, so I tried and got:
Could you give me some suggestions? |
@Y4m1n Not sure. If I had to guess, its something to do with the PHP setup on your machine |
Thanks @chrismetcalf, that worked for me too! |
I have the same. I reinstalled the workflow, but it did not help. I then tried to do what @chrismetcalf suggested. This allowed me to login, but it still hangs when I try to search. The PHP script executes just fine and there's nothing in debug... |
Oh very interesting, now that I've run the script manually it works again |
I had the same issue as @Averethel . Deleting |
I often face the same issue for the past year, and it's very annoying. System info:
My workaround:
|
@chrismetcalf very good! |
The next time the problem appears please open debug mode in alfred preferences of this workflow. |
This solved the problem for me as well. But here are the error messages from the debug mode before deleting
|
I had to write the Script Filter to a file on disk and then run it with Copy this to your clipboard <?php
require 'search.php';
Search::run('github', $argv[1], getenv('hotkey'));
echo Workflow::getItemsAsXml(); In the workflow directory (ie
After running that once the Alfred workflow works as normal. Weird. |
Spoke too soon, I gave the workflow an access token and now it just hangs. I see this error in the debugger:
|
Hi, I find GitHub-workflow rather great, I login in, and it works for a while, however, suddenly it responses nothing to any command(at least for a while), especially when I type "gh s ...", it deletes all my inputs, and only left "gh s" in Alfred 3, I am on a macOS Sierra system, what may be the problem?
I have tried to reboot my computer and also quit Alfred, and disabled the workflow and enable it, but it does not help.
In fact, this workflow crashes once in while, I mean it works fine now, but after several minutes, it does not work, weird, anyone has encountered the same problem? Thanks!
The text was updated successfully, but these errors were encountered: