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

Uncaught TypeError: Cannot read property 'remove' of undefined #1995

Closed
HorselessName opened this issue Nov 8, 2019 · 18 comments · Fixed by #2004
Closed

Uncaught TypeError: Cannot read property 'remove' of undefined #1995

HorselessName opened this issue Nov 8, 2019 · 18 comments · Fixed by #2004

Comments

@HorselessName
Copy link

HorselessName commented Nov 8, 2019

C:\Users\Raul\.atom\packages\script\node_modules\atom-message-panel\lib\MessagePanelView.js:189

` TypeError:` Cannot read property 'remove' of undefined
    at ScriptView.MessagePanelView.remove (C:\Users\Raul\.atom\packages\script\node_modules\atom-message-panel\lib\MessagePanelView.js:189:30)
    at ScriptView.detach (C:\Users\Raul\.atom\packages\atom-beautify\node_modules\jquery\dist\jquery.js:5357:15)
    at ScriptView.removePanel (file:///C:/Users/Raul/.atom/packages/script/lib/script-view.js:89:10)
    at Object.closeScriptViewAndStopRunner (file:///C:/Users/Raul/.atom/packages/script/lib/script.js:161:21)
    at HTMLElement.scriptCloseView (file:///C:/Users/Raul/.atom/packages/script/lib/script.js:94:39)
    at CommandRegistry.handleCommandEvent (C:\Users\Raul\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:349392)
    at CommandRegistry.dispatch (C:\Users\Raul\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:347867)
    at ScriptView.close (file:///C:/Users/Raul/.atom/packages/script/lib/script-view.js:99:19)
    at HTMLDivElement.<anonymous> (C:\Users\Raul\.atom\packages\atom-beautify\node_modules\space-pen\lib\space-pen.js:220:36)
    at HTMLDivElement.dispatch (C:\Users\Raul\.atom\packages\atom-beautify\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLDivElement.elemData.handle `(C:\Users\Raul\.atom\packages\atom-beautify\node_modules\jquery\dist\jquery.js:4121:28)`

@HorselessName
Copy link
Author

The error happened when i tried to press X

@mahipaljyani
Copy link

same error happens to me, did you find the answer?

@Quaintgoldenlion
Copy link

Its also happening to me try contacting the developer bout the problem dont forget the details

@rotcelloCehT
Copy link

I am having the same issue when pressing x

@Adespinoza
Copy link

Can also confirm this issue happens when pressing 'x'

@pytommaso
Copy link

to me when pressing ESC button

@burstWizard
Copy link

also happened when pressing esc key

@jimmy-print
Copy link

happening when I press X

@bchooxg
Copy link

bchooxg commented Nov 10, 2019

Im having the same problem as well when i try to close the window

@misaelvillaverde
Copy link

same problem when pressing x

@wjandrea
Copy link
Contributor

Duplicate of #1984

@arcleise
Copy link

Same issue when pressing ESC

@PhilippePerret
Copy link

Same issue when pressing ESC and X

@ghost
Copy link

ghost commented Nov 11, 2019

ditto, bit i can't complain, its the only editor of its kind that works in linux on a 13 year old laptop.

@HorselessName
Copy link
Author

Duplicate of #1984

The error there was fixed by a user commit, but as of this moment, it looks like it's happening again...
I'm using atom-python-run and platform-ide-terminal for now...

@Prince-let
Copy link

When I press the button X , it occurs.
When I press the button X repeatly , it occurs all over the screen

@wjandrea
Copy link
Contributor

wjandrea commented Nov 13, 2019

Duplicate of #1984

The error there was fixed by a user commit, but as of this moment, it looks like it's happening again...
I'm using atom-python-run and platform-ide-terminal for now...

It was supposedly fixed, but there's some conflicting info. Even the author of that PR is saying the issue seems to be in script. Also that PR is still open and #1984 is still open.

I reverted to the previous version of script with apm install script@3.18

Update: I also figured out a way to avoid updating the package by commenting out the repository info. See my post on Super User: How do I prevent Atom from updating a package?

@Wikstahl
Copy link

Happens to me when I press cmd + W on mac

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 a pull request may close this issue.