Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
David Wilson ad5a80f200 Use virtualenv Python for stub connections to workaround problem
../data/stubs/stub-kubectl.py exec -it localhost -- /usr/bin/python -c "...":

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    LookupError: unknown encoding: base64

It's not clear why this is happening. "stub-kubectl.py" is executed with
the 2.7 virtualenv, while the exec() that happens inside stub-kubectl
was for "/usr/bin/python".

That second Python can't find chunks of its stdlib:

    stat("/usr/lib/python2.7/encodings/base64", 0x7ffde8744c60) = -1 ENOENT (No such file or directory)
    open("/usr/lib/python2.7/encodings/base64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/python2.7/encodings/base64module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/python2.7/encodings/base64.py", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/python2.7/encodings/base64.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
    write(2, "Traceback (most recent call last):\n", 35) = 35
    write(2, "  File \"<string>\", line 1, in <module>\n", 39) = 39
5 years ago
.ci ci: Ansible 2.8 jobs aren't running against all host types. 5 years ago
.github issue #574: fix ISSUE_TEMPLATE link 6 years ago
ansible_mitogen ansible: prevent tempfile.mkstemp() leaks. 5 years ago
docs issue #578: update Changelog. 5 years ago
examples issue #589: remove outdated/incomplete examples 5 years ago
mitogen issue #589: ensure real FileService/PushFileService are in the docs 5 years ago
scripts Import debug helper macros. 5 years ago
tests Use virtualenv Python for stub connections to workaround problem 5 years ago
.gitignore update gitignore again 5 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml ci: Ansible 2.8 requires Python 2.7. 5 years ago
LICENSE Update copyright year everywhere. 6 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 6 years ago
README.md Update README link 5 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 6 years ago
preamble_size.py stable: fix preamble_size on stable docs. 6 years ago
run_tests Allow independant control of coverage erase and reporting 6 years ago
setup.cfg Ignore another annoying flake8 message. 6 years ago
setup.py Update copyright year everywhere. 6 years ago
tox.ini Aggregate code coverage data across tox all runs 6 years ago

README.md