Your message dated Sat, 25 Jul 2015 17:35:52 +0000
with message-id <[email protected]>
and subject line Bug#788439: fixed in pyserial 2.7-1
has caused the Debian Bug report #788439,
regarding pyserial: python-serial rfc2217 connections always fail
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.)


-- 
788439: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788439
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyserial
Version: 2.6-1.1
Severity: normal
Tags: patch upstream fixed-upstream

Hello,

I was biten by a bug that is already reported upstream on

        http://sourceforge.net/p/pyserial/bugs/166/

.. It was fixed in the upstream svn repository in r495. Attached is a
patch.

Best regards
Uwe

-- System Information:
Debian Release: 8.1
  APT prefers proposed-updates
  APT policy: (900, 'proposed-updates'), (900, 'stable'), (600, 'unstable'), 
(500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
From: Chris Liechti <[email protected]>
Subject: [Bug pyserial:166] RFC2217 connections always fail

Origin: http://sourceforge.net/p/pyserial/code/495/
Bug: http://sourceforge.net/p/pyserial/bugs/166/
--- a/serial/rfc2217.py
+++ b/serial/rfc2217.py
@@ -429,7 +429,7 @@
         timeout_time = time.time() + self._network_timeout
         while time.time() < timeout_time:
             time.sleep(0.05)    # prevent 100% CPU load
-            if sum(o.active for o in mandadory_options) == len(mandadory_options):
+            if sum(o.active for o in mandadory_options) == sum(o.state != INACTIVE for o in mandadory_options):
                 break
         else:
             raise SerialException("Remote does not seem to support RFC2217 or BINARY mode %r" % mandadory_options)

--- End Message ---
--- Begin Message ---
Source: pyserial
Source-Version: 2.7-1

We believe that the bug you reported is fixed in the latest version of
pyserial, 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.
Matthias Klose <[email protected]> (supplier of updated pyserial 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: Sat, 25 Jul 2015 19:17:31 +0200
Source: pyserial
Binary: python-serial python3-serial
Architecture: source all
Version: 2.7-1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
 python-serial - pyserial - module encapsulating access for the serial port
 python3-serial - pyserial - module encapsulating access for the serial port
Closes: 717058 788439
Changes:
 pyserial (2.7-1) unstable; urgency=medium
 .
   * New upstream version.
     - Fix issue #28, accept any speed on Linux. Closes: #717058.
     - Fix issue #166, RFC2217 connections always fail. Closes: #788439.
Checksums-Sha1:
 95d03a7245e73a1aa8a36897b4200b4edbdd492a 1808 pyserial_2.7-1.dsc
 f15694b1bea9e4369c1931dc5cf09e37e5c562cf 122081 pyserial_2.7.orig.tar.gz
 08f367677e292115f5b054bd0107506bc9a85154 3612 pyserial_2.7-1.diff.gz
 2287b44059b872e29b8a8d842697c32d14d1affe 70646 python-serial_2.7-1_all.deb
 0d7e349c99e0d88223faa324893c59e03971e1d0 54096 python3-serial_2.7-1_all.deb
Checksums-Sha256:
 d21fc37fe1e4f727a55bde7345879f230c2c4b4ba8ec4ae4aecc17f1592177ae 1808 
pyserial_2.7-1.dsc
 3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477 122081 
pyserial_2.7.orig.tar.gz
 2bf97b42abf89c2ca60740a627463569e0ff45687e0ba5030c10cc9d3b665400 3612 
pyserial_2.7-1.diff.gz
 2395473707b4ee697a1d1b409feb8470b62b3e5eefb45db92404d2fa4da6a822 70646 
python-serial_2.7-1_all.deb
 9f11bab9e69197c7280e858a526ba1922cf2db4c4ec06deea46b1c6d97d2993e 54096 
python3-serial_2.7-1_all.deb
Files:
 54379d7fe3c49fbd8c70baa2fdd104c3 1808 python optional pyserial_2.7-1.dsc
 794506184df83ef2290de0d18803dd11 122081 python optional 
pyserial_2.7.orig.tar.gz
 c08c9f2773e521d32b618089f646f0e2 3612 python optional pyserial_2.7-1.diff.gz
 e71bc74511120de70e72bdd407f4ba53 70646 python optional 
python-serial_2.7-1_all.deb
 a16f09172ca78b5b23005a48b61f8d1c 54096 python optional 
python3-serial_2.7-1_all.deb

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

iQIcBAEBCAAGBQJVs8ZOAAoJEL1+qmB3j6b14AkQAMY8a8IGZTaabsRXFROmjlN0
porex1f6n7a1no3hmh0JVyPeYRpDufmOU87Hh4ZvOp+Vkdxf8b1Ou/wmvEyFq6t+
ZKZ5kXfMjB4SpUko0PvbXs/hQl6FMvZHq9pUSKfzcLCPDnu6SJofXAI0ifbTLTwC
uWh5hIlP2H48P/BMhEiLbZFIfftKroqneMU/383giMv12HKNhsYJqzxS7wxc4Pdk
OHfgvfigodRl43iitPwR+PhRzZc2kuWdRjs/EjfI9nO8hvflmx1A2UF5pJyATgW3
msIAu6IZTQp55pHJy2QidptCa+DsbPI9NaJlnxzwXsWzkD58HZyXhH4Sz6zhQKeO
Xm6Mo74uUcPH4FAu90JLalby42DGqRLdxVP+UyBvJe8AtMjUPb9ACB4pF6iyUCT2
dJe66/s6eS03swPhHOhcU/FfaCobtBMi2QSL68ZeyYShWSXGv5rt/DgfbZhs3oom
NGOp9y8VVceec84rVrXMag7mKwuN4Uu7+uqDssAN7sempWTSJrmvEoZ5Lf7TdofQ
Cf7lGEs+cYYV+lldHqoq0kyraK3BIZCQmJ4RwNmfWwCWW1jITAdUvq9VStAorN9r
KRkPv+0XK2O6QS9LZAHdWbaNJEsQcaa1A5d7T3ipf1HwRz6fRFSlJGE9UItSoraa
AB2uCVTS3s5k66DB4/sJ
=ydU6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to