Open speedmax opened 15 years ago
rake aborted! undefined method -' for "\xD6":String /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/chardistribution.rb:180:inget_order' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/chardistribution.rb:53:in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:71:inblock in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:56:in each' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:56:infeed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:66:in block in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:63:ineach' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:63:in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:124:inblock in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:123:in each' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:123:infeed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet.rb:63:in detect' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:29:indetect_encoding' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:38:in remote_xml' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:16:indocument' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/betfair.rb:35:in filtered_events' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/betfair.rb:14:ineach_event' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:109:in block (5 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:101:ineach' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:101:in block (4 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:96:ineach' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:96:in block (3 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:93:ineach' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:93:in block (2 levels) in <top (required)>' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:613:incall' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:613:in block in execute' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:608:ineach' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:608:in execute' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:574:inblock in invoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/monitor.rb:190:in mon_synchronize' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:567:ininvoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:584:in block in invoke_prerequisites' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:581:ineach' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:581:in invoke_prerequisites' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:573:inblock in invoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/monitor.rb:190:in mon_synchronize' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:567:ininvoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:560:in invoke' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2012:ininvoke_task' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:in block (2 levels) in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:ineach' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:in block in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2029:instandard_exception_handling' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1984:in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1963:inblock in run' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2029:in standard_exception_handling' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1960:inrun' /opt/ruby1.9/bin/rake:31:in `'
-' for "\xD6":String /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/chardistribution.rb:180:in
feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:71:in
each' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:56:in
block in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:63:in
feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:124:in
each' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:123:in
detect' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:29:in
remote_xml' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:16:in
filtered_events' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/betfair.rb:14:in
block (5 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:101:in
block (4 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:96:in
block (3 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:93:in
block (2 levels) in <top (required)>' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:613:in
block in execute' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:608:in
execute' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:574:in
mon_synchronize' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:567:in
block in invoke_prerequisites' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:581:in
invoke_prerequisites' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:573:in
invoke' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2012:in
block (2 levels) in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:in
block in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2029:in
top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1963:in
standard_exception_handling' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1960:in
You have used string index ruby 1.8 'abc'[0] => 97 ruby 1.9 'abc'[0] => 'a'
If you replace it with followong in several places in chardistribution.rb gem will be 100% ruby 1.9 comp 'abc'[0].ord
rake aborted! undefined method'
-' for "\xD6":String /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/chardistribution.rb:180:in
get_order' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/chardistribution.rb:53:infeed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:71:in
block in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:56:ineach' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/mbcharsetprober.rb:56:in
feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:66:inblock in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:63:in
each' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/charsetgroupprober.rb:63:infeed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:124:in
block in feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:123:ineach' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet/universaldetector.rb:123:in
feed' /home/q3amaster/workspace/oddsense/vendor/plugins/rchardet/lib/rchardet.rb:63:indetect' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:29:in
detect_encoding' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:38:inremote_xml' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/base.rb:16:in
document' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/betfair.rb:35:infiltered_events' /home/q3amaster/workspace/oddsense/vendor/plugins/oddsnap/lib/oddsnap/betfair.rb:14:in
each_event' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:109:inblock (5 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:101:in
each' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:101:inblock (4 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:96:in
each' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:96:inblock (3 levels) in <top (required)>' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:93:in
each' /home/q3amaster/workspace/oddsense/lib/tasks/import.rake:93:inblock (2 levels) in <top (required)>' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:613:in
call' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:613:inblock in execute' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:608:in
each' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:608:inexecute' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:574:in
block in invoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/monitor.rb:190:inmon_synchronize' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:567:in
invoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:584:inblock in invoke_prerequisites' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:581:in
each' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:581:ininvoke_prerequisites' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:573:in
block in invoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/monitor.rb:190:inmon_synchronize' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:567:in
invoke_with_call_chain' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:560:ininvoke' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2012:in
invoke_task' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:inblock (2 levels) in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:in
each' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1990:inblock in top_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2029:in
standard_exception_handling' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1984:intop_level' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1963:in
block in run' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:2029:instandard_exception_handling' /opt/ruby1.9/lib/ruby/1.9.1/rake.rb:1960:in
run' /opt/ruby1.9/bin/rake:31:in `