Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "Cannot read property includeInto of undefined" error #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mfripp
Copy link

@mfripp mfripp commented Jul 22, 2018

This fixes an error in pool.js that causes an error message "Cannot read property includeInto of undefined" (and no table) to appear when opening csv/tsv files with the Table Editor.

It appears that vm.runInContext() does not return a copy of the class when called with an ES6 class declaration, although it may have returned a copy of the class when called with a coffescript class declaration in the past. This pull request refers to the class at the end of the source code, which causes vm.runInContext() to return the class instead of undefined. This prevents the error noted above.

This fixes issues #100 and #101.

@corymalcolmtaylor
Copy link

I tested it and it worked for me on win 10 with latest atom. Thanks!

@jnmandal
Copy link

jnmandal commented Aug 1, 2018

Using branch in my atom and I can't open any CSV files at all once the package is installed. No error messages, it just shows the empty pane. Atom 1.28.2 on macOS 10.13.6

edit: Adding that when double clicking a csv file (default to opening in atom) it creates a separate instance of Atom.app which won't close and has to be killed forcefully

@ajgreyling
Copy link

Confirm it is fixing the issue on Mac OS 10.14.1 (18B75)
Atom 1.34.0 x64

@PhilippeComte
Copy link

Feb 21 2019
Not working on Mac OS 10.13.6 High Sierra
Atom 1.34.0 x64

@amitbattase
Copy link

Worked for me.

@Jackson-H-Chen
Copy link

Getting the same error :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants