Your message dated Mon, 05 Apr 2010 11:41:42 +0000
with message-id <[email protected]>
and subject line Bug#502720: fixed in pysycache 3.1-3
has caused the Debian Bug report #502720,
regarding pysycache: Pysycache cannot get a valid encoding if not launched from
within a console
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.)
--
502720: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502720
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pysycache
Version: 3.1-2
Severity: important
Tags: patch
*** Please type your report below this line ***
On all the systems on which I installed pysycache, the menu entry to
launch pysycache failed to work. Surprisingly when you type the pysycache
command in a console, everything is OK. After investigations, it
appears that pysycache gets 'None' as encoding value when it isn't started
from within a console. This is because it tries to get it using
'sys.stdout.encoding' which supposes we are in a console. A simple test
to show that consists in making a session which only starts pysycache: you
get a
xsession error message telling None is not an acceptable encoding!
Indeed pysycache should not be so much interested in the console
encoding but rather in the global system encoding. Also, as a workaround
(I don't know whether this is really the best solution), I propose pysycache
uses the file system encoding whenever it fails to get the console one.
AFAIK, on Linux this matches the global encoding.
The corresponding patch is the following:
--- /usr/share/games/pysycache/pysycache.py 2008-10-17
23:35:49.000000000 +0200
+++ /usr/share/games/pysycache/pysycache.py.orig 2008-10-17
23:35:43.000000000 +0200
@@ -64,10 +64,6 @@
#----------------- recuperation de l'encodage des console
------------------
const.GConsoleLocale = sys.stdout.encoding
- if const.GConsoleLocale is None:
- # Python didn't find any encoding: guess it or fix it!
- #const.GConsoleLocale = 'UTF-8'
- const.GConsoleLocale = sys.getfilesystemencoding()
datas.DebugMessage("")
datas.DebugMessage("Console encoding : %s " %
const.GConsoleLocale)
Regards,
JM. Philippe
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
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 pysycache depends on:
ii pysycache-buttons-ice 3.1-2 Ice images for buttons
activities
ii pysycache-click-dinosau 3.1-2 Dinosaurs images for click
activit
ii pysycache-dblclick-appl 3.1-2 Apple and pear images for
double c
ii pysycache-i18n 3.1-2 Translations for PySyCache
ii pysycache-images 3.1-2 Images for PySyCache
ii pysycache-move-animals 3.1-2 Animals images for mouse move
acti
ii pysycache-puzzle-cartoo 3.1-2 Cartoons images for puzzle
activit
ii pysycache-sounds 3.1-2 A collection of sounds to be
used
ii python 2.5.2-2 An interactive high-level
object-o
ii python-pygame 1.7.1release-4.2 SDL bindings for games
development
ii python-support 0.8.4 automated rebuilding support
for P
ii ttf-dejavu 2.25-3 Metapackage to pull in
ttf-dejavu-
pysycache recommends no packages.
pysycache suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: pysycache
Source-Version: 3.1-3
We believe that the bug you reported is fixed in the latest version of
pysycache, which is due to be installed in the Debian FTP archive:
pysycache-buttons-beerabbit_3.1-3_all.deb
to main/p/pysycache/pysycache-buttons-beerabbit_3.1-3_all.deb
pysycache-buttons-crapaud_3.1-3_all.deb
to main/p/pysycache/pysycache-buttons-crapaud_3.1-3_all.deb
pysycache-buttons-ice_3.1-3_all.deb
to main/p/pysycache/pysycache-buttons-ice_3.1-3_all.deb
pysycache-buttons-wolf_3.1-3_all.deb
to main/p/pysycache/pysycache-buttons-wolf_3.1-3_all.deb
pysycache-click-dinosaurs_3.1-3_all.deb
to main/p/pysycache/pysycache-click-dinosaurs_3.1-3_all.deb
pysycache-click-sea_3.1-3_all.deb
to main/p/pysycache/pysycache-click-sea_3.1-3_all.deb
pysycache-dblclick-appleandpear_3.1-3_all.deb
to main/p/pysycache/pysycache-dblclick-appleandpear_3.1-3_all.deb
pysycache-dblclick-butterfly_3.1-3_all.deb
to main/p/pysycache/pysycache-dblclick-butterfly_3.1-3_all.deb
pysycache-i18n_3.1-3_all.deb
to main/p/pysycache/pysycache-i18n_3.1-3_all.deb
pysycache-images_3.1-3_all.deb
to main/p/pysycache/pysycache-images_3.1-3_all.deb
pysycache-move-animals_3.1-3_all.deb
to main/p/pysycache/pysycache-move-animals_3.1-3_all.deb
pysycache-move-food_3.1-3_all.deb
to main/p/pysycache/pysycache-move-food_3.1-3_all.deb
pysycache-move-plants_3.1-3_all.deb
to main/p/pysycache/pysycache-move-plants_3.1-3_all.deb
pysycache-move-sky_3.1-3_all.deb
to main/p/pysycache/pysycache-move-sky_3.1-3_all.deb
pysycache-move-sports_3.1-3_all.deb
to main/p/pysycache/pysycache-move-sports_3.1-3_all.deb
pysycache-puzzle-cartoons_3.1-3_all.deb
to main/p/pysycache/pysycache-puzzle-cartoons_3.1-3_all.deb
pysycache-puzzle-photos_3.1-3_all.deb
to main/p/pysycache/pysycache-puzzle-photos_3.1-3_all.deb
pysycache-sounds_3.1-3_all.deb
to main/p/pysycache/pysycache-sounds_3.1-3_all.deb
pysycache_3.1-3.debian.tar.gz
to main/p/pysycache/pysycache_3.1-3.debian.tar.gz
pysycache_3.1-3.dsc
to main/p/pysycache/pysycache_3.1-3.dsc
pysycache_3.1-3_all.deb
to main/p/pysycache/pysycache_3.1-3_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
José L. Redrejo Rodríguez <[email protected]> (supplier of updated pysycache
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: SHA1
Format: 1.8
Date: Mon, 05 Apr 2010 10:44:50 +0200
Source: pysycache
Binary: pysycache pysycache-buttons-beerabbit pysycache-buttons-crapaud
pysycache-buttons-ice pysycache-buttons-wolf pysycache-click-dinosaurs
pysycache-click-sea pysycache-dblclick-appleandpear
pysycache-dblclick-butterfly pysycache-i18n pysycache-images
pysycache-move-animals pysycache-move-food pysycache-move-plants
pysycache-move-sky pysycache-move-sports pysycache-puzzle-cartoons
pysycache-puzzle-photos pysycache-sounds
Architecture: source all
Version: 3.1-3
Distribution: unstable
Urgency: low
Maintainer: José L. Redrejo Rodríguez <[email protected]>
Changed-By: José L. Redrejo Rodríguez <[email protected]>
Description:
pysycache - Educational game to teach children to use the mouse
pysycache-buttons-beerabbit - Bee-rabbit images for buttons activities for
PySyCache
pysycache-buttons-crapaud - Crapaud images for buttons activities for PySyCache
pysycache-buttons-ice - Ice images for buttons activities for PySyCache
pysycache-buttons-wolf - Wolf images for buttons activities for PySyCache
pysycache-click-dinosaurs - Dinosaurs images for click activities for PySyCache
pysycache-click-sea - Sea images for click activities for PySyCache
pysycache-dblclick-appleandpear - Apple and pear images for double click
activities for PySyCache
pysycache-dblclick-butterfly - Butterfly images for double click activities
for PySyCache
pysycache-i18n - Translations for PySyCache
pysycache-images - Images for PySyCache
pysycache-move-animals - Animals images for mouse move activities for PySyCache
pysycache-move-food - Food images for mouse move activities for PySyCache
pysycache-move-plants - Plants images for mouse move activities for PySyCache
pysycache-move-sky - Sky images for mouse move activities for PySyCache
pysycache-move-sports - Sports images for mouse move activities for PySyCache
pysycache-puzzle-cartoons - Cartoons images for puzzle activities for PySyCache
pysycache-puzzle-photos - Photos for puzzle activities for PySyCache
pysycache-sounds - A collection of sounds to be used with PySyCache
Closes: 502720 510217 553636
Changes:
pysycache (3.1-3) unstable; urgency=low
.
* Switch to dpkg-source 3.0 (quilt) format
* debian/control:
- bumped standards version to 3.8.4.
- removed python-dev build-dependency
- added quilt build dependency
* debian/rules: modified to use quilt
* debian/patches/console_encoding.patch (Closes: #502720, #553636)
* debian/postinst: added setgid to pysycache script (Closes: #510217)
Checksums-Sha1:
c99d8d171dbb51c3d634e01d5c79332de826393a 1499 pysycache_3.1-3.dsc
473610091aaef6901ac130144d243db72a0d6211 10393 pysycache_3.1-3.debian.tar.gz
302264907a5b3c6193eaf8680c4a1eead5402904 3294400 pysycache_3.1-3_all.deb
02bbf6444bfa6872746d876c106f5ea1dedc4198 982428
pysycache-buttons-beerabbit_3.1-3_all.deb
6fc5c622018188211b89fb3f17a01e6f454a0569 505754
pysycache-buttons-crapaud_3.1-3_all.deb
a0a2d222670a7be4fa1193c33ee8f490b29bdb80 293634
pysycache-buttons-ice_3.1-3_all.deb
3b0168cb0ca1192f3fe19b604c9746056fbda38a 511526
pysycache-buttons-wolf_3.1-3_all.deb
8636076d15147a3543197f7bdb8417a56c33db3b 1534840
pysycache-click-dinosaurs_3.1-3_all.deb
70002a00f25e28c82d4fa8087885b5c4000194e0 1966626
pysycache-click-sea_3.1-3_all.deb
8b07ccdb99f678f8d7c320930836a3bec6efde75 533058
pysycache-dblclick-appleandpear_3.1-3_all.deb
91b7063ef6d552fb4cdf861f0a388fd82896d2e0 401232
pysycache-dblclick-butterfly_3.1-3_all.deb
288656d56d3a952c39264035daa87c6431bb51bc 964270 pysycache-i18n_3.1-3_all.deb
3d3b6bdd3242058e6777421269f9f1de267ab082 2448054 pysycache-images_3.1-3_all.deb
11acd489e49601f3acf62f8567dba688d642a6d6 1560872
pysycache-move-animals_3.1-3_all.deb
3f95813c3c1ab90627c1fdea107cb93ebe59cb2e 1258210
pysycache-move-food_3.1-3_all.deb
3ef0353e806132fca06ae3dfe31df2a5fef8c9ad 739262
pysycache-move-plants_3.1-3_all.deb
537852a3c706c1c8b07f5bd741537b1f04b3c55d 1735942
pysycache-move-sky_3.1-3_all.deb
487a298cbe4b37830430214a13c79188884aaa37 611198
pysycache-move-sports_3.1-3_all.deb
014ba01f5b79a604b8b574d8e3705a1a507763ab 10588862
pysycache-puzzle-cartoons_3.1-3_all.deb
177ac637c0489f1e5b955aeff6bcd46f31a8541e 13072438
pysycache-puzzle-photos_3.1-3_all.deb
dda6a44da7f3914e7179b8346743f4cd64af58db 741612 pysycache-sounds_3.1-3_all.deb
Checksums-Sha256:
52892477376dc7b34a27f677a810412bd453946ebde2ee4cc60636e3ba982f63 1499
pysycache_3.1-3.dsc
df55729d90f1cb31d069be241cec5d1e7d7f219da5da45d7e5a8e4189b2ffe1f 10393
pysycache_3.1-3.debian.tar.gz
5915094718c136b6b9c965bfd17faeab3c0fb9aebc80b7178be68429e9f49783 3294400
pysycache_3.1-3_all.deb
d0d1f9d3a2bd32876c30aef66415b8e194552acd5ca59c964799ff05cd220d45 982428
pysycache-buttons-beerabbit_3.1-3_all.deb
6a36dfe0261283334ebbcb086d92125780788141ea6c407628089e66b353db81 505754
pysycache-buttons-crapaud_3.1-3_all.deb
9fb0796036fa4e6e9f87fe3914a3aff4c2d44196a7675c40cf5f727f5cccb79d 293634
pysycache-buttons-ice_3.1-3_all.deb
51e442dac6253c1962606894e8a432532d960692f453c7d0ef645181266a106f 511526
pysycache-buttons-wolf_3.1-3_all.deb
2086b5d4457bceebee0e528fb84733b9acf383d73b7114929f6ece1d51974925 1534840
pysycache-click-dinosaurs_3.1-3_all.deb
e47cd02eea57a777b3e94dc49466991a873713f35f6a067ef2234b8e856f7ba1 1966626
pysycache-click-sea_3.1-3_all.deb
9b2711f400d87c05b4e7f561cff381f807e4bcfb258d1cbd1e4a676f1ffc8fd1 533058
pysycache-dblclick-appleandpear_3.1-3_all.deb
df0b27e375dd91adf812013a62c054270ce77c77e78e326e5c633dd1d62d8b4a 401232
pysycache-dblclick-butterfly_3.1-3_all.deb
6dec474d54564d53ef537660e3f0279db8a5fe28885d2e15a8366c1c098c2b39 964270
pysycache-i18n_3.1-3_all.deb
9163d76860141e375bb19b3b4823ad433e72a0aada720f7107c46c25f22843c2 2448054
pysycache-images_3.1-3_all.deb
3cffc4602d1050284752c281c0d8482a5c4ce497528f9301b4278448c7b446c7 1560872
pysycache-move-animals_3.1-3_all.deb
7c76e5413196de3ff6a426cf5dbb64c6b3d055113b2822809d0392da6ad1efa9 1258210
pysycache-move-food_3.1-3_all.deb
efc1c406bb75860b311448e9d44d39facb32bc7275eab9346ca82e3583f8aba3 739262
pysycache-move-plants_3.1-3_all.deb
188378288ed17aefe61bcd11f921266ebeceb6df2927f60514e7a8dbb785a239 1735942
pysycache-move-sky_3.1-3_all.deb
9f5af27a1846ce4ea54626a63739c03b95417c464dd732b352d21b7c48a97836 611198
pysycache-move-sports_3.1-3_all.deb
c36daf6e85b60d4d583a4d302384c0d8ddd743271ff8c2ab3643b66d160fe3a4 10588862
pysycache-puzzle-cartoons_3.1-3_all.deb
0d8343f84e88055568c0172f1d336c3b8999607bdeba10163e2cde9ed31f1376 13072438
pysycache-puzzle-photos_3.1-3_all.deb
3aae299cb7e60169356e83317197b764360245e3ff9c6cebad8fc89bb69eb3c5 741612
pysycache-sounds_3.1-3_all.deb
Files:
5b2f8159b18bb2bb56e6b326a999e8b8 1499 games extra pysycache_3.1-3.dsc
690f3bc04cac90eff2bdb96024630fa0 10393 games extra
pysycache_3.1-3.debian.tar.gz
255fc8e3790a4d86a15addaa44289464 3294400 games extra pysycache_3.1-3_all.deb
a39dadffe6a0b149306cc86f5ad6b979 982428 games extra
pysycache-buttons-beerabbit_3.1-3_all.deb
9096b038e593315af4881d9ef85eab1e 505754 games extra
pysycache-buttons-crapaud_3.1-3_all.deb
5e31030e260a39fc49bf93f6325c1c81 293634 games extra
pysycache-buttons-ice_3.1-3_all.deb
6c3a27a17d42d1c1b00d147d86b59161 511526 games extra
pysycache-buttons-wolf_3.1-3_all.deb
2a5e5eaf69fa591b6c0518e4868784c7 1534840 games extra
pysycache-click-dinosaurs_3.1-3_all.deb
48c1c7af51600c7597bdbac2abc42656 1966626 games extra
pysycache-click-sea_3.1-3_all.deb
4f5ce7b174c0d662702905e139e01d91 533058 games extra
pysycache-dblclick-appleandpear_3.1-3_all.deb
584514c9f0c54afd01191c324915b9a6 401232 games extra
pysycache-dblclick-butterfly_3.1-3_all.deb
851edc4198fc92e1bf908ae449b1e572 964270 games extra
pysycache-i18n_3.1-3_all.deb
b4395c550d2d204e73d92d5aec0e4802 2448054 games extra
pysycache-images_3.1-3_all.deb
b96f652e2cfb8cb3c3fd7335eca080a4 1560872 games extra
pysycache-move-animals_3.1-3_all.deb
d38df3db3295f12d5fc7508c5b965e38 1258210 games extra
pysycache-move-food_3.1-3_all.deb
403d71520bbdee9d6628e31dd91c0394 739262 games extra
pysycache-move-plants_3.1-3_all.deb
52ca29a84eeda7cffd2e97c605ccdc72 1735942 games extra
pysycache-move-sky_3.1-3_all.deb
cea298bf0f28d5bd0089e67fce134ff9 611198 games extra
pysycache-move-sports_3.1-3_all.deb
7d09ab1d27bf0312fadb4937464c42ff 10588862 games extra
pysycache-puzzle-cartoons_3.1-3_all.deb
c6eb41c8ea2f869a5e563554d03f5857 13072438 games extra
pysycache-puzzle-photos_3.1-3_all.deb
436028567292cc2599cd7ce496080c01 741612 games extra
pysycache-sounds_3.1-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAku5s08ACgkQmqVR2WapDeI73wCeIw8AwMohhrGTWB7bhd74cJJF
/GcAn3glaLAJy95j+KuLMGAEsiUXHeO8
=YShY
-----END PGP SIGNATURE-----
--- End Message ---