tpope / pickler

PIvotal traCKer Liaison to cucumbER
MIT License
299 stars 23 forks source link

when executing "pickler search": error in ruby 1.9.2-head #8

Closed modellurgist closed 14 years ago

modellurgist commented 14 years ago

Sorry for just posting error output and running...

$ pickler search /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/hash/conversions.rb:96:in typecast_xml_value': can't typecast "35" (RuntimeError) from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/hash/conversions.rb:118:inblock in typecast_xml_value' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/hash/conversions.rb:117:in each' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/hash/conversions.rb:117:ininject' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/hash/conversions.rb:117:in typecast_xml_value' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/activesupport-3.0.0.rc/lib/active_support/core_ext/hash/conversions.rb:78:infrom_xml' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler/tracker.rb:54:in request_xml' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler/tracker.rb:62:inget_xml' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler/tracker/project.rb:26:in stories' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler/runner.rb:276:inblock (2 levels) in class:Runner' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler/runner.rb:105:in run' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler/runner.rb:494:inrun' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/lib/pickler.rb:22:in run' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/gems/pickler-0.1.5/bin/pickler:7:in<top (required)>' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/bin/pickler:19:in load' from /Users/tukaiz/.rvm/gems/ruby-1.9.2-head@anthill/bin/pickler:19:in

'

tpope commented 14 years ago

I won't have a chance to reproduce this until tonight but I suspect the issue here is not Ruby 1.9.2 but in fact ActiveSupport 3.0 RC. I switched from ActiveSupport to Crack to sidestep this issue but haven't cut a release yet. Can you try running rake gem in the latest, installing the resulting gem, and seeing if the issue goes away? Thanks!

modellurgist commented 14 years ago

When I cloned my project to a new machine and did bundle install, then it picked up crack and your latest version. 'pickler search' works now. Thanks for the help!