nikitakit / hydrogen-python

Python-specific plugin for hydrogen. Make Python coding in the Atom editor even more interactive!
https://atom.io/packages/hydrogen-python
MIT License
54 stars 20 forks source link

Figured out the issue on "Uncaught TypeError: Cannot read property '#' of undefined" #24

Open Lokdal opened 5 years ago

Lokdal commented 5 years ago

The 3 reports of Uncaught TypeError with property numbers are all the same. The property number that is displayed is the line number of the line above the cursor. So if I activate "Extend Executable Code" then try to run line 20, I will get "Uncaught TypeError: Cannot read property 19 of undefined". This is regardless of whether line 20 should be extended below, above or not at all. Needless to say, Extend Executable Code is not usable for me as well, I get this error every single time I try to run a line.

Atom 1.34 Hydrogen 2.7.0 hydrogen-python 0.0.8 Windows 10 x64