styczynski / atom-terminal-panel

Advanced terminal interface for Atom editor
https://atom.io/packages/atom-terminal-panel
MIT License
98 stars 37 forks source link

Uncaught TypeError: Cannot read property 'description' of undefined #50

Open intrepidcoder opened 9 years ago

intrepidcoder commented 9 years ago

[Enter steps to reproduce below:]

  1. Type %(file) in terminal window.
  2. Press ctrl to view dynamic suggestions list.
  3. Press home, type echo and a space.
  4. Press enter, down arrow
  5. Error

Atom Version: 1.0.3 System: Microsoft Windows 8.1 Thrown From: atom-terminal-panel package, v4.4.4

Stack Trace

Uncaught TypeError: Cannot read property 'description' of undefined

At C:\Users\UserName\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:539

TypeError: Cannot read property 'description' of undefined
  at Object.p.highlight (C:\Users\UserName\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:539:21)
  at Object.p.move (C:\Users\UserName\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:561:9)
  at HTMLInputElement.keyDownHandler (C:\Users\UserName\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:904:35)
  at HTMLInputElement.jQuery.event.dispatch (C:\Users\UserName\AppData\Local\atom\app-1.0.3\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
  at HTMLInputElement.elemData.handle (C:\Users\UserName\AppData\Local\atom\app-1.0.3\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

Config

{
  "core": {
    "audioBeep": false,
    "projectHome": "D:\\Documents\\GitHub",
    "disabledPackages": [
      "atom-jshint",
      "column-select",
      "block-selection-mode"
    ]
  },
  "atom-terminal-panel": {}
}

Installed Packages

# User
atom-terminal-panel, v4.4.4
jshint, v1.3.10
minimap, v4.12.1
Sublime-Style-Column-Selection, v1.3.0

# Dev
No dev packages
ghost commented 9 years ago

Also happens if you don't have a anything suggested in the box and you push the up or down arrow Example:

1: type echo then space 2: hit control to get suggestions 3: then up or down

I realize that there is not really a practical reason to do this but it throws the same error as above

Atom Version: 1.0.7 System: Microsoft Windows 8.1 Pro Thrown From: atom-terminal-panel package, v4.4.4

Stack Trace

Uncaught TypeError: Cannot read property '__hint' of undefined

At C:\Users\Austin\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:559

TypeError: Cannot read property '__hint' of undefined
    at Object.p.move (C:\Users\Austin\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:559:73)
    at HTMLInputElement.keyDownHandler (C:\Users\Austin\.atom\packages\atom-terminal-panel\node_modules\jquery-autocomplete-js\autocomplete.js:916:35)
    at HTMLInputElement.jQuery.event.dispatch (C:\Users\Austin\AppData\Local\atom\app-1.0.7\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLInputElement.elemData.handle (C:\Users\Austin\AppData\Local\atom\app-1.0.7\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

     -8:50 quick-highlight:toggle (atom-text-editor.editor.is-focused)
     -8:41.6.0 find-and-replace:show (atom-text-editor.editor.is-focused)
  9x -8:40.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -8:32.7.0 quick-highlight:clear (atom-text-editor.editor.is-focused)
     -8:28.8.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -8:28.8.0 core:cancel (atom-text-editor.editor.is-focused)
     -7:11.3.0 atom-terminal-panel:toggle-autocompletion (input.autocomplete.autocomplete-input.autocomplete-text)
     -6:48.6.0 atom-terminal-panel:toggle (input.autocomplete.autocomplete-input.autocomplete-text)
     -6:47.8.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-atom-material-ui.white-cursor)
 13x -4:08.6.0 atom-terminal-panel:toggle-autocompletion (input.autocomplete.autocomplete-input.autocomplete-text)
     -2:47.5.0 atom-terminal-panel:toggle (input.autocomplete.autocomplete-input.autocomplete-text)
     -2:41 core:move-up (div.panel.atp-panel.panel-bottom)
     -2:40.3.0 core:move-down (div.panel.atp-panel.panel-bottom)
 10x -2:30.9.0 atom-terminal-panel:toggle-autocompletion (input.autocomplete.autocomplete-input.autocomplete-text)

Config

{
  "core": {
    "disabledPackages": [
      "minimap-codeglance",
      "achievements"
    ],
    "themes": [
      "atom-material-ui",
      "atom-dark-syntax"
    ],
    "autoHideMenuBar": true
  },
  "atom-terminal-panel": {
    "enableConsoleStartupInfo": false,
    "clearCommandInput": false,
    "WindowHeight": 1200
  }
}

Installed Packages

# User
atom-material-ui, v0.5.18
atom-terminal-panel, v4.4.4
highlight-selected, v0.10.1
language-tcl, v0.1.2
language-verilog, v0.3.0
minimap, v4.12.3
minimap-highlight-selected, v4.3.0
quick-highlight, v0.2.2
tabs-to-spaces, v0.11.0
tool-bar, v0.1.8
tool-bar-main, v0.0.8
white-cursor, v0.6.0

# Dev
No dev packages
jeremyramin commented 9 years ago

This seems to be an issue with isis97/autocomplete-js.

thelazydogsback commented 8 years ago

I'm getting this as well