abe33 / atom-tablr

Edit CSV files using a table editor
MIT License
165 stars 44 forks source link

Uncaught TypeError: Cannot read property 'forEach' of undefined #85

Closed giano closed 7 years ago

giano commented 7 years ago

[Enter steps to reproduce:]

  1. Create empty CSV File
  2. Edit enabling "Header" & "Quoted"

Atom: 1.15.0 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: tablr package 1.8.1

Stack Trace

Uncaught TypeError: Cannot read property 'forEach' of undefined

At /Users/giano/.atom/packages/tablr/lib/csv-editor.js:440

TypeError: Cannot read property 'forEach' of undefined
    at Parser.end (/packages/tablr/lib/csv-editor.js:440:19)
    at emitNone (events.js:91:20)
    at Parser.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -5:49.4.0 core:move-down (input.hidden-input)
     -5:47.6.0 core:save (input.hidden-input)
     -4:00.8.0 core:paste (input.hidden-input)
     -3:53.6.0 core:save (input.hidden-input)
     -3:50.4.0 atom-beautify:beautify-editor (div.line)
  2x -3:49.2.0 core:save (input.hidden-input)
     -2:12.4.0 tree-view:remove (span.name.icon.icon-file-text)
     -2:02.1.0 tree-view:add-folder (span.name.icon.icon-repo.project-view)
     -1:59.9.0 core:confirm (input.hidden-input)
     -1:55.5.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -1:54.2.0 core:confirm (input.hidden-input)
     -1:19.8.0 tree-view:add-file (div.header.list-item)
     -1:14.8.0 core:confirm (input.hidden-input)
  2x -1:12.8.0 command-palette:toggle (input.hidden-input)
  3x -1:05.3.0 core:backspace (input.hidden-input)
     -1:03.4.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.29.17 
atom-css-comb 3.1.0 
atom-material-syntax 1.0.2 
atom-material-syntax-dark 0.2.7 
atom-material-ui 1.3.9 
atom-terminal 0.8.0 
atom-typescript 11.0.1 
atomodoro 1.1.0 
autoclose-html 0.23.0 
autoprefixer 3.6.1 
build 0.67.0 
busy 0.7.0 
busy-signal 1.3.0 
code-peek 1.4.17 
coffee-compile 0.24.0 
color-tabs 0.1.8 
color-tabs-regex 0.2.5 
compare-files 0.8.0 
contextual-preview 0.1.0 
cssnano 1.1.0 
docblockr 0.9.3 
editorconfig 2.2.2 
file-types 0.5.5 
flex-tool-bar 0.12.0 
flow-ide 1.4.1 
fonts 2.0.0 
git-history 3.2.0 
git-plus 7.3.3 
git-time-machine 1.5.6 
gitignore-snippets 0.2.5 
greppen-grok 0.2.1 
guess-indent 0.1.0 
html2jade-plus 1.0.0 
indent-tooltip 0.2.1 
intentions 1.1.2 
keybinding-cheatsheet 0.1.1 
language-babel undefined 
language-csv 1.1.2 
language-docker 1.1.7 
language-eml 0.5.0 
language-gitignore 0.3.0 
language-jade 0.7.2 
language-nginx 0.6.2 
language-pug 0.0.21 
language-svg 0.9.2 
language-swift 0.5.0 
language-todofile 0.1.1 
language-varnish 0.5.0 
linter 2.1.0 
linter-coffeelint 1.2.1 
linter-doiuse 0.2.3 
linter-eslint 8.1.4 
linter-js-standard 3.9.0 
linter-jshint 3.0.3 
linter-jsonlint 1.3.0 
linter-less 2.6.0 
linter-tidy 2.3.1 
linter-ui-default 1.2.1 
linter-write-good 0.8.0 
live-archive 0.1.15 
markdown-preview-plus 2.4.9 
merge-conflicts 1.4.4 
minimap 4.26.8 
minimap-autohide 0.10.1 
minimap-bookmarks 0.4.2 
minimap-codeglance 0.4.5 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-hide 0.3.0 
minimap-selection 4.4.0 
pane-by-type 1.0.1 
pigments 0.39.1 
preview 0.17.0 
project-manager 3.3.3 
project-view 0.6.2 
qolor 0.4.1 
regex-railroad-diagram 0.16.0 
scroll-through-time 0.2.0 
seti-icons 1.4.3 
simple-drag-drop-text 0.3.4 
space-tab 0.4.2 
svgo 2.8.1 
sync-settings 0.8.1 
tablr 1.8.1 
todo-show 1.11.0 
toggle-quotes 1.0.1 
token-navigation 1.0.1 
tool-bar 1.1.0 
tree-ignore 0.6.2 
turbo-javascript 1.4.0 
uglify 1.3.1