alfred-slack icon indicating copy to clipboard operation
alfred-slack copied to clipboard

Cannot add client

Open olivierguyomard opened this issue 4 years ago • 9 comments

I cannot use : Slack --add-client

CleanShot 2021-01-05 at 10 49 25

[10:48:33.651] Slack[Script Filter] Queuing argument '-' [10:48:33.805] Slack[Script Filter] Queuing argument '--' [10:48:33.967] Slack[Script Filter] Script with argv '(null)' finished [10:48:33.970] STDERR: Slack[Script Filter] 2021-01-05 10:48:33.897 defaults[21010:103332] The domain/default pair of (/Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/info.plist, bundleid) does not exist Cache folder: /Users/tarantula/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.yannickglt.alfred2.slack Data folder: /Users/tarantula/Library/Application Support/Alfred/Workflow Data/com.yannickglt.alfred2.slack ACTION: AlfredSlack\Controllers\ConfigController::listConfigsAction() SIMULATE: php -r '$query="{"controller":"config","action":"listConfigs","params":{"config\?":""}}";include "scripts/index.php";'; [10:48:33.973] Slack[Script Filter] Notice: Undefined offset: 0 in /Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/scripts/libs/Workflows.php on line 318

--add-clientAdd a Slack clienticon.png--remove-clientRemove a Slack clienticon.png--add-tokenAdd a Slack token in the keychain (deprecated)icon.png--add-token-unsafeAdd a Slack token in the cache instead of the keychain (deprecated)icon.png--markMark all as readicon.png--filesList the files within the teamicon.png--searchSearch both messages and filesicon.png--starsList the items starredicon.png--statusList the custom statusesicon.png--presenceSet the user presence (either active or away)icon.png--refreshRefresh the cacheicon.png [10:48:33.975] ERROR: Slack[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Notice: Undefined offset: 0 in /Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/scripts/libs/Workflows.php on line 318

--add-clientAdd a Slack clienticon.png--remove-clientRemove a Slack clienticon.png--add-tokenAdd a Slack token in the keychain (deprecated)icon.png--add-token-unsafeAdd a Slack token in the cache instead of the keychain (deprecated)icon.png--markMark all as readicon.png--filesList the files within the teamicon.png--searchSearch both messages and filesicon.png--starsList the items starredicon.png--statusList the custom statusesicon.png--presenceSet the user presence (either active or away)icon.png--refreshRefresh the cacheicon.png [10:48:34.043] Slack[Script Filter] Queuing argument '--a' [10:48:34.187] Slack[Script Filter] Script with argv '(null)' finished [10:48:34.189] STDERR: Slack[Script Filter] 2021-01-05 10:48:34.120 defaults[21017:103346] The domain/default pair of (/Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/info.plist, bundleid) does not exist Cache folder: /Users/tarantula/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.yannickglt.alfred2.slack Data folder: /Users/tarantula/Library/Application Support/Alfred/Workflow Data/com.yannickglt.alfred2.slack ACTION: AlfredSlack\Controllers\ConfigController::listConfigsAction() SIMULATE: php -r '$query="{"controller":"config","action":"listConfigs","params":{"config\?":"a"}}";include "scripts/index.php";'; [10:48:34.190] Slack[Script Filter] Notice: Undefined offset: 0 in /Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/scripts/libs/Workflows.php on line 318

--add-tokenAdd a Slack token in the keychain (deprecated)icon.png--add-clientAdd a Slack clienticon.png--add-token-unsafeAdd a Slack token in the cache instead of the keychain (deprecated)icon.png--markMark all as readicon.png--starsList the items starredicon.png--searchSearch both messages and filesicon.png--statusList the custom statusesicon.png--remove-clientRemove a Slack clienticon.png--refreshRefresh the cacheicon.png--filesList the files within the teamicon.png--presenceSet the user presence (either active or away)icon.png [10:48:34.221] ERROR: Slack[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Notice: Undefined offset: 0 in /Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/scripts/libs/Workflows.php on line 318

--add-tokenAdd a Slack token in the keychain (deprecated)icon.png--add-clientAdd a Slack clienticon.png--add-token-unsafeAdd a Slack token in the cache instead of the keychain (deprecated)icon.png--markMark all as readicon.png--starsList the items starredicon.png--searchSearch both messages and filesicon.png--statusList the custom statusesicon.png--remove-clientRemove a Slack clienticon.png--refreshRefresh the cacheicon.png--filesList the files within the teamicon.png--presenceSet the user presence (either active or away)icon.png [10:48:34.548] Slack[Script Filter] Queuing argument '--aa' [10:48:34.649] Slack[Script Filter] Script with argv '(null)' finished [10:48:34.651] STDERR: Slack[Script Filter] 2021-01-05 10:48:34.644 defaults[21024:103364] The domain/default pair of (/Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/info.plist, bundleid) does not exist Cache folder: /Users/tarantula/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.yannickglt.alfred2.slack Data folder: /Users/tarantula/Library/Application Support/Alfred/Workflow Data/com.yannickglt.alfred2.slack ACTION: AlfredSlack\Controllers\ConfigController::listConfigsAction() SIMULATE: php -r '$query="{"controller":"config","action":"listConfigs","params":{"config\?":"aa"}}";include "scripts/index.php";'; [10:48:34.652] Slack[Script Filter] Notice: Undefined offset: 0 in /Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/scripts/libs/Workflows.php on line 318 [10:48:34.662] ERROR: Slack[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Notice: Undefined offset: 0 in /Users/tarantula/Documents/Personnel_Confidentiel/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D9611DE4-762C-4F03-93F5-B5BF2F27EAB8/scripts/libs/Workflows.php on line 318

olivierguyomard avatar Jan 05 '21 09:01 olivierguyomard

up

olivierguyomard avatar Jan 12 '21 13:01 olivierguyomard

@olivierguyomard, did you find any solution for this facing the same issue

sayatul avatar Sep 13 '21 07:09 sayatul

@olivierguyomard, did you find any solution for this facing the same issue

Never been able to use this worfklow unfortunately.

AdeTheux avatar Sep 13 '21 09:09 AdeTheux

@olivierguyomard, did you find any solution for this facing the same issue

Never been able to use this worfklow unfortunately.

Any alternative you can suggest

sayatul avatar Sep 17 '21 04:09 sayatul

up

D00mch avatar Feb 07 '22 08:02 D00mch

up

jimmyn avatar Feb 28 '22 17:02 jimmyn

Did anyone find a solution here? Facing the same issue. Not able to --add-client as it is going into Google search.

akbarsha03 avatar Aug 30 '22 16:08 akbarsha03

+1

devinschumacher avatar Oct 23 '22 11:10 devinschumacher

will post on the alfred workflows site

devinschumacher avatar Oct 23 '22 11:10 devinschumacher