Cannot add client
Opened this issue · 9 comments
I cannot use : Slack --add-client
[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
<title>--add-client</title>Add a Slack clienticon.png<title>--remove-client</title>Remove a Slack clienticon.png<title>--add-token</title>Add a Slack token in the keychain (deprecated)icon.png<title>--add-token-unsafe</title>Add a Slack token in the cache instead of the keychain (deprecated)icon.png<title>--mark</title>Mark all as readicon.png<title>--files</title>List the files within the teamicon.png<title>--search</title>Search both messages and filesicon.png<title>--stars</title>List the items starredicon.png<title>--status</title>List the custom statusesicon.png<title>--presence</title>Set the user presence (either active or away)icon.png<title>--refresh</title>Refresh 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
<title>--add-client</title>Add a Slack clienticon.png<title>--remove-client</title>Remove a Slack clienticon.png<title>--add-token</title>Add a Slack token in the keychain (deprecated)icon.png<title>--add-token-unsafe</title>Add a Slack token in the cache instead of the keychain (deprecated)icon.png<title>--mark</title>Mark all as readicon.png<title>--files</title>List the files within the teamicon.png<title>--search</title>Search both messages and filesicon.png<title>--stars</title>List the items starredicon.png<title>--status</title>List the custom statusesicon.png<title>--presence</title>Set the user presence (either active or away)icon.png<title>--refresh</title>Refresh 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
<title>--add-token</title>Add a Slack token in the keychain (deprecated)icon.png<title>--add-client</title>Add a Slack clienticon.png<title>--add-token-unsafe</title>Add a Slack token in the cache instead of the keychain (deprecated)icon.png<title>--mark</title>Mark all as readicon.png<title>--stars</title>List the items starredicon.png<title>--search</title>Search both messages and filesicon.png<title>--status</title>List the custom statusesicon.png<title>--remove-client</title>Remove a Slack clienticon.png<title>--refresh</title>Refresh the cacheicon.png<title>--files</title>List the files within the teamicon.png<title>--presence</title>Set 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
<title>--add-token</title>Add a Slack token in the keychain (deprecated)icon.png<title>--add-client</title>Add a Slack clienticon.png<title>--add-token-unsafe</title>Add a Slack token in the cache instead of the keychain (deprecated)icon.png<title>--mark</title>Mark all as readicon.png<title>--stars</title>List the items starredicon.png<title>--search</title>Search both messages and filesicon.png<title>--status</title>List the custom statusesicon.png<title>--remove-client</title>Remove a Slack clienticon.png<title>--refresh</title>Refresh the cacheicon.png<title>--files</title>List the files within the teamicon.png<title>--presence</title>Set 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
up
@olivierguyomard, did you find any solution for this facing the same issue
@olivierguyomard, did you find any solution for this facing the same issue
Never been able to use this worfklow unfortunately.
@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
up
up
Did anyone find a solution here? Facing the same issue. Not able to --add-client as it is going into Google search.
+1
will post on the alfred workflows site