[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945284: marked as done ([python-x2go] throws an exception if log messages contain Umlauts)



Your message dated Sat, 23 Nov 2019 12:36:14 +0000
with message-id <E1iYUe6-0007gg-M8@fasolo.debian.org>
and subject line Bug#945284: fixed in python-x2go 0.6.1.1-1
has caused the Debian Bug report #945284,
regarding [python-x2go]  throws an exception if log messages contain Umlauts
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 owner@bugs.debian.org
immediately.)


-- 
945284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945284
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-x2go
Version: 0.6.0.2-1
Sevrity: important

When launching pyhoca-gui (which is still on Python2 and uses python-x2go underneath) with locale de_DE.UTF-8, some log messages are localized (those that are shown via desktop notifications).

If those log messages contain non-ASCII characters (e.g. Umlauts), then I see the below Python exception:

```
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/profilemanager.py", line 2498, in OnApplyButton
    icon='profile_save',
File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/notify.py", line 138, in send self._pyhoca_logger('[%s] %s' % (title.encode(utils.get_encoding()), text.encode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
  File "/usr/lib/python2.7/dist-packages/x2go/log.py", line 102, in message
    msg = msg.encode(utils.get_encoding())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)
```

The underlying flaw is in the python-x2go module.

This bug prohibits users to e.g. edit session profiles via the profile manager integrated in PyHoca-GUI.

This issue needs to be solve in Debian testing/unstable and Debian buster.

light+love
Mike Gabriel
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpOJuIwBZ5y4.pgp
Description: Digitale PGP-Signatur


--- End Message ---
--- Begin Message ---
Source: python-x2go
Source-Version: 0.6.1.1-1

We believe that the bug you reported is fixed in the latest version of
python-x2go, 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 945284@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated python-x2go 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 23 Nov 2019 13:16:03 +0100
Source: python-x2go
Architecture: source
Version: 0.6.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Remote Maintainers <debian-remote@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 945284
Changes:
 python-x2go (0.6.1.1-1) unstable; urgency=medium
 .
   * New upstream release.
     - New feature: X2Go Kdrive support.
     - In Py2 mode, fix log messages with non-ASCII characters.
       (Closes: #945284).
   * debian/copyright:
     + Add auto-generated copyright.in file.
     + Update copyright attributions.
   * debian/control:
     + Add R (python{,3}-x2go): x2gokdriveclient (not yet in Debian, soon to
       come).
   * debian/patches:
     + Add 1001_fix-reproducible-builds.patch. No builddir mentioning in
       Sphinx-generated docs.
Checksums-Sha1:
 21b3794b91ad5b2ff2cfed49ec1b21f5bc1395dc 2597 python-x2go_0.6.1.1-1.dsc
 81a988beaf7a6ead0c6183ab0ba0eb3085c259b6 247188 python-x2go_0.6.1.1.orig.tar.gz
 641e32e95edbd87fb56918dbd6a8d5f0b2dffeac 488 python-x2go_0.6.1.1.orig.tar.gz.asc
 21102d8224251372367546d921b5708a6cb972ff 26024 python-x2go_0.6.1.1-1.debian.tar.xz
 832fbf5201b0419e92a9049e63062bac2aa129f9 8974 python-x2go_0.6.1.1-1_source.buildinfo
Checksums-Sha256:
 acc130fb630ca70929e10a66aebc2dce4ad953a436e3f8d81dc9f9dd4b91ed72 2597 python-x2go_0.6.1.1-1.dsc
 d64bee0b11c7c07f9613f14f01c2bbab327df7ebf61c7abde21dcb74127d09c1 247188 python-x2go_0.6.1.1.orig.tar.gz
 d4de8fa13921f9fcc98dd2c077c014796c8dfd251262b5e780655f1b92c71eac 488 python-x2go_0.6.1.1.orig.tar.gz.asc
 33952a27c0a77bf5fb2780ecf773f8dd0242ba96076a8a419c26bea3aa24568f 26024 python-x2go_0.6.1.1-1.debian.tar.xz
 e23d2a95400c6e445940b050130aa686c75ce2c7c749b91697f21603ca3a32c7 8974 python-x2go_0.6.1.1-1_source.buildinfo
Files:
 8e7b7a417c5814504afd763b5efe0d4f 2597 python optional python-x2go_0.6.1.1-1.dsc
 23f97a9fb7de528505ff2aa42ee5cb2e 247188 python optional python-x2go_0.6.1.1.orig.tar.gz
 37b884580f07e0615d7ebc25bd53479c 488 python optional python-x2go_0.6.1.1.orig.tar.gz.asc
 ffd73e453844b1df65e7384acd4da94a 26024 python optional python-x2go_0.6.1.1-1.debian.tar.xz
 85d0325e39e61a747e1fa999d8fa5a36 8974 python optional python-x2go_0.6.1.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAl3ZIx4VHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxTWgP/2fj9e0NCE/Nzyjsy6gsfp3CoTWK
uOvExv9E3YT95gMdSJvtZmY/1RpZeVB+7elLJMT0FHQjVSlIwgYXBJse0eFjJNeS
jU/1JKm21Eesw7M8DTVhl7U3C29/ztoxyLMpCFXDdOHlsYzV+/hgXVa+54vV1lVy
6XOo5IJdV+uta7K5Y9L7/yl75gQWgNRZwPYoSSMS92wL3MWvndlr5F34+IBlK10t
Sj+58bo6fr1CEOnxKXn8qJQr1NKKycB1ABrjgmOnFqKgbBFdn6AKHmpDMe894yxL
TBPAmbMayNd0EzyBmWaU9XKr8bz5w5RSNfCosSisN1d+T9kPSv3xucFc6JMfxSHu
6GIu4QNBKIzAH0ajbNlwok/Ngi83pswuhivmAftP4qQPFot4xJajv1czWItphbgd
W7kxzbLy+4k5dmqhd/4ehItV/OfQzKcRxYZ8DumDfA6mwmORWJbrW5ECJfzdIo3H
dYngA3Kh9k2NAQkSiVGjFMYKaNDUr8XJiIxCpplduWpXAoZh2OLEfGnu3qklRZxh
r5MzhCO0jamq0x7wGmVq61wD0OPmlXP/rbP6BT43Xwyq0HRjXMFOScp64E7YZaCX
cxOS3d9wU9vgrJYwSM2ITzcOQflipzhLMLONMGSCqKfPhAD/kcUwL2O3fKt9YaS4
x+fTYdNyJMWtZOKe
=y9TJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: