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
%sh
cat > hello.spyx << EOF
def hello(name):
"""
Print hello with the given name.
"""
print("Hello %s"%name)
EOF
and then
load "hello.spyx"
the notebook hangs. In the server log I get:
...
File "/usr/local/sage/default/local/lib/python2.5/site-packages/sage/server/notebook/worksheet.py", line 957, in _load_file
t = self.do_sage_extensions_preparsing(t,
UnboundLocalError: local variable 't' referenced before assignment
This is not due to the file not being found: If I try to load or attach a non-existent file, I get an appropriate error message.
If in a notebook I use:
and then
the notebook hangs. In the server log I get:
This is not due to the file not being found: If I try to load or attach a non-existent file, I get an appropriate error message.
Component: notebook
Issue created by migration from https://trac.sagemath.org/ticket/230
The text was updated successfully, but these errors were encountered: