You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a custom handler in the logging module can cause an engine to hang indefinitely. I think this behaviour has not always existed, as it only started happening when I updated to the latest releases of IPython/Jupyter/ipyparallel. I believe it could be related to jupyter/notebook#1397.
If I have module loggingtest.py as follows:
importloggingimportsyshPrint=logging.StreamHandler(sys.stdout)
logger=logging.Logger('Logger')
logger.addHandler(hPrint) # commenting out this line fixes the buglogger.log(1, 'Log initialised') # engine will hang on this linedeflog(message):
logger.log(1, message)
And then I start a cluster using ipcluster start -n 2 and connect to it using c = ipyparallel.Client(), importing that module will hang indefinitely with either of the following methods:
Hi! I’m going through and cleaning up old/stale issues on this repo. It looks like this issue is resolved (running the same does not reproduce the error with current versions). Feel free to open a new Issue if you are still having this trouble.
Using a custom handler in the
logging
module can cause an engine to hang indefinitely. I think this behaviour has not always existed, as it only started happening when I updated to the latest releases of IPython/Jupyter/ipyparallel. I believe it could be related to jupyter/notebook#1397.If I have module
loggingtest.py
as follows:And then I start a cluster using
ipcluster start -n 2
and connect to it usingc = ipyparallel.Client()
, importing that module will hang indefinitely with either of the following methods:I'm using Windows 7, Python 2.7.10 32-bit, all IPython modules up to date:
The text was updated successfully, but these errors were encountered: