Comments (9)
That's strange. Please do the following:
- Open Alfred Preferences, Workflows
- Right Click on "GitHub commands", "Show in Finder"
- Open this directory in Terminal
php search.php "> login jcamenisch"
What is the result?
from alfred-github-workflow.
Oh, GitHub has changed the command bar, so my workflow does not work any more. I have to look deeper into the changes…
from alfred-github-workflow.
Please update the workflow and check if it works for you now…
from alfred-github-workflow.
Here we go:
> php search.php "> login jcamenisch"
PHP Fatal error: Call to undefined function curl_init() in /Users/jcamenisch/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.C98486E8-9D64-4CB1-810B-3C36711A54E5/workflow.php on line 74
This should be enough direction to fix it, I would think (with a little help from the Interwebz).
from alfred-github-workflow.
The workflow requires the PHP Curl Extension, which is installed per default on OSX.
from alfred-github-workflow.
For any phpbrew users who might stumble in here: enable curl by appending -- --with-curl=/usr/include/curl
to your phpinstall command. E.g.
> phpbrew install php-5.4.10 +default +pcntl +mysql -- --with-curl=/usr/include/curl
from alfred-github-workflow.
The weird thing is, after installing php_curl, I still have the original symptom in Alfred. I've deleted the workflow and reinstalled it again. in the terminal, I get:
> php search.php "> login jcamenisch"
<?xml version="1.0"?>
<items><item uid="6867977c2f22806b59ce1a296e0d88ee" arg="> login jcamenisch" autocomplete=" > login jcamenisch"><icon>icon.png</icon><title>gh > login jcamenisch</title><subtitle>Log in to GitHub</subtitle></item></items>
But in Alfred, it still hangs on "Loading results..." Pressing Enter has no effect.
from alfred-github-workflow.
Maybe Alfred uses a different php installation as the terminal. I suppose that Alfred always uses /usr/bin/php
, so please try this in terminal:
/usr/bin/php search.php "> login jcamenisch"
from alfred-github-workflow.
Doh! I should have thought of that. I was trying to figure out what my custom php was still lacking. Just needed:
sudo ln -s `which php` /usr/bin/php
from alfred-github-workflow.
Related Issues (20)
- Plugin breaks after update with Alfred 3 HOT 6
- Workflow breaks on macOS 12 (Monterey) HOT 6
- gh keyword doesn't work on macOS 12.0.1 HOT 1
- Mac 12.0.1 and php 8.1.0 - I cannot auth using GitHub token HOT 1
- Cannot get issue list of the repository HOT 1
- /bin/bash: php: command not found HOT 1
- Can't seem to gh > login, even though i have installed the workflow HOT 2
- [Feature Request] Add option to select browser to open in. HOT 1
- Version not updated in workflow editor HOT 1
- Stopped working? HOT 1
- What is the file to adjust the icon? HOT 1
- Current version breaks in latest php from Homebrew HOT 11
- Replicate App "in house" for privacy issues HOT 1
- Can't search in my organization private repos. HOT 2
- Support topic search and trending redirect
- Alfred Gallery
- ERROR: GitHub[Script Filter] Code 6: dyld[9991]: Library not loaded: '/opt/homebrew/opt/libtiff/lib/libtiff.5.dylib'
- Is This Project Still Maintained? HOT 1
- Workflow 1.0.9 Missing Symbol Called
- Support Github Enterprise Cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-github-workflow.