Karl Schopmeyer
Karl Schopmeyer
Same issue with pywbem pip package. The python2 code in this package uses M2Crypto as ssl package for historical reasons and python 2.7.6 is still the required system python package...
Typical exception chain when the failure occurs: Unhandled exception in event loop: File "/home/.../virtualenvs/pycli2/local/lib/python2.7/site-packages/prompt_toolkit/eventloop/posix.py", line 155, in _run_task t() File "/home/.../virtualenvs/pycli2/local/lib/python2.7/site-packages/prompt_toolkit/eventloop/context.py", line 116, in new_func return func(*a, **kw) File "/home/.../virtualenvs/pycli2/local/lib/python2.7/site-packages/prompt_toolkit/application/application.py",...
Tested with the following click snippet and can consistently create the issue when using python 2 and prompt-toolkit > 2.0 ``` from __future__ import absolute_import, print_function import os import click...
This particular issues is because starting with prompt-toolkit 2.0, the method ... requires Unicode for the text input but it is receiveing a python 2 string. The proposed fix is:...
OK I will open a PR.
I agreed to create a pr and started it when I noticed that despite untitakers comment about about assuring that the change does not break with prompt-toolkit version 1, there...
Since there has been no action on this pr for over a year I was wondering if anybody is interested int it. We are. We like the ability to see...
Actually, it is probably not so much cleanup issues in that when the executing python program stops the threads do go away. However, if listeners are created and stopped multiple...
Some suggestions: * https://stackoverflow.com/questions/268629/how-to-stop-basehttpserver-serve-forever-in-a-basehttprequesthandler-subclass * Python | Different ways to kill a Thread * https://blog.gocept.com/2011/08/04/shutting-down-an-httpserver/ * https://stackoverflow.com/questions/40382332/example-usages-of-the-stoppablethread-subclass-of-pythons-threading-thread
We can do this against a containerized OpenPegasus in an end2end test. However, today OpenPegasus container only presents a single self signed cert so the container needs to be updated...