One way I combat this for really long running notebooks is to run it with Papermill <https://github.com/nteract/papermill> on the server in a screen session and come back to it in the morning. You can also use `--log-output` if you want the execution logs piped to a stream or file as well. Not perfect for all situations, but it solves the run a notebook and check back later problem.
- Matt On Thu, Sep 13, 2018 at 4:32 AM Alexey Goloviznin <[email protected]> wrote: > Hi, any news therer? > > суббота, 11 июля 2015 г., 3:03:25 UTC+3 пользователь Brian Cheung написал: >> >> Hi, >> Is there a way to restore the output of a notebook after a disconnect? >> I usually leave computations running on a server and disconnect/suspend my >> laptop. Unfortunately, when I go to reconnect to the notebook I lose the >> realtime output that was printing while I was disconnected. Furthermore, it >> no longer prints new outputs. Is there a workaround for this issue? >> Printing to a file kind of defeats much of the reason to use the notebook >> in the first place. >> >> -Brian >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/138010d9-5d9c-484e-b5b0-f47fdece4b14%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/138010d9-5d9c-484e-b5b0-f47fdece4b14%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAJF6vz5Xrp4y-GEabhuFD8XVNq4aNCH2Eoq%2BcwsSBxzLH36a0g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
