gharlan / alfred-github-workflow

GitHub Workflow for Alfred
MIT License
2.89k stars 147 forks source link

Doesn't Work in macOS 10.13.5 #103

Closed Fanchao-Qi closed 5 years ago

Fanchao-Qi commented 6 years ago

Hi, I find that the corresponding items don't show in the drop-down menus of Alfred after I input the correct command. The Alfred version is 3.6.1.

And here are the logs.

[2018-07-06 22:42:16][input.scriptfilter] Queuing argument '' [2018-07-06 22:42:16][input.scriptfilter] Script with argument '(null)' finished [2018-07-06 22:42:16][input.scriptfilter] <?xml version="1.0"?>

icon.pnggh…Search or type a command

[2018-07-06 22:42:16][input.scriptfilter] Queuing argument ' ' [2018-07-06 22:42:16][input.scriptfilter] Script with argument '(null)' finished [2018-07-06 22:42:16][ERROR: input.scriptfilter] Code 255: Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: config in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php:428 Stack trace:

0 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(428): PDO->prepare('SELECT value FR...')

1 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(97): Workflow::getStatement('SELECT value FR...')

2 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(351): Workflow::getConfig('version')

3 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredp in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php on line 428

[2018-07-06 22:42:16][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: config in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php:428 Stack trace:

0 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(428): PDO->prepare('SELECT value FR...')

1 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(97): Workflow::getStatement('SELECT value FR...')

2 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(351): Workflow::getConfig('version')

3 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredp in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php on line 428

[2018-07-06 22:42:16][input.scriptfilter] Queuing argument ' j' [2018-07-06 22:42:17][input.scriptfilter] Queuing argument ' jd' [2018-07-06 22:42:17][input.scriptfilter] Script with argument '(null)' finished [2018-07-06 22:42:17][ERROR: input.scriptfilter] Code 255: Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: config in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php:428 Stack trace:

0 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(428): PDO->prepare('SELECT value FR...')

1 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(97): Workflow::getStatement('SELECT value FR...')

2 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(351): Workflow::getConfig('version')

3 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredp in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php on line 428

[2018-07-06 22:42:17][input.scriptfilter] Script with argument '(null)' finished [2018-07-06 22:42:17][ERROR: input.scriptfilter] Code 255: Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: config in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php:428 Stack trace:

0 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(428): PDO->prepare('SELECT value FR...')

1 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(97): Workflow::getStatement('SELECT value FR...')

2 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php(351): Workflow::getConfig('version')

3 /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredp in /Users/qfc/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.B7DE3A16-A14F-45C8-B8B1-B402DA474F9C/workflow.php on line 428

benfogel commented 5 years ago

Not sure if it'll work for your scenario, but I had the same error. I had to clear out the Alfred Workflow Data folder here $HOME_DIRECTORY/Library/Application Support/Alfred 3/Workflow Data/$ID_FOR_GITHUB_WORKFLOW_APP. Once I deleted the folder and re-ran the workflow, I was able to type commands successfully.

Fanchao-Qi commented 5 years ago

@benfogel It works! Thank you.

mparent61 commented 5 years ago

This worked for me too, just wanted to say thanks!

whosphp commented 5 years ago

@benfogel Worked for me, Thanks