WolframResearch / WolframClientForPython

Call Wolfram Language functions from Python
https://wolfr.am/wolframclientdoc
MIT License
446 stars 47 forks source link

Restarting a session if underlying kernel process is down #30

Closed mpeychev closed 3 years ago

mpeychev commented 3 years ago

Hi,

I was wondering if it is possible to restart a session if the underlying kernel process is down (either killed or if it randomly stops after running for a long time). In such a case, both session.terminate() and session.restart() hang and seem unable to complete.

Any pointers would be highly appreciated. Thanks.

DbxDev commented 3 years ago

This will be fixed in the next library release. Thanks for the report!

DbxDev commented 3 years ago

I just pushed a new version which should fix this issue.