Mitogen not work in python 2.4 #408
Closed
Labels
Comments
dw
added a commit
that referenced
this issue
Jan 20, 2019
dw
added a commit
that referenced
this issue
Jan 20, 2019
dw
added a commit
that referenced
this issue
Jan 20, 2019
dw
added a commit
that referenced
this issue
Jan 20, 2019
Can't use yield inside try/finally on 2.4.
Hello, sorry for the crazy delay replying to this :) The full test suite isn't running for it yet, but basic SSH/etc. support should function now. I will try to get this merged to master for the coming week. Thanks for reporting this. |
dw
added a commit
that referenced
this issue
Jan 20, 2019
* origin/dmw: issue #415: replace default Poller with select.poll() issue #415: add IPC latency bench. issue #408: fix test fallout. issue #408: update Changelog; closes #408. issue #408: 2.4 compat: replace iter_read with explicit generator issue #408: 2.4 compat: remove ternary if use in master.py. issue #408: use compatible method to get thread ID. issue #408: fix mitogen.compat.tokenize 2.4 compatibility. issue #436: decode debug log lines on Python 3. issue #461: Ansible 2.3 placeholder modules for action plug-ins. issue #461: Ansible 2.3-compatible _get_candidate_temp_dirs(). issue #461: Ansible 2.3 did not have _load_name.
I have added Python 2.4 to the list of missing CI targets in #461. This is now on the master branch and will make it into the next release. To be updated when a new release is made, subscribe to https://networkgenomics.com/mail/mitogen-announce/ Thanks for reporting this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When try to make a ssh connection with mitogen this error:
2018-10-17 07:44:13,115 - mitogen - DEBUG - mitogen.ssh.Stream('local.19488').connect(): child process stdin/stdout=10
2018-10-17 07:44:13,233 - mitogen - DEBUG - mitogen.ssh.Stream('local.19488'): received b'MITO000\n'
2018-10-17 07:44:13,233 - mitogen - DEBUG - mitogen.ssh.Stream('local.19488')._ec0_received()
2018-10-17 07:44:13,245 - mitogen - DEBUG - register(Context(1, 'ssh.10.10.195.27'), mitogen.ssh.Stream('ssh.10.10.195.27'))
2018-10-17 07:44:13,246 - mitogen - DEBUG - Context(1, 'ssh.10.10.195.27').call_async(): monitor.core.get_measures_usage(Sender(Context(0, None), 1000))
2018-10-17 07:44:13,246 - mitogen - DEBUG - Context(1, 'ssh.10.10.195.27').send_async(Message(1, 0, 0, 101, 1001, b'\x80\x02(X\x0c\x00\x00\x00monitor.coreq\x00NX\x12\x00\x00\x00get_measures_usageq\x01cm'..131))
2018-10-17 07:44:13,266 - mitogen - DEBUG - mitogen.parent.TtyLogStream('ssh.10.10.195.27'): 'Traceback (most recent call last):'
2018-10-17 07:44:13,306 - mitogen - DEBUG - mitogen.parent.TtyLogStream('ssh.10.10.195.27'): ' File "", line 2093, in ?'
2018-10-17 07:44:13,306 - mitogen - DEBUG - mitogen.parent.TtyLogStream('ssh.10.10.195.27'): ' File "", line 2063, in main'
2018-10-17 07:44:13,306 - mitogen - DEBUG - mitogen.parent.TtyLogStream('ssh.10.10.195.27'): ' File "", line 1899, in _setup_master'
2018-10-17 07:44:13,306 - mitogen - DEBUG - mitogen.parent.TtyLogStream('ssh.10.10.195.27'): ' File "", line 1748, in init'
2018-10-17 07:44:13,307 - mitogen - DEBUG - mitogen.parent.TtyLogStream('ssh.10.10.195.27'): "AttributeError: 'Thread' object has no attribute 'ident'"
The text was updated successfully, but these errors were encountered: