seongjaelee / nvatom

nvatom (unpublished from atom.io)
MIT License
75 stars 14 forks source link

Uncaught Error: cache length is wrong #55

Closed ghost closed 8 years ago

ghost commented 8 years ago
  1. testing nvatom branch topic-35
  2. try to open notes list
  3. notes list opens, and i can search it just fine
  4. type in string and hit enter to create new note
  5. error occurs

Atom Version: 1.8.0 System: Ubuntu 16.04 Thrown From: nvatom package, v0.11.0

Stack Trace

Uncaught Error: cache length is wrong; [REMOVED PRIVATE NOTE FILENAMES]
    at NoteCache.module.exports.NoteCache._assert (/home/nick/.atom/packages/nvatom/lib/note-cache.coffee:90:15)
    at NoteCache.module.exports.NoteCache.upsert (/home/nick/.atom/packages/nvatom/lib/note-cache.coffee:48:6)
    at NoteWatcher.module.exports.NoteWatcher._add (/home/nick/.atom/packages/nvatom/lib/note-watcher.coffee:84:17)
    at FSWatcher.<anonymous> (/home/nick/.atom/packages/nvatom/lib/note-watcher.coffee:78:29)
    at emitTwo (events.js:87:13)
    at FSWatcher.emit (events.js:172:7)
    at FSWatcher.<anonymous> (/home/nick/.atom/packages/nvatom/node_modules/chokidar/index.js:191:15)
    at FSWatcher._emit (/home/nick/.atom/packages/nvatom/node_modules/chokidar/index.js:233:5)
    at FSWatcher.NodeFsHandler._handleFile (/home/nick/.atom/packages/nvatom/node_modules/chokidar/lib/nodefs-handler.js:275:10)
    at FSWatcher.<anonymous> (/home/nick/.atom/packages/nvatom/node_modules/chokidar/lib/nodefs-handler.js:473:21)
    at FSReqWrap.oncomplete (fs.js:82:15)

Commands

     -0:18.6.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:18 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:16.7.0 nvatom:toggle (atom-pane.pane.active)
     -0:07.1.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -0:05.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:02.9.0 nvatom:toggle (atom-pane.pane.active)
     -0:01.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "audioBeep": false,
    "autoHideMenuBar": true,
    "automaticallyUpdate": false,
    "closeEmptyWindows": false,
    "disabledPackages": [
      "about",
      "background-tips",
      "welcome",
      "update-package-dependencies",
      "styleguide",
      "deprecation-cop",
      "exception-reporting",
      "metrics",
      "package-generator",
      "archive-view",
      "merge-conflicts",
      "linter"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      ".remarkrc"
    ],
    "packagesWithKeymapsDisabled": [],
    "projectHome": "/home/nick/Projects",
    "restorePreviousWindowsOnStart": false
  },
  "nvatom": {
    "directory": "/home/nick/Notes"
  }
}

Installed Packages

# User
autocomplete-paths, v1.0.2
block-travel, v1.0.4
external-open, v0.6.3
file-icons, v1.7.15
highlight-selected, v0.11.2
linter-shellcheck, v1.2.0
minimap, v4.24.6
minimap-bookmarks, v0.3.1
minimap-cursorline, v0.2.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-selection, v4.4.0
nvatom, v0.11.0
open-sesame, v0.4.0
project-plus, v0.9.0
recent-files-fuzzy-finder, v0.2.4
sync-settings, v0.7.2
tab-title, v0.3.3
tabs-to-spaces, v1.0.2
toggle-packages, v1.1.0

# Dev
No dev packages