Package: python-tornadio2
Version: 0.0.4-1
Severity: important

Hello,

in tornadio2/gen.py:45, the tornado.gen.Runner constructor is invoked
with only one argument besides self, although in recent versions of
tornado it requires 3: 
http://tornadokevinlee.readthedocs.org/en/latest/_modules/tornado/gen.html

This results in a traceback, and in tornadio2.gen.sync_engine not being usable:

[E 151204 10:28:13 root session:433] __init__() takes exactly 4 arguments (2 
given)
    Traceback (most recent call last):
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/session.py", 
line 381, in raw_message
        conn.on_message(msg_data)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/gen.py", line 
113, in wrapper
        run(args, kwargs)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/gen.py", line 
84, in run
        data.runner = SyncRunner(gen, finished)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/gen.py", line 
45, in __init__
        super(SyncRunner, self).__init__(gen)
    TypeError: __init__() takes exactly 4 arguments (2 given)
[E 151204 10:28:13 root persistent:148] Failed to handle message: Traceback 
(most recent call last):
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/persistent.py", 
line 146, in on_message
        self.session.raw_message(message)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/session.py", 
line 381, in raw_message
        conn.on_message(msg_data)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/gen.py", line 
113, in wrapper
        run(args, kwargs)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/gen.py", line 
84, in run
        data.runner = SyncRunner(gen, finished)
      File "/home/enrico/lavori/truelite/reach/reach/tornadio2/gen.py", line 
45, in __init__
        super(SyncRunner, self).__init__(gen)
    TypeError: __init__() takes exactly 4 arguments (2 given)


Thanks,

Enrico


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-tornadio2 depends on:
ii  python             2.7.9-1
ii  python-simplejson  3.7.3-1+b1
ii  python-tornado     4.2.1-1+b1

python-tornadio2 recommends no packages.

python-tornadio2 suggests no packages.

-- no debconf information

Reply via email to