-
Notifications
You must be signed in to change notification settings - Fork 269
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 #2006
Comments
I got the same error here: Atom: 1.41.0 x64 Stack TraceUncaught TypeError: Cannot read property 'remove' of undefined
Commands
Non-Core Packages
|
me too |
Same here. Atom: 1.41.0
|
Same thing. [Enter steps to reproduce:]
Atom: 1.41.0 x64 Stack TraceUncaught TypeError: Cannot read property 'remove' of undefined
Commands
Non-Core Packages
|
That's fine, but how would one implement this without building their own version of Atom based on this commit? Maintainers need to fix this error, especially if it is as simple as it looks. [Enter steps to reproduce:]
Atom: 1.42.0 x64 Stack TraceUncaught TypeError: Cannot read property 'remove' of undefined
Commands
Non-Core Packages
` |
Same here. |
same. |
Got the same issue on macOS. |
Same here. |
same issue on Manjaro Linux |
The same. Trying to stop the execution of a python program that recognizes the tone of the sound from the mic, and prints the result. |
same |
1 similar comment
same |
Same for me. |
solved with this fix: |
@Sonderwoods it sorta fixes it, because now if you close the panel clicking the |
I found this workaround to work #1984 (comment) |
Same here.. Though, I downgrade the version of Script from 3.25.0 to 3.18.1 now it is working fine. So for a time being this may be a workaround. Thanks to marcelinollano. |
@Sonderwoods it`s work thanks! |
What @Sonderwoods proposes doesn't work. If you close the window then you can't open it again. |
@rgbkrk any chance to see this fixed? |
It's not a problem with the package itself. It comes from atom doesn't know where the scripts are. I have multiple problems with all packages at the moment and the reason is atom can't find the path of the package location |
It doesn't as the current code only creates a view on the first run, not again after you close it. You can see the code here. Hence the fix is to create the view every time you run a script. That is not necessarily a bug in carlsen/atom-message-panel (in fact I think this is the opposite of a bug: script stopped working when a bug on their side was fixed). |
@pfandzelter so maybe |
@pensierinmusica That's what I think as well, hence this change in #2004 |
same in ubunto also |
Same here
Atom: 1.43.0 x64 Stack TraceUncaught TypeError: Cannot read property 'remove' of undefined
Commands
Non-Core Packages
|
Same here |
Also get this when closing script: /home/james/.atom/packages/script/node_modules/atom-message-panel/lib/MessagePanelView.js:189
Hide Stack Trace
TypeError: Cannot read property 'remove' of undefined
at ScriptView.MessagePanelView.remove (/home/james/.atom/packages/script/node_modules/atom-message-panel/lib/MessagePanelView.js:189:30)
at ScriptView.detach (/home/james/.atom/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:5357:15)
at ScriptView.removePanel (/home/james/.atom/packages/script/lib/script-view.js:89:10)
at Object.closeScriptViewAndStopRunner (/home/james/.atom/packages/script/lib/script.js:161:21)
at HTMLElement.scriptCloseView (/home/james/.atom/packages/script/lib/script.js:94:39)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349290)
at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11:347765)
at ScriptView.close (/home/james/.atom/packages/script/lib/script-view.js:99:19)
at HTMLDivElement.<anonymous> (/home/james/.atom/packages/autocomplete-python/node_modules/space-pen/lib/space-pen.js:220:36)
at HTMLDivElement.dispatch (/home/james/.atom/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLDivElement.elemData.handle (/home/james/.atom/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:4121:28) System: Distributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye Atom: Atom : 1.43.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
[email protected] Window refuses to close until atom is restarted after any code has been ran. |
Does this still happen in the latest version? |
click the X button just close the UI frame but the running process won't since this issue open........ |
Is that a feature? |
this problem is currently being faced in java by me and the above mentioned fixes dont work ##Non-Core Packages: |
[Enter steps to reproduce:]
Atom: 1.41.0 x64
Electron: 4.2.7
OS: Mac OS X 10.14.6
Thrown From: script package 3.25.0
Stack Trace
Uncaught TypeError: Cannot read property 'remove' of undefined
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: