Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
So on Tuesday, my spotify stopped working, starting up with the message "Failed Loading Skin".
This problem seems to have many causes, but no solution I found worked for me.
System: Arch Linux 64bit
Kernel: 3.16.4/3.17.1 (both don't work)
DE: gnome-shell 3.14 (worked with spotify before tuesday), mutter, pulseaudio 5.0
Steps i tried:
reinstalling spotify, including deleting ~/.cache, .config and .local spotify folders and /usr/share/spotify/ : doesn't work
deleting any gnome/gtk3/gtk2 settings and trying different theme/icon sets : doesn't work
trying the programm with another user who is not root : doesn't work
extracting the zip files of spotify.../Data/resources.zip into the same folder: doesn't work
starting spotify with sudo : works perfectly at all time during my changes
the most relateable thing i found was that there was a qtwebkit update on monday, now qtwebkit has version 2.3.4
the log when starting spotify in terminal is the same as with many other users:
because of the program working perfectly fine with sudo, i don't think that it's a theme error (tried setting everything to default with the normal user), missing file or compatiblity error,and as other non-root users don't work either, i don't think it's somthing with my personal config,
but rather some permission that normal users are missing... tried finding that with strace and xtrace, but nothing was found
thank you for your time, i hope someone can help me 🙂
Solved! Go to Solution.
Clearing QT_PLUGIN_PATH is a workaround that makes spotify start for me. The other suggestions like changing Qt theme or clearing DESKTOP_SESSION and GNOME_DESKTOP_SESSION_ID did not work (I'm on KDE).
QT_PLUGIN_PATH="" spotify
@samjaved wrote:
It doesn't run without sudo because you don't have the ownership to the index.dat file.
Change the owner of the file using terminal and all should run fine. Here's a little tutorial if you are not aware how to do this:
- Open terminal
- Run "sudo -s"
- Enter password
- Run "cd /.cache/spotify/Storage/"
- Run "chown [Linux account username] index.dat"
Use your account username in step 5. You now own the file. Run Spotify and it will work.
THIS INSTRUCTIONS WORKED PERFECT FOR ME, THANK YOU VERY MUCH SAM
I had exactly the same problem.
But I think this is a simple bug.
When you run the strace on the spotify binary you can see that spotify find resource.zip in wrong place, in my case:
access("/usr/share/spotify/spotify-client/spotifyyb/Data/resources.zip", F_OK) = -1 ENOENT (No such file or directory)
The solution simply was that I've copied the whole Data directory from
/usr/share/spotify/spotify-client/Data
to the above shown
/usr/share/spotify/spotify-client/spotifyyb/
As I see in previous posts there is some similar log with strace, but with different location?! Maybe depending on the username?!
EDIT:
Meanwhile I do some research and yes, this wrong directory link related to the username:
Exactly by this way:
/usr/share/spotify/spotify-client/spotify{AB}/
Where the {AB} is the last two character of the current username!
After this, everything works fine with normal uer too!!!
Hello,
I just came accross this very same error. Running as a super-user didn't solve it. Curiously, it didn't ran under awesome but ran just fine under xfce. In the end, I just extracted /usr/share/spotify/spotify-client/Data/resources.zip into /usr/share/spotify/spotify-client/ and it works now. So maybe it helps someone.
I have similiar problem with skin.xml file. Running from root and unsetting
GNOME_DESKTOP_SESSION_ID
DESKTOP_SESSION
doesn't work. After some strace invistigate I was delete /etc/ld.so.cache
sudo rm /etc/ld.so.cache
and generate it again with ldconfig.
sudo ldconfig
Now I can run Spotify 😄
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…