Open idanrichman opened 5 years ago
Having the same issue with the same traceback at first attempt to start up Hydrogen (first line of shift + enter code).
i found out now that when i uncheck the "Extend Executable Code [experimental] the problems disappears
Excellent, thank you. I suppose that means now that that "extend executable code" option is not required for multi-line functions to work?
I haven't looked into why this bug is happening (and it doesn't happen for me) but with the extend option turned off, the normal Hydrogen setting is applied, which means that any code block will run completely as long as the following lines are indented.
more generally the problem is "Cannot read property 'x' of undefined" where x is any number...
[Enter steps to reproduce:] simple program. at first it returns 2 when i call abcd(), but the second time i run that line it throws the TypeError
def abcd(): return 2 abcd()
thats it...
Atom: 1.32.1 x64 Electron: 2.0.9 OS: Mac OS X 10.14.1 Thrown From: hydrogen-python package 0.0.7
Stack Trace
Uncaught TypeError: Cannot read property '3' of undefined
Commands
Non-Core Packages