[DRE-maint] Bug#726797: ruby-gettext: rxgettext fails with uninitialized constant GetText::Tools::XGetText::PO (NameError)

Francesco Poli (wintermute) invernomuto at paranoici.org
Sat Oct 19 11:03:25 UTC 2013


Package: ruby-gettext
Version: 3.0.2-1
Severity: normal

Hello,
since bug #716916 [1] was fixed a while ago, I thought I could test
rxgettext again.
I took the test case described in bug #684182 [2].

Mmmmmh, there seems to be something wrong!

  $ rxgettext --copyright-holder="Francesco Poli" \
    --package-name=myapplication --package-version=0.1 \
    --msgid-bugs-address="address at example.com" \
    myapplication.rb -o myapplication_RXGETTEXT.pot
  /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:163:in `parse': uninitialized constant GetText::Tools::XGetText::PO (NameError)
          from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:216:in `generate_pot'
          from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:150:in `run'
          from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:33:in `run'
          from /usr/bin/rxgettext:24:in `<main>'

I get the same exact error even with the simple:

  $ rxgettext myapplication.rb -o myapplication_RXGETTEXT.pot


Am I using the tool in a wrong way?

Please clarify and/or fix the issue and/or forward my report upstream!
Thanks for your time.


[1] http://bugs.debian.org/716916
[2] http://bugs.debian.org/684182


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

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby-gettext depends on:
ii  ruby                          1:1.9.3
ii  ruby-locale                   2.0.8-1
ii  ruby-text                     1.2.1-1
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-8
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.448-1

ruby-gettext recommends no packages.

ruby-gettext suggests no packages.

-- no debconf information



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