On Friday, 19 April 2013 at 11:35, Christoffer Nicklasson via Hallon wrote:
The code i modified looks like this
def call(env)
rp = env["PATH_INFO"]
puts env["HTTP_USER_AGENT"]
puts "Addsong"
puts "rp: #{rp}"
user, uri = rp.match(/^\/(\w*)\/(.*)/)[1..2]
puts "User: " + user
if uri.include?(':album')
track_names = []
puts "Album: " + uri
album = Hallon::Album.new(uri)
puts "Album: " + album
album.browse.tracks.each do |track|
I have no Ruby skills.
changed to
...
album = Hallon::Album.new(uri)
puts "Album: " + album
album.browse.load
binding.pry
...
Now my log only shows this and then nothing more
[LOG] 10:35:35.649 I [offline-mgr:2084] Storage has been cleaned
Hi,
it should give me the pry console. but it seems its stops responding after .load
or i am i using .load in the wrong way ?
Something happened somewhere after 1.3 that will make Hallon deadlock fairly frequently.I have not yet investigated exactly what it would be, or exactly which version of FFI thatis causing the issue.— Kim Burgestrand
--
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/uxq7CST-Gks/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.
i understand :)well, if you get any time to do it, check out spotiserv: https://github.com/SebastianThorn/Spotiservhave a nice weekend Kim!