a3rd / molniya

Automatically exported from code.google.com/p/molniya
GNU General Public License v2.0
0 stars 0 forks source link

borken UTF-8 string #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start molniya

What is the expected output? What do you see instead?
Expected : the programm should start

What I get :
/root/molniya-read-only/nagios.rb:70:in `parse_object': broken UTF-8 string 
(ArgumentError)
        from /root/molniya-read-only/nagios.rb:55:in `parse_status'
        from /root/molniya-read-only/nagios.rb:498:in `block in parse'
        from /usr/lib/ruby/1.9.0/pathname.rb:810:in `open'
        from /usr/lib/ruby/1.9.0/pathname.rb:810:in `open'
        from /root/molniya-read-only/nagios.rb:498:in `parse'
        from /root/molniya-read-only/nagios.rb:161:in `_refresh'
        from /root/molniya-read-only/nagios.rb:145:in `block in wait_and_refresh'
        from /usr/lib/ruby/1.9.0/monitor.rb:190:in `mon_synchronize'
        from /root/molniya-read-only/nagios.rb:139:in `wait_and_refresh'
        from /root/molniya-read-only/nagios.rb:442:in `refresh_if_needed'
        from /root/molniya-read-only/nagios.rb:166:in `contents'
        from /root/molniya-read-only/molniya.rb:445:in `status_report'
        from /root/molniya-read-only/molniya.rb:623:in `update_status_msg'
        from /root/molniya-read-only/molniya.rb:536:in `initialize'
        from /root/molniya-read-only/molniya.rb:799:in `new'
        from /root/molniya-read-only/molniya.rb:799:in `launch'
        from -e:1:in `<main>'

It happen on a "}" line of the status.dat file

What version of the product are you using? On what operating system?
trunk version r47 on Ubuntu 10.04.2 with ruby1.9

Please provide any additional information below.

Original issue reported on code.google.com by olivier....@gmail.com on 14 Feb 2011 at 8:59