Closed SherlockedTxh closed 5 years ago
It seems to help removing /Users/<your user>/Library/Application Support/Alfred 3/Workflow Data/de.gh01.alfred.github/
@tdeekens I tried that, still doesn't have search suggestions results.
I solved it by reinstalling Alfred and this workflow. This time I didn't use the old alfredpreferences, had to set everything up all over again. I guess something went wrong when Alfred 4 migrates my preferences.
For me the de.gh01.alfred.github
file was also in /Library/Application Support/Alfred/Workflow Data
, so I have removed it in two places, and re-installed the workflow. I didn't have to re-install Alfred 4.
That did the trick for me.
Any progress? :)
For me the
de.gh01.alfred.github
file was also in/Library/Application Support/Alfred/Workflow Data
, so I have removed it in two places, and re-installed the workflow. I didn't have to re-install Alfred 4. That did the trick for me.
@harmenjanssen Thank you for your hint. It works.
The fix does not work
once I type in "gh ",the following information pops out.tried deleting $HOME_DIRECTORY/Library/Application Support/Alfred 3/Workflow Data/$ID_FOR_GITHUB_WORKFLOW_APP,didn't work.
debug: [14:30:44.100] GitHub[Script Filter] Queuing argument '' [14:30:44.242] GitHub[Script Filter] Script with argument '(null)' finished [14:30:44.246] GitHub[Script Filter] <?xml version="1.0"?>
[14:30:44.539] GitHub[Script Filter] Queuing argument ' ' [14:30:44.684] GitHub[Script Filter] Script with argument '(null)' finished [14:30:44.687] ERROR: GitHub[Script Filter] Code 255: loading content for https://api.github.com/repos/gharlan/alfred-github-workflow/releases/latest [14:30:44.688] GitHub[Script Filter] Fatal error: Uncaught Error: Function name must be a string in /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/curl.php:74 Stack trace:
0 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/workflow.php(297): Curl->execute()
1 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/workflow.php(357): Workflow::requestCache('https://api.git...', Object(Curl), Object(Closure), true, 1440)
2 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/search.php(41): Workflow::checkUpdate()
3 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/search.php(609): Search::run('github', '', '0')
4 {main}
thrown in /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/curl.php on line 74 [14:30:44.692] ERROR: GitHub[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Fatal error: Uncaught Error: Function name must be a string in /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/curl.php:74 Stack trace:
0 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/workflow.php(297): Curl->execute()
1 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/workflow.php(357): Workflow::requestCache('https://api.git...', Object(Curl), Object(Closure), true, 1440)
2 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/search.php(41): Workflow::checkUpdate()
3 /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/search.php(609): Search::run('github', '', '0')
4 {main}
thrown in /Users/friday/应用数据/Alfred.alfredpreferences/workflows/user.workflow.2806A536-1CD1-4BA4-A3AF-ABF410E158A3/curl.php on line 74