Skip to content
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

Error when setting country during installation #82

Closed
dillonplunkett opened this issue Dec 18, 2016 · 4 comments · Fixed by #84
Closed

Error when setting country during installation #82

dillonplunkett opened this issue Dec 18, 2016 · 4 comments · Fixed by #84

Comments

@dillonplunkett
Copy link

dillonplunkett commented Dec 18, 2016

When I set a country during initial setup, the controller closes and I see the following error in the debugger:

[2016-12-17 22:40:13][ERROR: action.script] 40:41: syntax error: Expected end of line but found “"”. (-2741)

It also triggers an alert that "Alfred 3 is running, so Alfred 2 can't be started".

No other difficulties with installation, though.

@eduwass
Copy link

eduwass commented Mar 10, 2017

This is also happening to me:

Starting debug for 'Spotifious'

[2017-03-10 01:58:48][ERROR: action.script] 40:41: syntax error: Expected end of line but found “"”. (-2741)
[2017-03-10 01:58:56][input.scriptfilter] <?xml version='1.0'?>
<items>

	<item uid='1489107536-Welcome to Spotifious!' valid='no' autocomplete=''>
		<arg>null</arg>
		<title>Welcome to Spotifious!</title>
		<subtitle>You need to configure a few more things before you can use Spotifious.</subtitle>
		<icon>include/images/configuration.png</icon>
	</item>


	<item uid='1489107536-1. Set your country code' valid='no' autocomplete='Country Code ⟩'>
		<arg>null</arg>
		<title>1. Set your country code</title>
		<subtitle>Choosing the correct country code makes sure you can play songs you select.</subtitle>
		<icon>include/images/checked.png</icon>
	</item>


	<item uid='1489107536-2. Create a Spotify application' valid='yes' autocomplete=''>
		<arg>appsetup⟩</arg>
		<title>2. Create a Spotify application</title>
		<subtitle>Set up a Spotify application so you can search playlists!</subtitle>
		<icon>include/images/unchecked.png</icon>
	</item>


	<item uid='1489107536-3. Link your Spotify application' valid='no' autocomplete=''>
		<arg>applink⟩</arg>
		<title>3. Link your Spotify application</title>
		<subtitle>Connect your Spotify application to Spotifious to search your playlists.</subtitle>
		<icon>include/images/disabled.png</icon>
	</item>


	<item uid='1489107536-You can access settings easily.' valid='no' autocomplete=''>
		<arg>null</arg>
		<title>You can access settings easily.</title>
		<subtitle>Type `s` from the main menu.</subtitle>
		<icon>include/images/info.png</icon>
	</item>
</items>
[2017-03-10 01:59:05][input.scriptfilter] <?xml version='1.0'?>
<items>

	<item uid='1489107545-Spain' valid='yes' autocomplete='Country Code ⟩Spain'>
		<arg>country⟩ES</arg>
		<title>Spain</title>
		<subtitle>Set your country to “ES.”</subtitle>
		<icon>include/images/dash.png</icon>
	</item>
</items>
[2017-03-10 01:59:06][input.scriptfilter] Processing output of 'action.revealfile' with arg 'country⟩ES'
[2017-03-10 01:59:06][input.scriptfilter] Processing output of 'action.script' with arg 'country⟩ES'
[2017-03-10 01:59:06][ERROR: action.script] 40:41: syntax error: Expected end of line but found “"”. (-2741)

@citelao
Copy link
Owner

citelao commented Mar 12, 2017

Hey! I made some changes that should fix the problem.

You can test them with the dev release, available here:

https://github.com/citelao/Spotify-for-Alfred/raw/dev/dist/Spotifious.alfredworkflow

Can you give it a shot for me?

@dillonplunkett
Copy link
Author

Syntax Error and the Alfred 2/3 both gone!

@citelao
Copy link
Owner

citelao commented Mar 13, 2017

@dillonplunkett @eduwass You may want to update to the latest master build! https://github.com/citelao/Spotify-for-Alfred/releases/tag/v0.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants