Is anyone else suddenly having problems?

1 view
Skip to first unread message

John Halloran

unread,
Feb 28, 2013, 4:03:52 PM2/28/13
to ruby-...@googlegroups.com
I've had some code that has been running reasonably well, and then suddenly today, whenever I call 'load' on a Hallon playlist, it hangs, seemingly forever (i.e. well into the minutes).

At any rate, as I've not made (intentional) changes to my Hallon code in connection with this happening, I was wondering if anyone else is having this problem.

Also, if anyone has had this type of issue in the past, fedback would be welcome.

Thanks all!

Kim Burgestrand

unread,
Feb 28, 2013, 4:17:15 PM2/28/13
to Hallon on behalf of John Halloran
I know of at least two possible reasons:

1. Spotify have server hickups — either publicly visible ones, or simply temporary internal
issues. They don’t always announce these issues, but some times they do: https://twitter.com/SpotifyStatus
Keep in mind this could affect your libspotify applications, but not your desktop or mobile
clients. If it works on one platform does not mean it works on another.

2. Your local cache has been corrupt. libspotify keeps a cache directory, and sometimes
this directory can collect garbage that confuses libspotify — this could be the effect of libspotify
crashing, or simply running long enough. libspotify is not the most stable piece of software.
Remove the cache directory to resolve this particular issue.

With this said, like I’ve mentioned earlier, libspotify does not guarantee that objects load in
a reasonable time. Sometimes things simply don’t load. Unfortunately it’s kind of common,
which is why Hallon have #load to begin with (otherwise I’d just have made it automatic —
today I’d rather just do some other approach entirely if I were to rewrite it!).

— Kim

John Halloran

unread,
Feb 28, 2013, 4:56:54 PM2/28/13
to Hallon on behalf of Kim Burgestrand
From the status, it looks that there were login issues ~6 hours ago, but they are reporting that they've been resolved. However, I have been getting these hangs for a bit now, finally having to kill the process (a few times at this point). 

The app should do a decent job of clearing the cache, as I set the cache location using the pid of the app's process. However, for good measure, I also just removed all of the directories in the cache location.

Then, I managed to get a segmentation fault at login....

Now I'm back to having it hang indefinitely. My guess would be that the login issues are not entirely resolved....

Thanks for the speedy response!


--
You received this message because you are subscribed to the Hallon ruby gem mailing list.

- To view this group online, visit https://groups.google.com/d/forum/ruby-hallon
- To post to this group, send email to ruby-...@googlegroups.com
- To unsubscribe from this group, send email to ruby-hallon...@googlegroups.com
---
You received this message because you are subscribed to a topic in the Google Groups "Hallon" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ruby-hallon/HCxyRZYPkpU/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to ruby-hallon...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Aurélien Malisart

unread,
Mar 6, 2013, 4:44:03 PM3/6/13
to ruby-...@googlegroups.com
Hello,

I hadn't seen this thread, but I had similar issues on Feb 27/28.

Aurels
Reply all
Reply to author
Forward
0 new messages