Jupyter notebook issues
A bunch of issues detected in Jupyter notebooks.
-
Typing an undefined reference
blah
produces no output and no error. It should produce this error:Unknown object: None:3:7 Unknown object "blah" of class "OBJECT"
The same happens with an expression with undefined reference.
-
No error is thrown if a variable is "re-initialized". For example after setting "a = 1" and then in the same notebook "a = 3" I get no error. Of course, the variable is not re-initialized, it can be checked that it still has value
1
but there is no error message (see screenshot below). The error message should be:Initialization error: None:3:1 --> a = 3 <-- Repeated initialization of "a"
-
Further error messages are not printed, for example for devision by zero for
a/0
. It should be:Arithmetic error: None:3:7 --> a/0 <-- float division by zero
I looks like all error messages / warnings get suppressed. Striking is that the outputs are not written in output cells but in the space between two neighboring input cells. This is where usually (in Python notebooks) the stdout (if the called python function has, e.g. a print() call) and diagnostic output for warnings and errors, which in Python notebooks appear in yellow and red colors, respectively, between the cell.