atom-nav-panel icon indicating copy to clipboard operation
atom-nav-panel copied to clipboard

Uncaught TypeError: Cannot read property 'trim' of undefined

Open wolfspyre opened this issue 9 years ago • 1 comments

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.6.0-beta7 System: Mac OS X 10.11.4 Thrown From: nav-panel package, v0.0.11

Stack Trace

Uncaught TypeError: Cannot read property 'trim' of undefined

At /Users/loiosh/.atom/packages/nav-panel/lib/nav-parser.coffee:150

TypeError: Cannot read property 'trim' of undefined
    at NavParser.module.exports.NavParser.parseRule (/Users/loiosh/.atom/packages/nav-panel/lib/nav-parser.coffee:150:50)
    at /Users/loiosh/.atom/packages/nav-panel/lib/nav-parser.coffee:42:23
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Commands

     -0:20.6.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-solarized-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "linter-pep8",
      "language-gfm",
      "open-in-sourcetree",
      "language-python-mamba"
    ],
    "projectHome": "~/ownCloud/Git_Repos/Wolfspyre.io/",
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  },
  "nav-panel": {
    "topGroups": "Bookmarks, Todo, Function, Variable"
  }
}

Installed Packages

# User
autocomplete-python, v1.7.0
autocomplete-ruby, v0.1.0
bottom-dock, v0.3.7
git-log, v0.4.1
git-tab-status, v1.9.2
go-find-references, v1.2.3
go-plus, v3.5.4
gutter-shadow, v0.6.0
json-schema, v0.1.15
language-chef, v0.8.0
language-docker, v1.1.6
language-dockerfile, v0.1.0
language-markdown, v0.11.0
language-puppet, v0.17.0
language-terraform, v0.7.2
linter, v1.11.3
linter-foodcritic, v0.5.2
linter-jsonlint, v1.1.6
linter-manager, v0.2.9
linter-pylint, v1.2.0
linter-ruby, v1.2.2
linter-xmllint, v1.3.4
markdown-deluxe, v1.0.0
markdown-preview-plus, v2.2.2
markdown-scroll-sync, v2.1.2
minimap, v4.19.0
minimap-bookmarks, v0.2.0
minimap-codeglance, v0.4.5
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-linter, v1.1.1
minimap-pigments, v0.1.7
minimap-selection, v4.3.1
nav-panel, v0.0.11
package-manager-commands, v2.0.3
pigments, v0.24.2
pretty-json, v0.4.1
python-tools, v0.6.7
rspec-snippets, v0.4.0
ruby-block, v0.3.5
scheme-syntax, v0.4.0
snippets, v1.0.1
synced-sidebar, v0.4.3
terminal-plus, v0.14.5
tidy-markdown, v2.0.0
todo-manager, v0.2.6
travis-ci-status, v1.0.0
xml-tools, v0.2.1

# Dev
No dev packages

wolfspyre avatar Mar 08 '16 04:03 wolfspyre

👍 getting the same. From what I'm able to tell it has something to do with the .nav-marker-rules file, as after the error is thrown the custom rules don't seem to resolve.

I like the idea behind this project, its sad to see all of these fairly old open issues without any response.

joseym avatar Jun 15 '16 14:06 joseym