New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to invoke any controls or settings #44

Closed
moertel opened this Issue Jan 28, 2015 · 14 comments

Comments

2 participants
@moertel

moertel commented Jan 28, 2015

I'm running Alfred v2.6(374) and have downloaded (from packal.org) and installed the latest mini player workflow. When I start typing, I do see the controls but hitting enter does not invoke anything. I enabled Alfred debugging for the workflow but it remains completely silent. Am I missing something? I wasn't even asked for Client ID and Secret on first startup.

screen shot 2015-01-28 at 11 21 43 pm

Edit: Finally seeing something in the debug logs when invoking my assigned hotkey:

[ERROR: alfred.workflow.input.scriptfilter] Code 255: Parse error: parse error in /Users/steffi/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.5F010387-DB34-4E25-A09F-888EA9F63AA2/src/workflows.php on line 224
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row (null), Col (null): '(null)' in XML:
Parse error: parse error in /Users/steffi/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.5F010387-DB34-4E25-A09F-888EA9F63AA2/src/workflows.php on line 224
@moertel

This comment has been minimized.

Show comment
Hide comment
@moertel

moertel Jan 29, 2015

Seems I was able to solve it by replacing the arrays in line 224 and line 238 of workflows.php with array(...).

I successfully entered Client ID and Secret but am now seeing this in the debug log when invoking Authenticate to Spotify in Alfred:

[INFO: alfred.workflow.input.scriptfilter] <?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row (null), Col (null): '(null)' in XML:
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>

moertel commented Jan 29, 2015

Seems I was able to solve it by replacing the arrays in line 224 and line 238 of workflows.php with array(...).

I successfully entered Client ID and Secret but am now seeing this in the debug log when invoking Authenticate to Spotify in Alfred:

[INFO: alfred.workflow.input.scriptfilter] <?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row (null), Col (null): '(null)' in XML:
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>
@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 29, 2015

Owner

Seems I was able to solve it by replacing the arrays in line 224 and line 238 of workflows.php with array(...).

Looks like you're a developer...do you know why you have to do this?
Are you using a specific PHP version?

I have:

php --version
PHP 5.5.14 (cli) (built: Sep  9 2014 19:09:25)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
[INFO: alfred.workflow.input.scriptfilter] <?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>

Looks like <?xml version="1.0" encoding="UTF-8"?> appears twice, that must be the problem for Alfred to parse it..

But again, I have no idea how you could get these kinds of errors..

Let me know if you have anything specific in your environment related to PHP

Thanks

Owner

vdesabou commented Jan 29, 2015

Seems I was able to solve it by replacing the arrays in line 224 and line 238 of workflows.php with array(...).

Looks like you're a developer...do you know why you have to do this?
Are you using a specific PHP version?

I have:

php --version
PHP 5.5.14 (cli) (built: Sep  9 2014 19:09:25)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
[INFO: alfred.workflow.input.scriptfilter] <?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:11:&quot;Oauth_Login&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:11:"Oauth_Login";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Authenticate to Spotify</title><subtitle>This will start the authentication process</subtitle><subtitle mod="alt">Not Available</subtitle><subtitle mod="cmd">Not Available</subtitle><subtitle mod="shift">Not Available</subtitle><subtitle mod="fn">Not Available</subtitle><subtitle mod="ctrl">Not Available</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>

Looks like <?xml version="1.0" encoding="UTF-8"?> appears twice, that must be the problem for Alfred to parse it..

But again, I have no idea how you could get these kinds of errors..

Let me know if you have anything specific in your environment related to PHP

Thanks

@vdesabou vdesabou added the bug label Jan 29, 2015

@moertel

This comment has been minimized.

Show comment
Hide comment
@moertel

moertel Jan 29, 2015

Many thanks for the reply. Yep, I'm still on PHP 5.3.26 and according to the documentation that's indeed why the array failed:

As of PHP 5.4 you can also use the short array syntax, which replaces array() with [].

Good catch! I'll update to a 5.5-ish version and see if that fixes the issues. Probably worth adding this as a system requirement to the documentation.

moertel commented Jan 29, 2015

