Open petoknm opened 5 years ago
[Enter steps to reproduce:]
Atom: 1.39.1 x64 Electron: 3.1.10 OS: Ubuntu 19.04 Thrown From: dbg package 1.6.3
Uncaught Callback must be a function
At fs.js:157
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:157:9)
at Object.fs.writeFile (fs.js:1290:14)
at ReadFileContext.callback (/packages/dbg/lib/ConfigManager.coffee:149:7)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:352:13)
-0:16.7.0 dbg:pause-continue (atom-pane.pane.active)
dbg 1.6.3
dbg-gdb 1.7.8
output-panel 0.3.4
[Enter steps to reproduce:]
Atom: 1.39.1 x64 Electron: 3.1.10 OS: "Manjaro Linux" Thrown From: dbg package 1.6.3
Uncaught Callback must be a function
At fs.js:157
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:157:9)
at Object.fs.writeFile (fs.js:1290:14)
at ReadFileContext.callback (/packages/dbg/lib/ConfigManager.coffee:149:7)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:352:13)
-2:45.7.0 atom-gdb-debugger:connect (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
6x -2:43.6.0 atom-gdb-debugger:interrupt (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-2:35.5.0 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
15x -2:32.7.0 atom-gdb-debugger:interrupt (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-2:17.2.0 atom-gdb-debugger:toggle-cli (input.hidden-input)
-2:10.1.0 core:backspace (input.hidden-input)
-2:09.6.0 autocomplete-plus:cancel (input.hidden-input)
-1:39.5.0 atom-gdb-debugger:interrupt (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-1:38.9.0 atom-gdb-debugger:configure (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-1:30.8.0 atom-gdb-debugger:connect (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-1:28.4.0 atom-gdb-debugger:disconnect (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-1:27.6.0 atom-gdb-debugger:configure (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-1:18 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
10x -1:14.9.0 atom-gdb-debugger:interrupt (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-1:09.7.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-gruvbox.theme-gruvbox-dark-ui)
-0:13.5.0 dbg:custom-debug (li.file.entry.list-item.selected)
atom-beautify 0.33.4
atom-ide-debugger-python 0.7.3
atom-ide-ui 0.13.0
autocomplete-elixir 1.5.16
build 0.70.0
build-elixir 0.7.0
busy-signal 2.0.1
city-lights-ui 1.5.3
dbg 1.6.3
dbg-gdb 1.7.8
file-icons 2.1.34
framer-ui 2.0.0
gruvbox 1.0.7
gruvbox-dark-ui 1.1.0
Hydrogen 2.10.3
ide-cpp 0.1.0
ide-elixir 0.2.25
ide-python 1.4.2
intentions 1.1.5
language-elixir 0.22.1
language-lua 0.9.11
linter 2.3.1
linter-clang 4.1.2
linter-elixirc 1.7.0
linter-lua 2.0.0
linter-pylama 0.10.1
linter-ui-default 1.7.1
local-history 4.3.1
minimap 4.29.9
monokai 0.24.0
output-panel 0.3.4
python-tools 0.6.9
seti-ui 1.11.0
termination 0.7.4
[Enter steps to reproduce:]
Atom: 1.40.1 x64 Electron: 3.1.10 OS: "openSUSE Leap Thrown From: dbg package 1.6.3
Uncaught Callback must be a function
At fs.js:157
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:157:9)
at Object.fs.writeFile (fs.js:1290:14)
at ReadFileContext.callback (/packages/dbg/lib/ConfigManager.coffee:149:7)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:352:13)
2x -9:43.7.0 dbg:pause-continue (input.hidden-input)
6x -9:15.9.0 core:move-down (input.hidden-input)
2x -9:13.7.0 core:move-up (input.hidden-input)
7x -9:11 core:move-down (input.hidden-input)
-9:09.2.0 core:confirm (input.hidden-input)
-8:56.5.0 core:save (input.hidden-input)
2x -3:12.4.0 dbg:pause-continue (input.hidden-input)
-1:56.7.0 dbg:custom-debug (button.btn.icon.icon-playback-play)
autocomplete-lua 0.9.2
dbg 1.6.3
dbg-lua 0.3.0
gruvbox-plus-syntax 1.3.1
language-lua 0.9.11
language-lua-plus 1.7.0
[Enter steps to reproduce:
Atom: 1.43.0 x64 Electron: 4.2.7 OS: linux 5.5.2-gentoo-x86_64 Thrown From: dbg package 1.6.3
Uncaught Callback must be a function
At fs.js:129
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:129:9)
at Object.writeFile (fs.js:1137:14)
at ReadFileContext.callback (/packages/dbg/lib/ConfigManager.coffee:149:7)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:235:13)
-2:48.3.0 dbg:custom-debug (span.name.icon.icon-file-text)
-2:35.6.0 core:backspace (input.hidden-input)
-1:36.3.0 core:cancel (button.btn.icon.icon-playback-play)
-0:56 dbg:custom-debug (span.name.icon.icon-file-text)
-0:44.2.0 core:backspace (input.hidden-input)
atom-material-syntax 1.0.8
atom-material-ui 2.1.3
build 0.70.0
busy-signal 2.0.1
dbg 1.6.3
dbg-gdb 1.7.8
git-plus 8.7.1
intentions 1.1.5
linter 2.3.1
linter-clang 4.1.2
linter-ui-default 1.8.1
output-panel 0.3.4
platformio-ide-terminal 2.10.0
script 3.25.0
vim-mode-plus 1.36.4
100% reproducible. Wontfix?
in ~/.atom/packages/dbg/lib/ConfigManager.coffee:149:7 REPLACE fs.writeFile filename, data, 'utf8', WITH fs.writeFile filename, data, 'utf8', (error) -> console.error("Error writing file", error) if error
I'm NOT a developper, I've just googled a bit and see what is required for the fs.writeFile function
[Enter steps to reproduce:]
Atom: 1.37.0 x64 Electron: 4.1.4 OS: linux 5.1.3-arch1-1-ARCH Thrown From: dbg package 1.6.3
Stack Trace
Uncaught Callback must be a function
Commands
Non-Core Packages