Uncaught TypeError: this.action.disposalAction is not a function
Opened this issue · 9 comments
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.51.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Home Single Language
Thrown From: autoclose package 0.0.2
Stack Trace
Uncaught TypeError: this.action.disposalAction is not a function
At C:\Users\aakashbhatt\.atom\packages\autoclose\lib\autoclose.coffee:39
TypeError: this.action.disposalAction is not a function
at Object._paneItemChanged (/packages/autoclose/lib/autoclose.coffee:39:29)
at /packages/autoclose/lib/autoclose.coffee:26:8
at Function.simpleDispatch (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1190297)
at Emitter.emit (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1191738)
at Workspace.didChangeActivePaneItemOnPaneContainer (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:425171)
at ~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:14:44778
at Function.simpleDispatch (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1190297)
at Emitter.emit (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1191738)
at PaneContainer.didChangeActiveItemOnPane (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:447504)
at Pane.setActiveItem (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:456348)
at Pane.activateItem (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:458518)
at TabBarView.onClick (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1139888)
Commands
-6:36 tree-view:open-in-new-window (li.file.entry.list-item.selected)
59x -5:49.9.0 core:select-left (input.hidden-input)
4x -5:44.3.0 intentions:highlight (input.hidden-input)
-5:43.7.0 core:copy (input.hidden-input)
-5:07.0 core:backspace (input.hidden-input)
6x -5:04.5.0 intentions:highlight (input.hidden-input)
-5:03.9.0 core:save (input.hidden-input)
12x -4:36.6.0 core:backspace (input.hidden-input)
-4:28.1.0 intentions:highlight (input.hidden-input)
-4:27.8.0 core:save (input.hidden-input)
-4:19 tree-view:copy-full-path (li.file.entry.list-item.selected)
7x -4:00.5.0 core:backspace (input.hidden-input)
17x -3:55.9.0 core:move-left (input.hidden-input)
-3:48.4.0 intentions:highlight (input.hidden-input)
-3:48.1.0 core:save (input.hidden-input)
2x -2:58.3.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
Non-Core Packages
atom-beautify 0.33.4
atom-ternjs 0.20.0
autoclose 0.0.2
autoclose-html 0.23.0
build 0.70.0
build-sass 0.11.0
busy-signal 2.0.1
csslint 1.2.0
emmet 2.4.3
intentions 1.1.5
language-ejs 0.4.0
linter 3.1.1
linter-csslint 2.0.6
linter-eslint 8.5.5
linter-ui-default 2.1.2
pigments 0.40.2
Sublime-Style-Column-Selection 1.7.5
same
seems to happen when i remove all tabs. i am on a mac
same issue, after closing all the tabs in my manjaro
i am having save problem
I got a trick to fix it. Just close the Atom and reopen it.(Do it every time when you are facing it.)
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.51.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Home Single Language
Thrown From: autoclose package 0.0.2Stack Trace
Uncaught TypeError: this.action.disposalAction is not a function
At C:\Users\aakashbhatt\.atom\packages\autoclose\lib\autoclose.coffee:39 TypeError: this.action.disposalAction is not a function at Object._paneItemChanged (/packages/autoclose/lib/autoclose.coffee:39:29) at /packages/autoclose/lib/autoclose.coffee:26:8 at Function.simpleDispatch (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1190297) at Emitter.emit (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1191738) at Workspace.didChangeActivePaneItemOnPaneContainer (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:425171) at ~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:14:44778 at Function.simpleDispatch (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1190297) at Emitter.emit (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1191738) at PaneContainer.didChangeActiveItemOnPane (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:447504) at Pane.setActiveItem (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:456348) at Pane.activateItem (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:458518) at TabBarView.onClick (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:1139888)
Commands
-6:36 tree-view:open-in-new-window (li.file.entry.list-item.selected) 59x -5:49.9.0 core:select-left (input.hidden-input) 4x -5:44.3.0 intentions:highlight (input.hidden-input) -5:43.7.0 core:copy (input.hidden-input) -5:07.0 core:backspace (input.hidden-input) 6x -5:04.5.0 intentions:highlight (input.hidden-input) -5:03.9.0 core:save (input.hidden-input) 12x -4:36.6.0 core:backspace (input.hidden-input) -4:28.1.0 intentions:highlight (input.hidden-input) -4:27.8.0 core:save (input.hidden-input) -4:19 tree-view:copy-full-path (li.file.entry.list-item.selected) 7x -4:00.5.0 core:backspace (input.hidden-input) 17x -3:55.9.0 core:move-left (input.hidden-input) -3:48.4.0 intentions:highlight (input.hidden-input) -3:48.1.0 core:save (input.hidden-input) 2x -2:58.3.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
Non-Core Packages
atom-beautify 0.33.4 atom-ternjs 0.20.0 autoclose 0.0.2 autoclose-html 0.23.0 build 0.70.0 build-sass 0.11.0 busy-signal 2.0.1 csslint 1.2.0 emmet 2.4.3 intentions 1.1.5 language-ejs 0.4.0 linter 3.1.1 linter-csslint 2.0.6 linter-eslint 8.5.5 linter-ui-default 2.1.2 pigments 0.40.2 Sublime-Style-Column-Selection 1.7.5
I got a trick😁 to fix it. Just close the Atom and reopen it.(Do it every time when you are facing it.)
Closing it and opening it is not a fix.
Closing it and opening it is not a fix.
Yeah I know but If you want to Fix it then
Setting > packages > autoclose > viewcode > Just open autoclose.coffee and replace @action.disposalAction() with @action.dispose(). The warning will pop-up once after that not at all. Hope It will help you! 😉