spotify / apps-tutorial

A Spotify App that contains working examples of the use of Spotify Apps API
https://developer.spotify.com/technologies/apps/
627 stars 146 forks source link

Still getting error message: Not Installed - Application is not installed #33

Closed waveshell closed 10 years ago

waveshell commented 10 years ago

I'm still getting the Not installed-error despite following the procedure for the app-tutorial...

Win 7 64bit C:\Program Files (x86)\Spotify build: 0.9.6.81.gd359a796 C:\Users\Waveshell\My Documents\Spotify\api-tutorial

I have, of course, restarted Spotify several times...

Ideas?

rymdkillen commented 10 years ago

Hi!

To open apps locally you need to have a developer account. Have you enabled developer on your account?

https://developer.spotify.com/technologies/apps/#developer-account

Best regards, Tobias

waveshell commented 10 years ago

Yes, my account is enabled for development:

When following the link, https://developer.spotify.com/technologies/apps/#developer-account

I get:

"Developer Account Your account has already been enabled to use the Spotify Apps API. Happy hacking!"

I then open Spotify, type "spotify:app:api-tutorial" in the search field, and get: "Application is not installed".

It's worth noting that I have a swedish locale version of Win 7, that is to say I have one folder named: "Mina dokument" and "My Documents" I've installed the api-tutorial in both, to no avail.

Shemahmforash commented 10 years ago

Are you using an up to date version of the code in this repository? Have you checked that the BundleIdentifier in the manifest.json file in the root of your folder is 'api-tutorial'? If it is not (if I'm not mistaken, in a previous version of the code in this repository, the bundle identifier was just 'tutorial'), use it instead of api-tutorial in "spotify:app:api-tutorial".

waveshell commented 10 years ago

Checked out the code yesterday...

"manifest.json" line 5: "BundleIdentifier": "api-tutorial",

waveshell commented 10 years ago

Something wrong with my account perhaps..? I have premium.

waveshell commented 10 years ago

In the Spotify client - I tried logging out, close the client, then start the client and log in - Now I get the "Develop" menu, which I did not have before, despite having a developer account. Still no success on accessing api-tutorial though WTH!

waveshell commented 10 years ago

Finally managed to get it to work - This is what I did...

Another thing I noted - I renamed the api-tutorial folder to api-tutorial-TEST, restarted Spotify and the api-tutorial app was still found! I then closed the Spotify client. Deleted the api-tutorial-TEST folder (moved to trash can), started Spotify and the app could not be found. So I closed Spotify, reverted the deletion, open Spotify and it still sees the app, despite the incorrect folder name - This leads me to believe there is a weird caching mechanism going on...

JMPerez commented 10 years ago

@waveshell The desktop client looks up the name of the app (in this case api-tutorial) in the manifest.json files found in the Spotify folder. That means that the name of the folder doesn't need to match the name of the app for the client to find it, though it is always a good practice.

Thus, what you experienced is not a caching issue, but just how the desktop client deals with that.