platformio / platformio-atom-ide-terminal

A terminal package for Atom, complete with themes, API and more for PlatformIO IDE
https://atom.io/packages/platformio-ide-terminal
MIT License
612 stars 162 forks source link

Uncaught TypeError: target[Symbol.iterator] is not a function #402

Closed cmalkus closed 7 years ago

cmalkus commented 7 years ago

[Enter steps to reproduce:]

  1. Launch Atom. Terminal creates separate error on launch, which has been reported here: https://github.com/platformio/platformio-atom-ide-terminal/issues/400
  2. Open terminal using key command (default; ctrl-~) or menu option (Packages>platformio-ide-terminal>New terminal)

Atom: 1.23.0-beta0 x64 Electron: 1.6.15 OS: Mac OS X 10.11.6 Thrown From: platformio-ide-terminal package 2.7.0

Stack Trace

Uncaught TypeError: target[Symbol.iterator] is not a function

At /Applications/Atom Beta.app/Contents/Resources/app/src/tooltip-manager.js:117

TypeError: target[Symbol.iterator] is not a function
    at TooltipManager.add (/Applications/Atom Beta.app/Contents/Resources/app/src/tooltip-manager.js:117:35)
    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.initialize (/packages/platformio-ide-terminal/lib/view.coffee:46:38)
    at /packages/merge-conflicts/node_modules/space-pen/lib/space-pen.js:184:25)
    at /packages/platformio-ide-terminal/lib/view.coffee:15:7)
    at StatusBar.module.exports.StatusBar.createEmptyTerminalView (/packages/platformio-ide-terminal/lib/status-bar.coffee:188:34)
    at StatusBar.module.exports.StatusBar.createTerminalView (/packages/platformio-ide-terminal/lib/status-bar.coffee:161:6)
    at StatusBar.module.exports.StatusBar.toggle (/packages/platformio-ide-terminal/lib/status-bar.coffee:323:26)
    at /packages/platformio-ide-terminal/lib/status-bar.coffee:29:45)
    at CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:388:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:108:40)

Commands

     -0:02.3.0 platformio-ide-terminal:toggle (input.hidden-input)

Non-Core Packages

angular-2 0.2.6 
atom-beautify 0.30.6 
atom-handlebars 1.3.0 
atom-ide-ui 0.5.4 
atom-material-syntax 1.0.7 
atom-material-syntax-dark 1.0.0 
atom-material-ui 2.0.6 
atom-typescript 11.0.10 
autocomplete-paths 2.12.1 
busy-signal 1.4.3 
click-link 1.0.11 
color-picker 2.2.5 
data-atom 0.26.2 
docblockr 0.13.2 
double-tag 1.1.0 
emmet 2.4.3 
file-icons 2.1.13 
firacode 0.3.0 
git-control 0.9.0 
gruvbox-dark-ui 1.1.0 
gruvbox-plus-syntax 1.3.1 
gulp-control 0.5.0 
gulp-runner 0.2.3 
highlight-selected 0.13.1 
ide-html 0.4.1 
ide-php 0.6.9 
ide-typescript 0.6.2 
intentions 1.1.5 
language-freemarker 0.2.0 
language-haml 0.25.2 
language-handlebars 0.2.0 
language-ini 1.19.0 
language-javascript-jsx 0.3.7 
language-log 1.9.0 
language-pug 0.0.21 
language-typescript-grammars-only 1.6.0 
Leetcode 0.11.1 
less-than-slash 0.17.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-handlebars 2.5.0 
linter-htmlhint 1.4.0 
linter-jshint 3.1.6 
linter-php 1.5.1 
linter-stylelint 4.0.2 
linter-ui-default 1.6.10 
linter-xmllint 1.4.3 
markdown-preview-plus 2.4.16 
merge-conflicts 1.4.5 
minimap 4.29.7 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-pigments 0.2.2 
no-title-bar 1.11.3 
nord-atom-syntax 0.9.1 
nord-atom-ui 0.11.0 
php-cs-fixer 4.1.1 
php-twig 4.0.0 
phpf 1.0.3 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
prettier-atom 0.40.0 
project-manager 3.3.5 
pulley-syntax 2.0.3 
railscast 1.0.0 
Remote-FTP 1.3.1 
split-diff 1.5.1 
tabs-to-spaces 1.0.3 
tree-view-autoresize 2.2.0 
youngjuning commented 7 years ago

same issues from atom 1.23.0 beta0

EswarJ commented 7 years ago

Same here with 1.23.0-beta0

jkatofsky commented 7 years ago

Same issue - 1.23.0 beta0

ivankravets commented 7 years ago

Duplicate of https://github.com/platformio/platformio-atom-ide-terminal/issues/403