Giter Club home page Giter Club logo

Comments (9)

sysless avatar sysless commented on July 27, 2024

Same here.

from alfred-slack.

tamano avatar tamano commented on July 27, 2024

Did you guys checked #5 ?
It might be help.

from alfred-slack.

abnovak avatar abnovak commented on July 27, 2024

I'm running Alfred v2.8.1 and just tried reinstalling. It did not solve my issue.

from alfred-slack.

jdno avatar jdno commented on July 27, 2024

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="{&quot;controller&quot;:&quot;config&quot;,&quot;action&quot;:&quot;saveToken&quot;,&quot;params&quot;:{&quot;token&quot;:&quot;xoxp-1234567890-1234567890-1234567890-ab1234&quot;}}" 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="{&quot;controller&quot;:&quot;config&quot;,&quot;action&quot;:&quot;saveTokenUnsafe&quot;,&quot;params&quot;:{&quot;token&quot;:&quot;xoxp-1234567890-1234567890-1234567890-ab1234&quot;}}" 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="{&quot;controller&quot;:&quot;config&quot;,&quot;action&quot;:&quot;refreshCache&quot;,&quot;params&quot;: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="{&quot;controller&quot;:&quot;config&quot;,&quot;action&quot;:&quot;refreshCache&quot;,&quot;params&quot;: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.

greenmang0 avatar greenmang0 commented on July 27, 2024

@yannickglt, same issue here.. both alfred and workflow versions are up-to-date.

from alfred-slack.

yannickglt avatar yannickglt commented on July 27, 2024

Ok guys. I'll investigate asap and let you know.

from alfred-slack.

yannickglt avatar yannickglt commented on July 27, 2024

Should be fixed with v2.1.0.

from alfred-slack.

jdno avatar jdno commented on July 27, 2024

Can confirm that it works again. 👍

from alfred-slack.

greenmang0 avatar greenmang0 commented on July 27, 2024

The fix works as expected. 👍

from alfred-slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.