I am trying to run a script in a Jupyter Notebook in debug mode with the magic %run -d "/home/dev/filename.py".
I receive error : AttributeError: 'NoneType' object has no attribute 'f_globals' when doing so.
This would happen with filename.py containing only print("hello world). The script itself is irrelevant and the error happens on calling the magic.
To be clear the code that produces the error is the magic %run -d itself. You can try to reproduce it in a Jupyter Notebook with any script. For me any script returns that error.
Anyone has experienced the same? Any idea what is happening?
filename.pycontaining onlyprint("hello world). The script itself is irrelevant and the error happens on calling the magic.%run -ditself. You can try to reproduce it in a Jupyter Notebook with any script. For me any script returns that error.