[DRE-maint] Bug#596351: ohai fails with: to_json: source sequence is illegal/malformed

Christopher Huhn, GSI C.Huhn at gsi.de
Fri Sep 10 16:00:35 UTC 2010


Package: ohai
Version: 0.5.6-1
Severity: grave
Justification: renders package unusable

Simply running ohai fails on my box with the following error:

/usr/lib/ruby/1.8/json/common.rb:232:in `to_json': source sequence is illegal/malformed (JSON::GeneratorError)
        from /usr/lib/ruby/1.8/json/common.rb:232:in `pretty_generate'
        from /usr/lib/ruby/1.8/ohai/system.rb:222:in `json_pretty_print'
        from /usr/lib/ruby/1.8/ohai/application.rb:104:in `run_application'
        from /usr/lib/ruby/1.8/ohai/application.rb:75:in `run'
        from /usr/bin/ohai:47

A quick search on Google gives the hint that libjson-ruby might be too old.

Regards,
	Christopher

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages ohai depends on:
ii  libohai-ruby                  0.5.6-1    Library to collect data about your
ii  ruby                          4.5        An interpreter of object-oriented 

ohai recommends no packages.

Versions of packages ohai suggests:
pn  ohai-doc                      <none>     (no description available)

-- no debconf information






More information about the Pkg-ruby-extras-maintainers mailing list