Your message dated Thu, 26 Apr 2012 22:14:08 +0000
with message-id <e1snwwy-0008t3...@franck.debian.org>
and subject line Bug#670320: fixed in ruby-locale 2.0.5-4
has caused the Debian Bug report #670320,
regarding ruby-locale: fails to get available locale
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
670320: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670320
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ruby-locale
Version: 2.0.5-3
Severity: normal

Hi,

With the update from 2.0.5-2 to 2.0.5-3 I encounter some strange behaviour.
Under KDE, the programmes that use ruby-locale fails. For instance, on irb:

  irb(main):001:0> require 'locale'
  => true
  irb(main):002:0> Locale.current
  => []
  irb(main):003:0> Locale.candidates
  NoMethodError: undefined method `size' for nil:NilClass
          from /usr/lib/ruby/vendor_ruby/locale.rb:239:in `collect_candidates'
          from /usr/lib/ruby/vendor_ruby/locale.rb:222:in `candidates'
          from (irb):3
  irb(main):004:0> 

rbbr and apt-listbugs (when launching aptitude after a 'su' instead of a 'su -'
fail in the same way.

The strange thing is that it's not the case when using a different desktop
(e.g. XFCE).  There is no differences in the locale settings.

If I revert to 2.0.5-2, everything works.

The only difference I found between the two versions, except the file location,
is in language.rb:

--- ./locale.old/info/language.rb       2010-02-25 19:03:57.000000000 +0100
+++ ./locale.new/info/language.rb       2012-04-21 15:38:40.000000000 +0200
@@ -74,11 +74,7 @@
 
       # Returns the two or three code.
       def to_s
-        if two_code and two_code.size > 0
-          two_code
-        else
-          three_code
-        end
+        two_code || tree_code
       end
 
       # Returns this object is valid as ISO 639 data.

But even if I replace the file, it still fails.

I'm a little perplex where to look for the bug. If you have and idea...

Regards,

Yannick
 
PS: I left the severity to 'normal' but maybe it should be higher as when
running aptitude after a simple 'su' and having apt-listbugs installed,
aptitude can't install anything as apt-listbugs raises an error.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-locale depends on:
ii  ruby                          4.8
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-2
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.0-2

ruby-locale recommends no packages.

ruby-locale suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: ruby-locale
Source-Version: 2.0.5-4

We believe that the bug you reported is fixed in the latest version of
ruby-locale, which is due to be installed in the Debian FTP archive:

liblocale-ruby1.8_2.0.5-4_all.deb
  to main/r/ruby-locale/liblocale-ruby1.8_2.0.5-4_all.deb
liblocale-ruby1.9.1_2.0.5-4_all.deb
  to main/r/ruby-locale/liblocale-ruby1.9.1_2.0.5-4_all.deb
liblocale-ruby_2.0.5-4_all.deb
  to main/r/ruby-locale/liblocale-ruby_2.0.5-4_all.deb
ruby-locale_2.0.5-4.debian.tar.gz
  to main/r/ruby-locale/ruby-locale_2.0.5-4.debian.tar.gz
ruby-locale_2.0.5-4.dsc
  to main/r/ruby-locale/ruby-locale_2.0.5-4.dsc
ruby-locale_2.0.5-4_all.deb
  to main/r/ruby-locale/ruby-locale_2.0.5-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 670...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Borodaenko <angdr...@debian.org> (supplier of updated ruby-locale 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 26 Apr 2012 21:27:28 +0300
Source: ruby-locale
Binary: ruby-locale liblocale-ruby liblocale-ruby1.8 liblocale-ruby1.9.1
Architecture: source all
Version: 2.0.5-4
Distribution: unstable
Urgency: low
Maintainer: Debian Ruby Extras Maintainers 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Dmitry Borodaenko <angdr...@debian.org>
Description: 
 liblocale-ruby - Transitional package for ruby-locale
 liblocale-ruby1.8 - Transitional package for ruby-locale
 liblocale-ruby1.9.1 - Transitional package for ruby-locale
 ruby-locale - Pure ruby locale library
Closes: 600713 670320
Changes: 
 ruby-locale (2.0.5-4) unstable; urgency=low
 .
   * Bugfix release, fixes are for:
     - environmental variable LANGUAGE exists, but
       isn't set (Closes: #670320)
     - Locale.current= can't accept value from previuos
       call to Locale.current (Closes: #600713)
Checksums-Sha1: 
 8359271a84212cabe01846a43eb3897bb94e0072 1569 ruby-locale_2.0.5-4.dsc
 5144b6cb4f67c00ee78c9bba604db668eb50d2ab 4658 ruby-locale_2.0.5-4.debian.tar.gz
 936878580e07f0e83deaa26cae5c5828ce9b9e8e 93068 ruby-locale_2.0.5-4_all.deb
 7df9d54879ff47f3fd733efd8e827f54fdba220f 5324 liblocale-ruby_2.0.5-4_all.deb
 319f44c94bf4d4deac63a52ea41a8811abb09116 5330 liblocale-ruby1.8_2.0.5-4_all.deb
 d100624f3ea4433b3a5f60103489e61b158b1685 5332 
liblocale-ruby1.9.1_2.0.5-4_all.deb
Checksums-Sha256: 
 1c9d4bf566001b042cd990e3ceddf66c0373f0902cfc10da2ca6c8e49ed2893f 1569 
ruby-locale_2.0.5-4.dsc
 952840b4994d6c9c2e16646bf87939de3c24668c3558a496ed7b308116315635 4658 
ruby-locale_2.0.5-4.debian.tar.gz
 7f584c8ec7952710f12df95db7a73ad340f0ab498996359d3b2ac9008932453e 93068 
ruby-locale_2.0.5-4_all.deb
 9b53e8df52353977b99832dc5fd5d675f999518665c88deeef9fb49027dcde5c 5324 
liblocale-ruby_2.0.5-4_all.deb
 4905553a521adda56237c734fc557131e26cadd23394f1009fd541ab5c5c27f9 5330 
liblocale-ruby1.8_2.0.5-4_all.deb
 16333745903afb77591b2b457396075a7146001788b8a1ac2d41a6c08be578fd 5332 
liblocale-ruby1.9.1_2.0.5-4_all.deb
Files: 
 e41b8dc2c897fc56aa1152bedff55459 1569 ruby optional ruby-locale_2.0.5-4.dsc
 c3cb312bb1810313a0e90404d033d334 4658 ruby optional 
ruby-locale_2.0.5-4.debian.tar.gz
 538f82c2e66a9d14d66bea71eb78cf40 93068 ruby optional 
ruby-locale_2.0.5-4_all.deb
 b3c5234dca264aa8e3aa2f24fd5aaae0 5324 oldlibs extra 
liblocale-ruby_2.0.5-4_all.deb
 eb64585eaf47b411f52d4c7b8e973ffe 5330 oldlibs extra 
liblocale-ruby1.8_2.0.5-4_all.deb
 7d9dd0e9bdba0a9439d892b63ecb7370 5332 oldlibs extra 
liblocale-ruby1.9.1_2.0.5-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEAREIAAYFAk+ZvOMACgkQxhqJXoXuPg71kgCgzZbWe2YSZpcy9RbQHQiB+osK
nXgAoKxrrCn/FJFqx412dBaMfZXrBsSZ
=8fqo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to