Comments (9)
Same here.
from alfred-slack.
Did you guys checked #5 ?
It might be help.
from alfred-slack.
I'm running Alfred v2.8.1 and just tried reinstalling. It did not solve my issue.
from alfred-slack.
I have the same problem, but not only with --token
but also with --refresh
. Below is the output of the debug mode (I obviously replaced my token).
slack --token xoxp-1234567890-1234567890-1234567890-ab1234
Starting debug for 'Slack'
[STDERR: alfred.workflow.input.scriptfilter] ACTION: AlfredSlack\Controllers\ConfigController::listConfigsAction()
SIMULATE: php -r '$query="{\"controller\":\"config\",\"action\":\"listConfigs\",\"params\":{\"config\":\"token\",\"param\":\"xoxp-1234567890-1234567890-1234567890-ab1234\"}}";include "scripts/index.php";';
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row (null), Col (null): 'Document is empty' in XML:
Notice: Undefined index: team_id in /Users/jandavid/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.903B2849-48A3-45DB-8E62-1DD9FC314664/scripts/helpers/service/MultiTeamSlackService.php on line 66
<?xml version="1.0"?>
<items><item uid="0" arg="{"controller":"config","action":"saveToken","params":{"token":"xoxp-1234567890-1234567890-1234567890-ab1234"}}" valid="yes" autocomplete="--token "><title>--token</title><subtitle>Set the Slack token in the keychain (recommended)</subtitle><icon>icon.png</icon></item><item uid="1" arg="{"controller":"config","action":"saveTokenUnsafe","params":{"token":"xoxp-1234567890-1234567890-1234567890-ab1234"}}" valid="yes" autocomplete="--token-unsafe "><title>--token-unsafe</title><subtitle>Set the Slack token in the cache instead of the keychain (not recommended)</subtitle><icon>icon.png</icon></item></items>
slack --refresh
[STDERR: alfred.workflow.input.scriptfilter] ACTION: AlfredSlack\Controllers\ConfigController::listConfigsAction()
SIMULATE: php -r '$query="{\"controller\":\"config\",\"action\":\"listConfigs\",\"params\":{\"config\\?\":\"refresh\"}}";include "scripts/index.php";';
[INFO: alfred.workflow.input.scriptfilter] Notice: Undefined index: team_id in /Users/jandavid/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.903B2849-48A3-45DB-8E62-1DD9FC314664/scripts/helpers/service/MultiTeamSlackService.php on line 66
<?xml version="1.0"?>
<items><item uid="0" arg="{"controller":"config","action":"refreshCache","params":null}" valid="yes" autocomplete="--refresh "><title>--refresh</title><subtitle>Refresh the cache</subtitle><icon>icon.png</icon></item></items>
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row (null), Col (null): 'Document is empty' in XML:
Notice: Undefined index: team_id in /Users/jandavid/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.903B2849-48A3-45DB-8E62-1DD9FC314664/scripts/helpers/service/MultiTeamSlackService.php on line 66
<?xml version="1.0"?>
<items><item uid="0" arg="{"controller":"config","action":"refreshCache","params":null}" valid="yes" autocomplete="--refresh "><title>--refresh</title><subtitle>Refresh the cache</subtitle><icon>icon.png</icon></item></items>
Both complain about some team_id
not being defined.
from alfred-slack.
@yannickglt, same issue here.. both alfred and workflow versions are up-to-date.
from alfred-slack.
Ok guys. I'll investigate asap and let you know.
from alfred-slack.
Should be fixed with v2.1.0.
from alfred-slack.
Can confirm that it works again. 👍
from alfred-slack.
The fix works as expected. 👍
from alfred-slack.
Related Issues (20)
- How do I remove a workspace from the workflow? HOT 2
- Feature request: send files selected in finder and send them to channel/user HOT 1
- clarify permissions? HOT 2
- Cannot Add ClientID HOT 2
- Behaviour of "slack --status " HOT 2
- Build instructions HOT 1
- Error thrown when following setup instructions 'Missing client secret. Please check the generated unique code.' HOT 3
- Error when attempting to refresh after adding a client HOT 19
- Navigating to user throws "Undefined index..." error HOT 11
- Incomplete list of channels, users and no groups returning in workflow HOT 1
- Not seeing private channels HOT 2
- Cannot add client HOT 9
- Search for Direct Messages doesn't work
- Integration not working HOT 11
- Workflow error: "Missing client credentials" HOT 4
- Undefined index: team_id HOT 3
- Unable to run task HOT 4
- How to setup an internal network auth
- Cannot add client HOT 15
- Sill maintained? HOT 1
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-slack.