Forum: Poser Python Scripting


Subject: Breaking a SimpleXMLRPCServer with a keystroke

FVerbaas opened this issue on Dec 10, 2020 ยท 40 posts


FVerbaas posted Fri, 11 December 2020 at 11:45 PM Forum Coordinator

adp001 posted at 11:28PM Fri, 11 December 2020 - #4407177

MD has nailed the Python interpreter to one thread only. I assume the reason is that a running Python-Thread is able to "inspect" what MD is doing (re-engeneering). Seems that is the reason why they canceld UI-support too (UI needs an event-loop).

I doubt they are so sharp. Most of the implementation is quite rag-rag. Looks more like they had trouble getting it to work and decided to drop this. The used PythonQt, a lesser known version.

Timeout can't work in such a scenario, because a timeout-loop would require event notifications (at least a timer able to interrupt a process).

Good point. Will check if I can run a timer at all.