SlicedSilver / autocomplete-polymer

Polymer element and attribute autocompletions for Atom
https://atom.io/packages/autocomplete-polymer
MIT License
8 stars 1 forks source link

Uncaught TypeError: Cannot read property 'div' of undefined #7

Closed Arsca closed 9 years ago

Arsca commented 9 years ago

[Enter steps to reproduce below:]

  1. open an ejs file
  2. star to edit a element's tag

Atom Version: 0.211.0 System: Mac OS X 10.10.3 Thrown From: autocomplete-polymer package, v0.2.3

Stack Trace

Uncaught TypeError: Cannot read property 'div' of undefined

At /Users/arsca/.atom/packages/autocomplete-polymer/lib/provider.coffee:277

TypeError: Cannot read property 'div' of undefined
  at Object.module.exports.getTagAttributes (/Users/arsca/.atom/packages/autocomplete-polymer/lib/provider.coffee:277:52)
  at Object.module.exports.getAttributeNameCompletions (/Users/arsca/.atom/packages/autocomplete-polymer/lib/provider.coffee:103:22)
  at Object.module.exports.getSuggestions (/Users/arsca/.atom/packages/autocomplete-polymer/lib/provider.coffee:20:8)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:255:56
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:234:17)
  at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:221:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61

Commands

     -1:05.3.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -1:03.5.0 core:confirm (input.hidden-input)
     -1:02.1.0 find-and-replace:show (input.hidden-input)
     -1:00.2.0 core:confirm (input.hidden-input)
     -0:47 editor:select-to-end-of-line (input.hidden-input)
     -0:46.4.0 core:copy (input.hidden-input)
     -0:41.1.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
  2x -0:33.3.0 core:move-down (input.hidden-input)
  2x -0:30.7.0 core:backspace (input.hidden-input)
     -0:27.9.0 core:confirm (input.hidden-input)

Config

{
  "core": {
    "themes": [
      "atom-solarized-dark-ui",
      "solarized-dark-bold-syntax"
    ],
    "projectHome": "/Users/arsca/Development/SIPECO/gitlab/sipeco",
    "disabledPackages": [
      "tualo-git-context",
      "terminal-status",
      "git-difftool",
      "atomatigit",
      "linter-jscs",
      "atom-minjs",
      "symbols-view",
      "tree-view-open-files",
      "fonts"
    ],
    "ignoredNames": [
      "node_modules",
      "assets/js/vendor",
      "assets/js/TimelineJS",
      "assets/js/oracle"
    ]
  }
}

Installed Packages

# User
atom-handlebars, v0.5.0
atom-jasmine, v0.6.0
atom-runner, v2.4.1
atom-solarized-dark-ui, v0.25.0
autoclose-html, v0.18.0
autocomplete-modules, v0.3.6
autocomplete-polymer, v0.2.3
autohide-tree-view, v0.20.2
block-cursor, v0.13.1
block-travel, v1.0.2
color-picker, v2.0.7
docblockr, v0.7.2
ember-cli-helper, v0.7.2
ember-snippets, v1.2.1
emmet, v2.3.10
file-icons, v1.5.8
git-log, v0.4.1
git-tab-status, v1.9.2
javascript-snippets, v1.0.0
johns-work-arounds, v0.18.0
js-patterns-atom-snippets, v0.2.1
jsformat, v0.9.0
json-colorer, v0.3.0
language-ejs, v0.1.0
language-ember-htmlbars, v0.3.0
language-ember-script, v0.2.0
language-gitignore, v0.2.0
last-cursor-position, v0.9.0
linter, v1.0.4
linter-csslint, v0.0.13
linter-eslint, v1.0.7
linter-htmlhint, v0.0.16
live-archive, v0.1.15
local-history, v3.2.3
markdown-format, v2.5.1
minimap, v4.10.0
minimap-git-diff, v4.1.3
node-debugger, v1.1.0
pretty-json, v0.3.3
project-manager, v1.15.10
project-view, v0.1.2
react, v0.12.0
remote-edit, v1.8.2
remote-sync, v3.1.2
solarized-dark-bold-syntax, v0.2.0
ssh-config, v0.10.1
symbols-tree-view, v0.9.3
tabs-to-spaces, v0.11.0
vim-mode, v0.53.0
vim-surround, v0.7.2

# Dev
No dev packages
SlicedSilver commented 9 years ago

Same underlying issue as #6