Distributed self-replicating programs in Python
Go to file
David Wilson d280bba02b issue #369: fix KeyError during new context start.
Update _via_by_context earlier; fixes:

    Traceback (most recent call last):
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 519, in _on_service_call
	return invoker.invoke(method_name, kwargs, msg)
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 253, in invoke
	response = self._invoke(method_name, kwargs, msg)
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 239, in _invoke
	ret = method(**kwargs)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 454, in get
	reraise(*result)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 412, in _wait_or_start
	response = self._connect(key, spec, via=via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 363, in _connect
	self._update_lru(context, spec, via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 266, in _update_lru
	self._update_lru_unlocked(new_context, spec, via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 253, in _update_lru_unlocked
	if self._refs_by_context[context] == 0:
    KeyError: Context(1008, u'ssh.localhost.sudo.mitogen__user3')
2018-10-31 16:43:27 +00:00
.github Update PULL_REQUEST_TEMPLATE.md. 2018-10-31 13:14:30 +00:00
.travis issue #409: Pythonize run_ansible_playbook.sh 2018-10-30 23:58:45 +00:00
ansible_mitogen issue #369: fix KeyError during new context start. 2018-10-31 16:43:27 +00:00
docs issue #410: update changelog 2018-10-31 16:43:27 +00:00
examples examples: fix mitogen-fuse on 2.x. 2018-07-12 20:16:44 +01:00
mitogen issue #410: support sudo --user and SELinux options, add stub test. 2018-10-31 15:46:59 +00:00
tests Import missing stub-sudo.py. 2018-10-31 16:43:27 +00:00
.gitignore Add venvs/ to gitignore 2018-10-26 10:23:34 +01:00
.lgtm.yml compat: ignore LGTM checks on third party 2018-03-19 21:58:31 +05:45
.travis.yml tests: stop idiotic Travis TTY/pip progress bar spam 2018-10-26 12:30:40 +01:00
LICENSE Add license text everywhere. 2018-03-19 21:58:28 +05:45
README.md commented out travis badge 2018-07-21 13:15:30 -04:00
dev_requirements.txt tests: activate faulthandler if available 2018-10-29 15:25:15 +00:00
preamble_size.py add --dump to preamble_size.py. 2018-08-18 16:44:00 +01:00
run_tests tests: make ansible/tests/ run in run_tests. 2018-10-02 20:43:48 +01:00
setup.cfg Ignore another annoying flake8 message. 2018-05-28 02:33:47 +01:00
setup.py Update trove classifiers. 2018-07-07 14:55:47 +01:00
tox.ini tests: Run tests on CPython 3.5 and 3.6 with Tox 2018-10-03 00:15:47 +01:00

README.md