Your message dated Tue, 11 Sep 2012 07:32:45 +0000
with message-id <[email protected]>
and subject line Bug#682261: fixed in osc 0.135.1-1
has caused the Debian Bug report #682261,
regarding osc: Fix locale encoding extraction for locales with modifiers
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 [email protected]
immediately.)


-- 
682261: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682261
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: osc
Version: 0.134.1-2
Severity: normal
Tags: l10n

Using locale.getdefaultlocale() for encoding detection breaks with
locales that use modifiers, such as de_DE@euro, or ca_ES@valencia.
Use locale.getpreferredencoding() instead, which should do the right
thing.

Patch attached, fixes the issue for me, but please take it easy. :)

Jordi

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

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8@valencia, LC_CTYPE=ca_ES.UTF-8@valencia (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages osc depends on:
ii  python             2.7.3-1
ii  python-m2crypto    0.21.1-2
ii  python-rpm         4.10.0-4
ii  python-urlgrabber  3.9.1-4
ii  python2.6          2.6.8-0.2
ii  python2.7          2.7.3-1

Versions of packages osc recommends:
ii  cpio            2.11-8
ii  rpm2cpio        4.10.0-4
ii  sensible-utils  0.0.7

Versions of packages osc suggests:
ii  gnome-keyring        3.4.1-4
ii  python-gnomekeyring  2.32.0+dfsg-2+b1

-- no debconf information

-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
Author: Jordi Mallach <[email protected]>
Description: Fix locale encoding extraction
 Using locale.getdefaultlocale() for encoding detection breaks with
 locales that use modifiers, such as de_DE@euro, or ca_ES@valencia.
 Use locale.getpreferredencoding() instead, which should do the right
 thing.
Forwarded: no

Index: osc-0.134.1/osc-wrapper.py
===================================================================
--- osc-0.134.1.orig/osc-wrapper.py	2011-12-20 22:55:35.000000000 +0100
+++ osc-0.134.1/osc-wrapper.py	2012-07-20 21:26:50.862591488 +0200
@@ -11,9 +11,9 @@
 # this is a hack to make osc work as expected with utf-8 characters,
 # no matter how site.py is set...
 reload(sys)
-loc = locale.getdefaultlocale()[1]
+loc = locale.getpreferredencoding()
 if not loc:
-    loc = sys.getdefaultencoding()
+    loc = sys.getpreferredencoding()
 sys.setdefaultencoding(loc)
 del sys.setdefaultencoding
 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: osc
Source-Version: 0.135.1-1

We believe that the bug you reported is fixed in the latest version of
osc, which is due to be installed in the Debian FTP archive.

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michal Čihař <[email protected]> (supplier of updated osc 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 [email protected])


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

Format: 1.8
Date: Tue, 11 Sep 2012 09:13:59 +0200
Source: osc
Binary: osc
Architecture: source all
Version: 0.135.1-1
Distribution: unstable
Urgency: low
Maintainer: Michal Čihař <[email protected]>
Changed-By: Michal Čihař <[email protected]>
Description: 
 osc        - OpenSUSE (buildsystem) commander
Closes: 682261
Changes: 
 osc (0.135.1-1) unstable; urgency=low
 .
   * New upstream release.
     - Incorporates better encoding detection (Closes: #682261).
Checksums-Sha1: 
 02f0cbfc18972e20d49b8970e36adaf51fdbd235 1967 osc_0.135.1-1.dsc
 925a1fa9fd4470748386dee36285d48e13f80131 319057 osc_0.135.1.orig.tar.gz
 e42c9e2b008e7ebf84b32ff35de9560d997ebe45 4591 osc_0.135.1-1.debian.tar.gz
 fdccb9c6535057eeb077148a5bc213f5d7f79283 227986 osc_0.135.1-1_all.deb
Checksums-Sha256: 
 e2d3549e83597c5567eaff219e77549ff0877d69351f601892328898cebc58ac 1967 
osc_0.135.1-1.dsc
 0ebdb24c3b2b9a117f9a072031b123dbc069c0f9466504ee42f96b42703bdde5 319057 
osc_0.135.1.orig.tar.gz
 c1a8f5a4911fe05c69c3d4d72ef41db7cb4791cdfba686fab0f945943320f50e 4591 
osc_0.135.1-1.debian.tar.gz
 cef86a03e5ce6f710e787d92f098e9e565e8f5384b580d44a4ad5a649e380966 227986 
osc_0.135.1-1_all.deb
Files: 
 86ab05077152bc068258dbabf50036c4 1967 devel extra osc_0.135.1-1.dsc
 fb4e1d1749cc63bc5c2f5e1db035d73d 319057 devel extra osc_0.135.1.orig.tar.gz
 d39c995d382fbe84ab6bf53c0c219f6c 4591 devel extra osc_0.135.1-1.debian.tar.gz
 52cc8729639057466045d00a092370c3 227986 devel extra osc_0.135.1-1_all.deb

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

iQIcBAEBCAAGBQJQTuVoAAoJEGo39bHX+xdNX7EP/0AcjeBnj58i6+HctDNUYcRl
/t11n2GhZM6jaFmDBAG81ig8C9mfXyxWNqj2aG4xcBM4ToSOyloXE+728mKg5jNz
dF2G/FejoouG2zcylXwlclyQphYSFH5zlfh72MA8MrpuQHs4i6EFMohqJc0ENHQ5
RNnxTaLq09e9KAwkHknum3wr8pdZM8O9SLtW/TzZvm9etga4exAAHPRvyT0eUX4A
O9IzaiGVPB7MCn8lBSOVkxoDuuqNINIjcyGfkC5ILRu1TRcBDkIBCh0QWBi29gER
OOF7ZlN7h0bjboz2Xs5+oy0RkHLPUjfR5RgE2U4bjHN+8fcTLS5lFu9p2FnEBYE+
KmcGKK+UFE0Aid9VwxEvzZr5qdTpdxdMyqebY7BivbcJLQA4Dbw68I/jt9nnDjha
KqRJqFebQ640zrgN/oKSh4pMtKUC9y2vkyk/y8pwqzrD5JGnSKH7zbOjM+XKGu/p
gtm1BUoJu95+VxLG46P3qaMAFNlNQPf7WsoQvd7ICwuo2841gXg4zzmE7dvRoDGu
qFd3NprGI4prgbmUp7pYqHtFGeqQxX2HqEYVS0AGiyGzKW2YPvcty8fvWF9vRj9h
eIdi3lsHZMnSZZAEGaHQB8M/5XmHBkrkgHdnmqdts/AgQU4oQWRYSjHRcrmQUV89
LjzLsPYulhDzKecG4rYX
=30hB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to