Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError Exception: can't convert String into Integer #1

Open
sairamc opened this issue Nov 10, 2012 · 0 comments
Open

TypeError Exception: can't convert String into Integer #1

sairamc opened this issue Nov 10, 2012 · 0 comments

Comments

@sairamc
Copy link

sairamc commented Nov 10, 2012

Calling client.getPlaylists is resulting in TypeError Exception: can't convert String into Integer error.

If I use rdio-simple library directly, I was able to get the playlist but when I use the rdio-ruby I'm getting this exception. Here is the full stacktrace

/Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/base.rb:92:in []' /Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/base.rb:92:inblock in load_from_api_response'
/Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/base.rb:91:in each' /Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/base.rb:91:inload_from_api_response'
/Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/base.rb:66:in initialize' /Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/playlists_result.rb:19:innew'
/Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/playlists_result.rb:19:in load_from_api_response' /Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/types/base.rb:66:ininitialize'
/Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/client.rb:118:in new' /Users/schilappagari/.rvm/gems/ruby-1.9.3-p125/bundler/gems/rdio-ruby-f95ba6285ef0/lib/rdio/client.rb:118:inblock (2 levels) in class:Client'
app/controllers/jukebox_rooms_controller.rb:79:in `show'

Any ideas?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant