Closed jozydapozy closed 9 years ago
I got this same issue, and I'm quite sure that the problem is not with my spotify account.
This thread: http://stackoverflow.com/questions/9300040/unable-to-login-offline-no-such-user-spotify might be relevant...
I have the same issue. I run spopd and can see that it's listed in 'pstree'. As soon as I try to access it (either through Volumio's Web UI or running a command such as 'ls' through telnet), the process ends and I get the same 'Unable to login offline' message in the log.
I looked at the SO question and the related answers but still don't have a clue as to how to get spop to work :) Any help would be appreciated
Hey, sorry to reply so late and thanks for telling me about this.
The "Unable to login offline: no such user" is actually not an error. It's a message sent by libspotify (hence the [SPTF]
tag), but it's normal: if I put an empty directory as settings_path
and cache_path
, I also have the same message when starting spop for the first time:
2015-02-05 03:11:04 [INFO] Loading plugin savestate...
2015-02-05 03:11:04 [INFO] Loading plugin mpris2...
2015-02-05 03:11:04 [SPTF] 02:11:04.616 I [offline_authorizer.cpp:297] Unable to login offline: no such user
2015-02-05 03:11:04 [INFO] Listening on ::1: 6602
2015-02-05 03:11:04 [INFO] Listening on 127.0.0.1: 6602
Yet everything works fine. So this message is not a cause for concern.
The bug is actually much, much stupider, and completely my fault. In d031e2a3, I added a mutex to make logging thread-safe. But I did it wrong, so if spop is not running in debug mode, this will cause any thread that tries to log a debug message to deadlock. Which causes lots of issues.
This will be fixed in a few minutes; if you don't want to update/recompile, please just run spop in debug mode.
I'm really sorry for this bug and for the long delay it took me to fix it. Sincere apologies!
Great, thanks! I haven't updated/recompiled but running the current version in debug mode works well.
Thanks for the fix. I'll give it a try.
When i run spopd I'm getting the error Unable to login offline: no such user. This is my full log:
I'm sure I've entered my (premium) spotify credentials correct. What could be wrong?