leny / atom-tree-ignore

Use a .atomignore file to hide files & folder in tree view
MIT License
41 stars 13 forks source link

Uncaught TypeError: Cannot read property '/home/sayth/Projects/conv_xml/conv_xml/' of undefined #22

Closed MortalCatalyst closed 8 years ago

MortalCatalyst commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.5.3 System: Ubuntu 14.04.3 Thrown From: tree-ignore package, v0.6.1

Stack Trace

Uncaught TypeError: Cannot read property '/home/sayth/Projects/conv_xml/conv_xml/' of undefined

At /home/sayth/.atom/packages/tree-ignore/lib/tree-ignore.js:157

TypeError: Cannot read property '/home/sayth/Projects/conv_xml/conv_xml/' of undefined
    at _fHandleIgnoreFile (/home/sayth/.atom/packages/tree-ignore/lib/tree-ignore.js:157:40)
    at HTMLSpanElement.<anonymous> (/home/sayth/.atom/packages/tree-ignore/lib/tree-ignore.js:106:31)
    at Function.jQuery.extend.each (/opt/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:374:23)
    at [object Object].jQuery.fn.jQuery.each (/opt/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:139:17)
    at _fUpdate (/home/sayth/.atom/packages/tree-ignore/lib/tree-ignore.js:92:46)
    at _fApply (/home/sayth/.atom/packages/tree-ignore/lib/tree-ignore.js:72:5)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at /opt/atom/resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/opt/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/opt/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/opt/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at /opt/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:544:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:363:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/opt/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/opt/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -1:12.7.0 core:select-all (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -1:11.7.0 vim-mode:reset-normal-mode (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -1:09.6.0 core:paste (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
 17x -1:08.5.0 core:backspace (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -1:05.9.0 core:paste (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
 13x -1:04.8.0 core:backspace (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
  2x -0:59.2.0 vim-mode:increase (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -0:54.8.0 vim-mode:activate-insert-mode (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -0:53.8.0 core:select-all (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -0:51.7.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -0:48.2.0 core:paste (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:46.6.0 core:save (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:15.5.0 command-palette:toggle (div.package-readme.native-key-bindings)
  6x -0:11.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:01.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.3.0 tree-ignore:enable (div.package-readme.native-key-bindings)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "cold-syntax"
    ]
  },
  "tree-ignore": {}
}

Installed Packages

# User
atom-beautify, v0.28.22
atom-django, v0.3.2
atom-python-debugger, v0.3.4
atom-ternjs, v0.13.2
autocomplete-python, v1.6.1
cold-syntax, v1.3.0
color-picker, v2.1.1
css-snippets, v0.9.0
foldingtext-for-atom, v0.9.2
fonts, v1.1.0
json-schema, v0.1.15
jsonlint, v1.1.2
language-gitignore, v0.2.0
linter, v1.11.3
linter-pylama, v0.2.6
linter-xmllint, v1.3.2
markdown-preview-plus, v2.2.2
markdown-writer, v2.3.1
minimap, v4.19.0
pigments, v0.24.0
pretty-json, v0.4.1
preview-plus, v1.2.6
python-autopep8, v0.1.3
python-tools, v0.6.7
threejs-snippets, v0.0.8
tree-ignore, v0.6.1
vim-mode, v0.64.0
vim-surround, v0.8.1

# Dev
No dev packages