Steven Robertson
Steven Robertson
Ansible python interpreter discovery was added in the latest `master` of Mitogen, can you give the latest commit a try?
Mitogen supports Windows 🤔 Would you be able to provide a simple Dockerfile of your environment for me to test with? https://hub.docker.com/_/microsoft-windows I see MS has some official Docker images...
Ok. Is your base dockerfile something from here by chance? https://hub.docker.com/_/microsoft-windows I don't have a Windows machine to test against personally so I'd need a container to be able to...
Can you run this command from your machine? ``` ssh -o “LogLevel ERROR” -l administrator -i /userap/appd_ap/ansible/private_key -o “Compression yes” -o “ServerAliveInterval 30” -o “ServerAliveCountMax 10” -o “BatchMode yes” -o...
Does `/usr/bin/python2` exist on your windows host? The python command is what's ran on the target system
I just noticed something! According to the code, this is what the `codecs` part is supposed to be: ``` return self.get_python_argv() + [ '-c', 'import codecs,os,sys;_=codecs.decode;' 'exec(_(_("%s".encode(),"base64"),"zip"))' % (encoded.decode(),) ]...
Ok. What Python2 version is on your target Windows host?
Ok. What's the minor version of it? Also I just noticed something else: /usr/bin/python2 -c "'import codecs,os,sys;=codecs.decode;exec(((“......" there's a SyntaxError: invalid syntax on import. from here, there's a weird quote...
@shinebayar-g ansible python interpreter discovery isn't in `0.2.9`. Your error looks more like Mitogen is picking the wrong version of Python to use. I recommend either using the latest git...
We see a similar issue here: ``` py2-e2e runtests: commands[0] | py.test -vv -n 8 tests/e2e ============================= test session starts ============================== platform linux2 -- Python 2.7.12, pytest-3.7.0, py-1.5.4, pluggy-0.7.1 --...