Open nite opened 5 years ago
We've sofar figured out that this is something to do with how we hijack logging, and this hack enables it to run:
viewer.stderr_queue.write('Running on'.encode('utf-8'))
viewer.show(app)
to get this bit of viewer.show()
to pass:
while not started and retries < 100:
try:
out = self.stderr_queue.queue.get(timeout=.1)
try:
out = out.decode()
except AttributeError:
pass
if 'Running on' in out:
started = True
except Empty:
retries += 1
pass
So, is there a better way of doing this that can't be 'hacked' by external logging config? (Admittedly, we have an issue here, but possibly there's another way of detecting a subprocess has started successfully)
Your hack worked for me but I found out that updating NodeJs solved this problem too
I've got a jupyterlab server, set up by colleagues & running in docker on a specific port (say 8080). I've naively set up jupyterlab dash, and running a simple dash app yields the following. If I set the port to 8080 in the app viewer, the first line is omitted but the error is the same. Any idea how I might troubleshoot and/or get some more logs for this issue?