--
You received this message because you are subscribed to the Google Groups "Spotify for Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-spotify...@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-spotify.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/f9e3c4e0-80ab-49cb-98bf-8a4afe86a339%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Segfaults are really hard to diagnose, but there's a hint in your output: App 16045 stderr: :session_create — something is off when you create your session.I would guess that how you configure your session is the problem.
— Kim Burgestrand
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/1e9548b2-4bf6-490d-ac03-c29c96fcb30b%40googlegroups.com.
Heroku has a read-only filesystem. If you use the default configuration from the example support, the cache directories are probably set to a directory that cannot be created.
I've run the spotify gem on Heroku before, so I know it works in that environment.
— Kim Burgestrand
--
You received this message because you are subscribed to the Google Groups "Spotify for Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-spotify...@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-spotify.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/5d36ba64-327a-4e4f-95e4-1634a5118ac9%40googlegroups.com.
oh, i see. because you were talking about heroku, i thought you had something working in your local environment (further than me) but was trying to get it working in a production environment.-will
--
You received this message because you are subscribed to the Google Groups "Spotify for Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-spotify...@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-spotify.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/3385a43a-9500-44b6-9b39-0017971f6f92%40googlegroups.com.
Not sure why I thought you used Heroku. Sorry about that.I've had instant segfaults on session creation before, and reasons for that have been:- invalid session configuration (most of the time) — application key being nil, some callback being set to nil, or something similar- invalid spotify cache — sometimes forcefully killing the process will leave the cache directory in a bad state, and it needs to be removed- running code on windows — most likely not your issue, since you're using ubuntu- running the wrong distribution of libspotifyHave you been able to run any of the example code (https://github.com/Burgestrand/spotify/tree/master/examples) on your production machine? I'd start there, to see if that works first.
— Kim Burgestrand
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/60447763-981a-4b2c-92e3-e634d4b1214d%40googlegroups.com.
Oh, by the way, it sounds like you could also use https://github.com/liesen/spotify-api-server in case the spotify bindings in Ruby does not work out for you.
— Kim Burgestrand
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/5db6153a-890f-41e2-8a4b-75b1542c746c%40googlegroups.com.
I don't think I can help you much more like this I'm afraid.Could you make a minimal example that works locally, segfaults on DO, and put it up on GitHub? That way I can try it for myself.Keep in mind that your Spotify username, password, and application key should remain secret. Do not give them to me, and do not put them on GitHub.
— Kim Burgestrand
Sweet! I have not been able to get back to this yet (probably a good thing).
Thanks for the heads up!
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/89155355-3a79-4b5d-a15f-34c5eb20cb95%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/CAN2b3jX7GLDFGA3ovJuWbLTd4-hMdUSPEGb%2B09dmoiQZTrRv8g%40mail.gmail.com.
Awesome! I have been waiting for this web API for like 4 years! :)
— Kim Burgestrand
On Wed, Jun 18, 2014 at 12:35 AM, Spotify for Ruby on behalf of Will Carter <ruby-s...@googlegroups.com> wrote:
Sweet! I have not been able to get back to this yet (probably a good thing).
Thanks for the heads up!
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/ba52f5c2-9509-4e60-9c33-a95880ba7968%40googlegroups.com.