Your message dated Wed, 15 Feb 2017 01:48:38 +0000
with message-id <[email protected]>
and subject line Bug#549586: fixed in dictclient 1.0.3.2
has caused the Debian Bug report #549586,
regarding python-dictclient is not unicode aware
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.)


-- 
549586: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549586
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: python-dictclient is not unicode aware
Package: python-dictclient
Version: 1.0.3.1
Severity: wishlist
Tags: patch

Unicode strings cannot be used in queries, and there is no workaround for the 
problem.

{{{
connection = dictclient.Connection()
test = "\u00e9"
connection.match("*", "exact", test)
}}}

The error message is:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 0: 
ordinal not in range(128)

Best, Balazs

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-dictclient depends on:
ii  python                        2.5.4-2    An interactive high-level object-
o
ii  python-central                0.6.11     register and build utility for 
Pyt

python-dictclient recommends no packages.

Versions of packages python-dictclient suggests:
ii  dictd                      1.11.1+dfsg-3 dictionary server

Common subdirectories: dictclient-1.0.3/debian and dictclient-1.0.3-uc/debian
diff dictclient-1.0.3/dictclient.py dictclient-1.0.3-uc/dictclient.py
48,49c48,49
<         self.rfile = self.sock.makefile("rt")
<         self.wfile = self.sock.makefile("wt", 0)
---
>         self.rfile = self.sock.makefile("rb")
>         self.wfile = self.sock.makefile("wb", 0)
56c56
<         line = self.rfile.readline().strip()
---
>         line = self.rfile.readline().strip().decode("utf-8")
75c75
<             line = self.rfile.readline().strip()
---
>             line = self.rfile.readline().strip().decode("utf-8")
166c166
<         self.wfile.write(command + "\n")
---
>         self.wfile.write((command + "\n").encode("utf-8"))

--- End Message ---
--- Begin Message ---
Source: dictclient
Source-Version: 1.0.3.2

We believe that the bug you reported is fixed in the latest version of
dictclient, 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.
John Goerzen <[email protected]> (supplier of updated dictclient 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, 14 Feb 2017 19:36:50 -0600
Source: dictclient
Binary: python-dictclient
Architecture: source all
Version: 1.0.3.2
Distribution: unstable
Urgency: medium
Maintainer: John Goerzen <[email protected]>
Changed-By: John Goerzen <[email protected]>
Description:
 python-dictclient - Python client library for DICT (RFC2229) protocol
Closes: 549586 616789 694764 800233
Changes:
 dictclient (1.0.3.2) unstable; urgency=medium
 .
   * Ack NMU.  Closes: #800233, #694764, #616789.
   * Bump standards-version.
   * Apply patch for Unicode awareness.  Closes: #549586.
Checksums-Sha1:
 9e394bf81789143de6f3900db241ba06c40386e3 1455 dictclient_1.0.3.2.dsc
 ddf56ee004fe7b5a730670069d803f314f6a4d7e 21887 dictclient_1.0.3.2.tar.gz
 d4d6da565c9e06c30ec45e592337d388434e4086 5416 
dictclient_1.0.3.2_amd64.buildinfo
 ce65fdeb2f0b17e1f8a507d153bad20e123dfc71 12238 
python-dictclient_1.0.3.2_all.deb
Checksums-Sha256:
 204d20aaa5beeac534d88d677889d329195eb741bfdf4943ccbabff3a83d17f1 1455 
dictclient_1.0.3.2.dsc
 2ed2ede26c1d89c32405dab50d3faac13b6c5b4a39ae8f71d27ff8a57ae8697b 21887 
dictclient_1.0.3.2.tar.gz
 73cbd6a8b986a7a0fe0d0f8cec28c711d7052c770591cc610e85c1e5a9aa13c0 5416 
dictclient_1.0.3.2_amd64.buildinfo
 58fefad6137f1b0da14e48f7b263ee59b5185488b2d41d0e0984242da47e0825 12238 
python-dictclient_1.0.3.2_all.deb
Files:
 173a16151dec27695ec33980a765e39c 1455 interpreters optional 
dictclient_1.0.3.2.dsc
 fcd24853f7e1cdf9bfd8fc1da43faa71 21887 interpreters optional 
dictclient_1.0.3.2.tar.gz
 913709d66dd4db6c14f1097e343cd9f7 5416 interpreters optional 
dictclient_1.0.3.2_amd64.buildinfo
 4d43de818c1f80209375a3186d0b81f6 12238 interpreters optional 
python-dictclient_1.0.3.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYo7JlAAoJEN0p+IRCg57TufIQAIJ1baco3twVe6XEyVhbmFmh
7JvzJEJY07T7CeYUqLP3G2C9f5fhc+wb4qCL7JoiwhnhYoCJL0ymNxtLGWPBJ6RS
V5iEJIirbYnx2rbbq2IHbfPXZC0e13mu5HZp/vujvGN/oxdWc+LS2aBRcUOmW8m7
EWVp64i0GEn0RWn4PEdiT7mHNVsidc7vG6q+5LHkGrDbk1iHA9ANH1DEUsOo3JK9
ntzyRAHXxGYCByr1vA+3aBZ1M/Irdo4vo+2ClbIjXaBlrenBxIuI9LVDvimr/+1U
FJW+OV7eRnjbCVwFR+ApsSGj2GUH7TFZ7up60sElmtFBYFRTPvc6WmmtyBNjJ5tt
V/cA/KotzNeAA1yCdPUmLU9KrVQTMyj6S6+kjmX65mZ86wVwysoNC60QvmWfFkYg
d5UTsCk4wLk9eImp0dGDeat3Yf9YXPnVD/YFnetFZMRZDGZj1r0j/1lO4jW/QBZd
80PAjODnp2ThGVbKRYJdl0ev3vhOCrGQ0WvqxRx9AFP/6ZkLoXoilu5xndfQi1IT
/ZOcnzLLdiMaphHV6+pq+cvprnIkG/sLY+p9ZUkXvRqzbpVQKnBDZGfr58PSmrF/
qpGC7e3cb8/Sf01hdLl7WIcrAXsL+6hl2sCB6DhUhDc4S8R8qmawwr6VITmVQNoC
VgPzliJH4taMjVk4zpg2
=hucG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to