Many thanks for the reply. Yep, I'm still on PHP 5.3.26 and according to the documentation that's indeed why the array failed:

As of PHP 5.4 you can also use the short array syntax, which replaces array() with [].

Good catch! I'll update to a 5.5-ish version and see if that fixes the issues. Probably worth adding this as a system requirement to the documentation.

vdesabou added a commit that referenced this issue Jan 29, 2015

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 29, 2015

Owner

Good catch! I'll update to a 5.5-ish version and see if that fixes the issues. Probably worth adding this as a system requirement to the documentation.

I think it is easier for me to update the workflow. Can you try this version? https://cloudup.com/cAm6UMGO-ME
Let me know if you have other issues.

Owner

vdesabou commented Jan 29, 2015

Good catch! I'll update to a 5.5-ish version and see if that fixes the issues. Probably worth adding this as a system requirement to the documentation.

I think it is easier for me to update the workflow. Can you try this version? https://cloudup.com/cAm6UMGO-ME
Let me know if you have other issues.

@moertel

This comment has been minimized.

Show comment
Hide comment
@moertel

moertel Jan 29, 2015

The version you uploaded works fine, thanks. The XML parsing problem remains, however. I just installed PHP 5.5 to make sure but the XML error in the debug output looks exactly the same. Any ideas how to troubleshoot this?

moertel commented Jan 29, 2015

The version you uploaded works fine, thanks. The XML parsing problem remains, however. I just installed PHP 5.5 to make sure but the XML error in the debug output looks exactly the same. Any ideas how to troubleshoot this?

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 29, 2015

Owner

turns out I also have same debug output:

[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row (null), Col (null): 'XML declaration allowed only at the start of the document' in XML:
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="" valid="no"><arg></arg><title>Your Application Client ID is missing</title><subtitle>Get it from your Spotify Application and copy/paste it here</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:68:&quot;Open▹https://developer.spotify.com/my-applications/#!/applications&quot;;i:7;s:0:&quot;&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:68:"Open▹https://developer.spotify.com/my-applications/#!/applications";i:7;s:0:"";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Open Spotify Application page to get required information</title><subtitle>This will open the Application page with your default browser</subtitle><icon>./images/spotify.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="" valid="no"><arg></arg><title>Your Application Client ID is missing</title><subtitle>Get it from your Spotify Application and copy/paste it here</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:68:&quot;Open▹https://developer.spotify.com/my-applications/#!/applications&quot;;i:7;s:0:&quot;&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:68:"Open▹https://developer.spotify.com/my-applications/#!/applications";i:7;s:0:"";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Open Spotify Application page to get required information</title><subtitle>This will open the Application page with your default browser</subtitle><icon>./images/spotify.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>

However it does not prevent the Alfred window to open. Let me investigate this..

Owner

vdesabou commented Jan 29, 2015

turns out I also have same debug output:

[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row (null), Col (null): 'XML declaration allowed only at the start of the document' in XML:
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="" valid="no"><arg></arg><title>Your Application Client ID is missing</title><subtitle>Get it from your Spotify Application and copy/paste it here</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:68:&quot;Open▹https://developer.spotify.com/my-applications/#!/applications&quot;;i:7;s:0:&quot;&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:68:"Open▹https://developer.spotify.com/my-applications/#!/applications";i:7;s:0:"";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Open Spotify Application page to get required information</title><subtitle>This will open the Application page with your default browser</subtitle><icon>./images/spotify.png</icon><text></text></item></items>
<?xml version="1.0" encoding="UTF-8"?>
<items><item arg="" valid="no"><arg></arg><title>Your Application Client ID is missing</title><subtitle>Get it from your Spotify Application and copy/paste it here</subtitle><icon>./images/settings.png</icon><text></text></item><item arg="a:16:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:68:&quot;Open▹https://developer.spotify.com/my-applications/#!/applications&quot;;i:7;s:0:&quot;&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;}" valid="yes"><arg>a:16:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:68:"Open▹https://developer.spotify.com/my-applications/#!/applications";i:7;s:0:"";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";}</arg><title>Open Spotify Application page to get required information</title><subtitle>This will open the Application page with your default browser</subtitle><icon>./images/spotify.png</icon><text></text></item><item arg="a:22:{i:0;s:0:&quot;&quot;;i:1;s:0:&quot;&quot;;i:2;s:0:&quot;&quot;;i:3;s:0:&quot;&quot;;i:4;s:0:&quot;&quot;;i:5;s:0:&quot;&quot;;i:6;s:0:&quot;&quot;;i:7;s:14:&quot;update_library&quot;;i:8;s:0:&quot;&quot;;i:9;s:0:&quot;&quot;;i:10;s:0:&quot;&quot;;i:11;s:0:&quot;&quot;;i:12;s:0:&quot;&quot;;i:13;s:0:&quot;&quot;;i:14;s:0:&quot;&quot;;i:15;s:0:&quot;&quot;;i:16;s:0:&quot;&quot;;i:17;s:0:&quot;&quot;;i:18;i:1;i:19;i:1;i:20;s:0:&quot;&quot;;i:21;s:0:&quot;&quot;;}" valid="yes"><arg>a:22:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:14:"update_library";i:8;s:0:"";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";i:13;s:0:"";i:14;s:0:"";i:15;s:0:"";i:16;s:0:"";i:17;s:0:"";i:18;i:1;i:19;i:1;i:20;s:0:"";i:21;s:0:"";}</arg><title>Create library</title><subtitle>when done you'll receive a notification. you can check progress by invoking the workflow again</subtitle><icon>./images/update.png</icon><text></text></item></items>

However it does not prevent the Alfred window to open. Let me investigate this..

vdesabou added a commit that referenced this issue Jan 29, 2015

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 29, 2015

Owner

I fixed the problem, can you try this version https://cloudup.com/cLMfprJKuUS

If it still does not work, can you follow steps here in order to send me TGZ file.

Owner

vdesabou commented Jan 29, 2015

I fixed the problem, can you try this version https://cloudup.com/cLMfprJKuUS

If it still does not work, can you follow steps here in order to send me TGZ file.

@moertel

This comment has been minimized.

Show comment
Hide comment
@moertel

moertel Jan 29, 2015

That was fast, thanks. The error is now gone for me, too. When invoking "Authenticate to Spotify", it tries to open http://localhost:15298/ in my browser but there does not seem to be a server running on that port. No output in the logs either. Is the TGZ helpful for troubleshooting this?

moertel commented Jan 29, 2015

That was fast, thanks. The error is now gone for me, too. When invoking "Authenticate to Spotify", it tries to open http://localhost:15298/ in my browser but there does not seem to be a server running on that port. No output in the logs either. Is the TGZ helpful for troubleshooting this?

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 29, 2015

Owner

hmm..I start the server like this:-

else if ($other_action == "Oauth_Login") {
        $cache_log = $w->cache() . '/spotify_mini_player_web_server.log';
        exec("php -S localhost:15298 > \"$cache_log\" 2>&1 &");
        sleep(2);
        exec("open http://localhost:15298");
        return;
    } 

So maybe there is a problem with PHP < 5.4 ?

Yes the TGZ file would help as output of command is saved in spotify_mini_player_web_server.log

Owner

vdesabou commented Jan 29, 2015

hmm..I start the server like this:-

else if ($other_action == "Oauth_Login") {
        $cache_log = $w->cache() . '/spotify_mini_player_web_server.log';
        exec("php -S localhost:15298 > \"$cache_log\" 2>&1 &");
        sleep(2);
        exec("open http://localhost:15298");
        return;
    } 

So maybe there is a problem with PHP < 5.4 ?

Yes the TGZ file would help as output of command is saved in spotify_mini_player_web_server.log

@moertel

This comment has been minimized.

Show comment
Hide comment
@moertel

moertel Jan 29, 2015

Yes, seems to be related to my PHP version. I replaced the execution with exec("/usr/local/bin/php -S localhost:15298 > \"$cache_log\" 2>&1 &"); (where Homebrew put my PHP 5.5 installation) and now the server started up just fine. 5.3 just doesn't have it:

As of PHP 5.4.0, the CLI SAPI provides a built-in web server.

moertel commented Jan 29, 2015

Yes, seems to be related to my PHP version. I replaced the execution with exec("/usr/local/bin/php -S localhost:15298 > \"$cache_log\" 2>&1 &"); (where Homebrew put my PHP 5.5 installation) and now the server started up just fine. 5.3 just doesn't have it:

As of PHP 5.4.0, the CLI SAPI provides a built-in web server.

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 29, 2015

Owner

Ok good, so I must set PHP 5.5 as a required dependency I guess...
So you must be now creating the library?

Note that the version you're using is not Packal friendly, so you'll have a warning once per 24 hour when it will try to auto update. Just make sure to download from Packal when next version is released (likely a 6.0.1 soon)

Owner

vdesabou commented Jan 29, 2015

Ok good, so I must set PHP 5.5 as a required dependency I guess...
So you must be now creating the library?

Note that the version you're using is not Packal friendly, so you'll have a warning once per 24 hour when it will try to auto update. Just make sure to download from Packal when next version is released (likely a 6.0.1 soon)

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 30, 2015

Owner

Note that the version you're using is not Packal friendly, so you'll have a warning once per 24 hour when it will try to auto update. Just make sure to download from Packal when next version is released (likely a 6.0.1 soon)

FYI, 6.0.1 is now available, re-download it from the website and install it in order not to have Packal warning when checking for updates

Owner

vdesabou commented Jan 30, 2015

Note that the version you're using is not Packal friendly, so you'll have a warning once per 24 hour when it will try to auto update. Just make sure to download from Packal when next version is released (likely a 6.0.1 soon)

FYI, 6.0.1 is now available, re-download it from the website and install it in order not to have Packal warning when checking for updates

@vdesabou vdesabou closed this Jan 30, 2015

@vdesabou vdesabou added this to the 6.0.1 milestone Jan 30, 2015

@vdesabou vdesabou self-assigned this Jan 30, 2015

@moertel

This comment has been minimized.

Show comment
Hide comment
@moertel

moertel Jan 30, 2015

Thanks again for your help. I ended up removing 5.3 completely because even with the 6.0.1 version of your workflow and a working Spotify token I would get an error from the database that table artists didn't exist, so whatever PHP5.3's SQLite version is, it's likely incompatible as well.

However, with PHP5.5 everything's working smoothly now. I owe you a 🍺 :)

moertel commented Jan 30, 2015

Thanks again for your help. I ended up removing 5.3 completely because even with the 6.0.1 version of your workflow and a working Spotify token I would get an error from the database that table artists didn't exist, so whatever PHP5.3's SQLite version is, it's likely incompatible as well.

However, with PHP5.5 everything's working smoothly now. I owe you a 🍺 :)

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Jan 30, 2015

Owner

Thanks again for your help. I ended up removing 5.3 completely because even with the 6.0.1 version of your workflow and a working Spotify token I would get an error from the database that table artists didn't exist, so whatever PHP5.3's SQLite version is, it's likely incompatible as well

No it is not PHP version related, that was an issue with 6.0 which has been fixed in 6.0.1, but I forgot to tell you to delete two DB files before re-creating the library..That's what you got this error. See details here

Anyway, I'm glad it is working now!

However, with PHP5.5 everything's working smoothly now. I owe you a 🍺 :)

Yeah! I received your donation, thanks a lot. I'll buy a beer no later than tonight! Really appreciated ! 😄

Owner

vdesabou commented Jan 30, 2015

Thanks again for your help. I ended up removing 5.3 completely because even with the 6.0.1 version of your workflow and a working Spotify token I would get an error from the database that table artists didn't exist, so whatever PHP5.3's SQLite version is, it's likely incompatible as well

No it is not PHP version related, that was an issue with 6.0 which has been fixed in 6.0.1, but I forgot to tell you to delete two DB files before re-creating the library..That's what you got this error. See details here

Anyway, I'm glad it is working now!

However, with PHP5.5 everything's working smoothly now. I owe you a 🍺 :)

Yeah! I received your donation, thanks a lot. I'll buy a beer no later than tonight! Really appreciated ! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment