Closed zhopan77 closed 4 years ago
I do not have a Windows to reproduce...
PR is welcome
Has this error been resolved? I am not able to exit when I 'run script' inside my code editor.
I keep getting the same issue only when I want to end an execution
No, PR is welcome
I typed this into the terminal brew reinstall python@2
then entered pip install python-language-server
that solved my issues. Hopefully, that helps. I ended up just re-installing python@3 after the issues were solved.
Also having this error on Linux. I'll try and trace it when I have some more time.
Atom: 1.45.0 x64 Electron: 4.2.7 OS: Ubuntu 19.10 Thrown From: local-history package 4.3.1
Uncaught TypeError: Cannot read property 'remove' of undefined
At /home/jacob/.atom/packages/local-history/node_modules/atom-message-panel/lib/MessagePanelView.js:189
TypeError: Cannot read property 'remove' of undefined
at ScriptView.MessagePanelView.remove (/packages/local-history/node_modules/atom-message-panel/lib/MessagePanelView.js:189:30)
at ScriptView.detach (/packages/atom-python-virtualenv/node_modules/jquery/dist/jquery.js:5357:15)
at ScriptView.removePanel (/packages/script/lib/script-view.js:89:10)
at Object.closeScriptViewAndStopRunner (/packages/script/lib/script.js:161:21)
at HTMLElement.coreCancel (/packages/script/lib/script.js:92:33)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349290)
at KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:1254747)
at KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/static/<embedded>:11:1250881)
at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/static/<embedded>:11:284496)
-4:17.8.0 command-palette:toggle (input.hidden-input)
2x -4:16 core:backspace (input.hidden-input)
-4:14.8.0 core:move-down (input.hidden-input)
-4:14.3.0 core:confirm (input.hidden-input)
-4:14.3.0 virtualenv:select (input.hidden-input)
-4:14.1.0 core:confirm (input.hidden-input)
-4:13.3.0 script:run (input.hidden-input)
-4:12.5.0 editor:consolidate-selections (input.hidden-input)
-4:12.5.0 core:cancel (input.hidden-input)
-2:03.9.0 script:close-view (atom-workspace.workspace.scrollbars-visible-always.theme-woolgathering-dark-syntax.theme-atom-material-ui)
-0:02.7.0 editor:consolidate-selections (input.hidden-input)
-0:02.7.0 core:cancel (input.hidden-input)
atom-bracket-highlight 0.3.2
atom-ctags 5.1.2
atom-html-preview 0.2.6
atom-ide-ui 0.13.0
atom-latex 0.9.1
atom-material-syntax 1.0.8
atom-material-syntax-dark 1.0.0
atom-material-syntax-light 0.4.6
atom-material-ui 2.1.3
atom-python-virtualenv 1.0.4
atom-updater-linux 1.3.0
autocomplete-python 1.16.0
browser-plus 0.0.98
build 0.70.0
build-cmake 0.12.0
busy-signal 2.0.1
expand-region 0.5.0
find-scroll-marker 0.1.3
font-viewer 0.3.1
git-plus 8.7.1
highlight-selected 0.17.0
Hydrogen 2.14.1
hydrogen-python 0.0.8
intentions 1.1.5
kite 0.178.0
language-cmake 1.2.0
language-latex 1.2.0
language-matlab 0.2.1
local-history 4.3.1
markdown-pdf 2.3.3
markdown-preview-plus 3.11.5
multi-cursor 3.0.0
pdf-view 0.72.0
platformio-ide-terminal 2.10.0
processing 0.13.0
processing-language 0.2.0
reindent 1.5.0
schelp-syntax 0.6.3
script 3.25.0
scroll-marker 0.3.2
sequential-number 0.5.0
split-diff 1.6.1
supercollider 0.9.1
tabs-to-spaces 1.0.5
woolgathering-dark-syntax 1.10.0
woolgathering-light-syntax 1.10.0
@CleverOscar's solution seem to work.
[Enter steps to reproduce:]
Atom: 1.41.0 x64 Electron: 4.2.7 OS: Microsoft Windows 10 Enterprise Thrown From: local-history package 4.3.1
Stack Trace
Uncaught TypeError: Cannot read property 'remove' of undefined
Commands
Non-Core Packages