Package: dhelp
Version: 0.6.21+nmu5
Followup-For: Bug #768127

I don't know if it helps, but I got a similar error from the weekly cron
task.

LANG=C sudo /etc/cron.weekly/dhelp 
ArgumentError: invalid byte sequence in US-ASCII
(/usr/lib/ruby/vendor_ruby/dhelp.rb:185:in `==='
/usr/lib/ruby/vendor_ruby/dhelp.rb:185:in `block in initialize'
/usr/lib/ruby/vendor_ruby/dhelp.rb:183:in `each'
/usr/lib/ruby/vendor_ruby/dhelp.rb:183:in `initialize'
/usr/lib/ruby/vendor_ruby/dhelp.rb:309:in `new'
/usr/lib/ruby/vendor_ruby/dhelp.rb:309:in `block (2 levels) in each'
/usr/lib/ruby/vendor_ruby/dhelp.rb:306:in `each'
/usr/lib/ruby/vendor_ruby/dhelp.rb:306:in `block in each'
/usr/lib/ruby/vendor_ruby/dhelp.rb:305:in `each'
/usr/lib/ruby/vendor_ruby/dhelp.rb:305:in `each'
/usr/lib/ruby/vendor_ruby/dhelp.rb:456:in `_register_docs'
/usr/lib/ruby/vendor_ruby/dhelp.rb:387:in `rebuild'
/usr/sbin/dhelp_parse:204:in `main'
/usr/sbin/dhelp_parse:216:in `<main>')

It seems to work fine with my default locale:

LANG=es_CO.utf8 sudo /etc/cron.weekly/dhelp

I added a "puts @path" in /usr/lib/ruby/vendor_ruby/dhelp.rb:184 and it
shows this:

...
/var/lib/doc-base/documents/bogofilter-bogotune-faq
/var/lib/doc-base/documents/developers-reference
/var/lib/doc-base/documents/developers-reference
/var/lib/doc-base/documents/developers-reference
/var/lib/doc-base/documents/developers-reference
ArgumentError: invalid byte sequence in US-ASCII
(/usr/lib/ruby/vendor_ruby/dhelp.rb:186:in `==='
/usr/lib/ruby/vendor_ruby/dhelp.rb:186:in `block in initialize'
/usr/lib/ruby/vendor_ruby/dhelp.rb:183:in `each'
...

The problem rises when it parses the fourth line in
developers-reference:

Author: Adam Di Carlo, Josip Rodin, Raphaƫl Hertzog, et al

It doesn't complain when I use fr_FR.UTF-8 ! (which is not consisent :P)

Cheers,

Santiago

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_CO.utf8, LC_CTYPE=es_CO.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dhelp depends on:
ii  doc-base                      0.10.6
ii  libdata-page-perl             2.02-1
ii  libhtml-parser-perl           3.71-1+b3
ii  liblocale-gettext-perl        1.05-8+b1
ii  libtemplate-perl              2.24-1.2+b1
ii  liburi-perl                   1.64-1
ii  perl-modules                  5.20.1-3
ii  poppler-utils                 0.26.5-2
ii  pstotext                      1.9-6+b1
ii  ruby                          1:2.1.0.4
ii  ruby-bdb                      0.6.6-1+b2
ii  ruby-debian                   0.3.9
ii  ruby-gettext                  3.1.2-1
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-7.1+deb7u1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-8.1+deb7u2
ii  ruby2.1 [ruby-interpreter]    2.1.5-1
ii  swish++                       6.1.5-2.2
ii  ucf                           3.0030

Versions of packages dhelp recommends:
ii  chromium [www-browser]   38.0.2125.101-3
ii  html2text                1.3.2a-18
ii  iceweasel [www-browser]  31.2.0esr-3
ii  opera [www-browser]      12.16.1860
ii  w3m [www-browser]        0.5.3-19

Versions of packages dhelp suggests:
ii  apache2 [httpd-cgi]              2.4.10-8
ii  apache2-mpm-prefork [httpd-cgi]  2.4.10-8
pn  catdvi                           <none>
pn  info2www                         <none>
pn  man2html                         <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to