<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m pretty sure it’s not an upstream bug, as many environments (conda and virtualenv) which were working with ipython across several python versions before are now not working. <div class=""><br class=""></div><div class="">I understand that ipython and ipdb aren’t typically required for Python workflows but certain efforts, like stepping through code that requires a GPU and loads a model from the Auton cluster, are difficult to debug without ipdb. Is there anything else that has changed that might have broken it? </div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Viraj<br class=""><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 18, 2020, at 6:21 PM, Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" class="">predragp@andrew.cmu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">I looked a bit more carefully. It could be an upstream bug. It wouldn't be the first time<div class=""><br class=""></div><div class=""><a href="https://github.com/ipython/ipython/issues/11678" class="">https://github.com/ipython/ipython/issues/11678</a><br class=""></div><div class=""><br class=""></div><div class="">You don't need ipython to run Python code. You could work and debug your code on your local machine and just run production code on the server. A typical python code is just a script starting with a shebang following with a path to the binaries. I fail to see how ipython could be useful for that. It is surely useful for the interactive work. </div><div class=""><br class=""></div><div class="">Predrag</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 18, 2020 at 5:45 PM Viraj Mehta <<a href="mailto:virajm@andrew.cmu.edu" class="">virajm@andrew.cmu.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Tried this with 3.7 and 3.8 and it still hangs. Also if it’s a good clue, it doesn’t stop even if I send SIGINT or SIGQUIT. Not really sure what’s going on here.<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 18, 2020, at 4:39 PM, Viraj Mehta <<a href="mailto:virajm@andrew.cmu.edu" target="_blank" class="">virajm@andrew.cmu.edu</a>> wrote:</div><br class=""><div class=""><div style="word-wrap:break-word;line-break:after-white-space" class="">Yeah, I’ll give it a shot. Thanks!<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 18, 2020, at 4:38 PM, Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank" class="">predragp@andrew.cmu.edu</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class="">I just upgraded all /opt/conda-py37 and /opt/conda-py38 packages on both GPU9 and GPU11. Could you please try again? Could you also try with py38 which is now recommended and report back. If this works I will upgrade packages across all servers. This could be potentially remotely related to the fact that Ifegenia could not build TensorFlow. Another thought is that the ipython SQLite database is corrupted. <br class=""></div><div class=""><br class=""></div><div class="">Best,</div><div class="">Predag</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 18, 2020 at 4:34 PM Viraj Mehta <<a href="mailto:virajm@andrew.cmu.edu" target="_blank" class="">virajm@andrew.cmu.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi Predrag,<br class="">
<br class="">
Hope you’re doing well. I’ve been running into an issue the last couple days on the Auton cluster that is blocking my work on code that used to work and was hoping to get your thoughts. I have tried to distill this down to a small but replicable issue, as seen in the attachment, which I have seen hang on the ipython call on GPU9 and GPU11 so far. Do you know why this might be? Thanks.<br class="">
<br class="">
Best,<br class="">
Viraj</blockquote></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></div></body></html>