Package: python-socketio-client
Version: 0.6.5-0.1
Severity: grave
Hi,
Since upgrading to stretch, python-socketio-client no longer works for me at
all.
I have code looking roughly this:
#! /usr/bin/python
from __future__ import print_function
from socketIO_client import SocketIO
from socketIO_client.exceptions import TimeoutError
with SocketIO('https://notification2.chess24.com',
transports=['xhr-polling'], verify=True) as socketIO:
pass
But all I get is this:
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection
(1): notification2.chess24.com
DEBUG:requests.packages.urllib3.connectionpool:https://notification2.chess24.com:443
"GET /socket.io/?EIO=3&transport=polling&t=1496761595949-0 HTTP/1.1
" 200 None
Traceback (most recent call last):
File "./chess24.py", line 198, in <module>
with SocketIO('https://notification2.chess24.com', verify=True) as
socketIO:
File "/usr/lib/python2.7/dist-packages/socketIO_client/__init__.py", line
331, in __init__
resource, hurry_interval_in_seconds, **kw)
File "/usr/lib/python2.7/dist-packages/socketIO_client/__init__.py", line
51, in __init__
self._transport
File "/usr/lib/python2.7/dist-packages/socketIO_client/__init__.py", line
59, in _transport
self._engineIO_session = self._get_engineIO_session()
File "/usr/lib/python2.7/dist-packages/socketIO_client/__init__.py", line
73, in _get_engineIO_session
transport.recv_packet())
StopIteration
It seems there is indeed a stray “break” on line 73 that isn't caught by any
exception handler. Downgrading to jessie immediately fixes the problem.
WebSockets vs. XHR transport doesn't make a difference.
-- System Information:
Debian Release: 9.0
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (500,
'stable')
Architecture: amd64
(x86_64)
Foreign Architectures: i386
Kernel: Linux 4.11.2 (SMP w/40 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-socketio-client depends on:
ii python 2.7.13-2
ii python-requests 2.12.4-1
ii python-six 1.10.0-3
ii python-websocket 0.37.0-2
python-socketio-client recommends no packages.
python-socketio-client suggests no packages.
-- debconf-show failed