Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: grammar.tokenizeLines is not a function #113

Open
jilucev opened this issue Jun 19, 2018 · 2 comments
Open

Uncaught TypeError: grammar.tokenizeLines is not a function #113

jilucev opened this issue Jun 19, 2018 · 2 comments

Comments

@jilucev
Copy link

jilucev commented Jun 19, 2018

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.27.2 x64
Electron: 1.7.15
OS: Mac OS X 10.13.5
Thrown From: goto package 1.8.3

Stack Trace

Uncaught TypeError: grammar.tokenizeLines is not a function

At /Users/jillian/.atom/packages/goto/lib/symbol-generator.coffee:20

TypeError: grammar.tokenizeLines is not a function
    at module.exports (/packages/goto/lib/symbol-generator.coffee:20:19)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/packages/goto/lib/symbol-index.coffee:157:23)
    at /packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at Object.traverseTreeSync (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/packages/goto/lib/symbol-index.coffee:111:10)
    at SymbolIndex.module.exports.SymbolIndex.update (/packages/goto/lib/symbol-index.coffee:103:8)
    at SymbolIndex.module.exports.SymbolIndex.gotoDeclaration (/packages/goto/lib/symbol-index.coffee:127:6)
    at Object.gotoDeclaration (/packages/goto/lib/index.coffee:44:22)
    at /packages/goto/lib/index.coffee:30:31)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:110:40)

Commands

     -0:30.7.0 goto:declaration (input.hidden-input)

Non-Core Packages

goto 1.8.3 
@poacher2k
Copy link

poacher2k commented Oct 11, 2018

[Enter steps to reproduce:]

  1. Go into any file
  2. hit ctrl-shift-R or ctrl-r

Atom: 1.32.0-beta3 x64
Electron: 2.0.9
OS: Microsoft Windows 10 Pro
Thrown From: goto package 1.8.3

Stack Trace

Uncaught TypeError: grammar.tokenizeLines is not a function

At C:\Users\daniel_10468\.atom\packages\goto\lib\symbol-generator.coffee:20

TypeError: grammar.tokenizeLines is not a function
    at module.exports (/packages/goto/lib/symbol-generator.coffee:20:19)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/packages/goto/lib/symbol-index.coffee:157:23)
    at /packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/packages/todo-show/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at Object.traverseTreeSync (/packages/todo-show/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/packages/goto/lib/symbol-index.coffee:111:10)
    at SymbolIndex.module.exports.SymbolIndex.update (/packages/goto/lib/symbol-index.coffee:103:8)
    at SymbolIndex.module.exports.SymbolIndex.getAllSymbols (/packages/goto/lib/symbol-index.coffee:94:6)
    at Object.gotoProjectSymbol (/packages/goto/lib/index.coffee:49:22)
    at /packages/goto/lib/index.coffee:28:34)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:345824)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:1222615)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:1218749)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.32.0-beta3/resources/app/static/<embedded>:11:281266)

Commands

     -3:00.5.0 core:save (input.hidden-input)
     -2:58.1.0 intentions:highlight (input.hidden-input)
  3x -2:58 pane:show-next-item (input.hidden-input)
     -2:56.8.0 goto:project-symbol (input.hidden-input)
     -2:51.2.0 intentions:highlight (input.hidden-input)
     -2:51.1.0 goto:project-symbol (input.hidden-input)
  2x -0:21.1.0 intentions:highlight (input.hidden-input)
     -0:19.6.0 command-palette:toggle (input.hidden-input)
     -0:18.9.0 editor:consolidate-selections (input.hidden-input)
     -0:18.9.0 core:cancel (input.hidden-input)
     -0:18.3.0 intentions:highlight (input.hidden-input)
     -0:17.9.0 editor:delete-line (input.hidden-input)
     -0:17.6.0 intentions:highlight (input.hidden-input)
     -0:17.3.0 core:undo (input.hidden-input)
  3x -0:16.9.0 intentions:highlight (input.hidden-input)
     -0:16 goto:project-symbol (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
apostrophe-atom 0.7.0 
atom-beautify 0.33.4 
atom-handlebars 1.3.0 
atom-ide-ui 0.13.0 
atom-import-sort 5.2.0 
atom-monokai 0.10.9 
atom-ternjs 0.18.3 
autocomplete-js-import 1.4.0 
autocomplete-nunjucks 0.5.0 
busy-signal 1.4.3 
craft-twig 0.4.0 
css-comb 2.5.0 
duplicate-line-or-selection 0.9.0 
editorconfig 2.2.2 
emmet 2.4.3 
es6-javascript 1.0.0 
expand-selection-to-quotes 0.11.0 
file-icons 2.1.25 
firestore-rules-grammar 0.4.0 
git-time-machine 2.1.0 
goto 1.8.3 
highlight-line 0.12.0 
highlight-selected 0.14.0 
ide-php 0.7.15 
ide-typescript 0.7.8 
intentions 1.1.5 
jumpy 5.0.2 
language-api-blueprint 1.0.2 
language-babel 2.85.0 
language-ejs 0.4.0 
language-nunjucks 4.2.1 
linter 2.2.0 
linter-eslint 8.4.1 
linter-ui-default 1.7.1 
merge-conflicts 1.4.5 
minimap 4.29.9 
monokai-seti 0.9.0 
php-twig 4.0.0 
pigments 0.40.2 
prettier-atom 0.55.2 
pretty-json 2.0.3 
rename-tabs 0.2.0 
sequential-number 0.5.0 
seti-ui 1.11.0 
snow-dark-syntax 0.1.1 
split-diff 1.5.3 
Stylus 3.2.0 
sublime-block-comment 0.5.1 
swap-selection 0.4.0 
sync-settings 0.8.6 
todo-show 2.3.2 
Zen 0.18.0 

@svileng
Copy link

svileng commented Dec 5, 2018

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Mac OS X 10.14.1
Thrown From: goto package 1.8.3

Stack Trace

Uncaught TypeError: grammar.tokenizeLines is not a function

At /Users/Svilen/.atom/packages/goto/lib/symbol-generator.coffee:20

TypeError: grammar.tokenizeLines is not a function
    at module.exports (/packages/goto/lib/symbol-generator.coffee:20:19)
    at SymbolIndex.module.exports.SymbolIndex.processFile (/packages/goto/lib/symbol-index.coffee:157:23)
    at /packages/goto/lib/symbol-index.coffee:113:24
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:419:13)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at traverse (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:416:15)
    at Object.traverseTreeSync (/packages/goto/node_modules/fs-plus/lib/fs-plus.js:424:14)
    at SymbolIndex.module.exports.SymbolIndex.rebuild (/packages/goto/lib/symbol-index.coffee:111:10)
    at SymbolIndex.module.exports.SymbolIndex.update (/packages/goto/lib/symbol-index.coffee:103:8)
    at SymbolIndex.module.exports.SymbolIndex.getAllSymbols (/packages/goto/lib/symbol-index.coffee:94:6)
    at Object.gotoProjectSymbol (/packages/goto/lib/index.coffee:49:22)
    at /packages/goto/lib/index.coffee:28:34)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349858)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1231210)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1227344)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285037)

Commands

     -0:38.1.0 goto:project-symbol (input.hidden-input)

Non-Core Packages

atom-elixir-formatter 1.0.6 
atom-no-tab-close-button 1.0.0 
busy-signal 1.4.3 
elm-format 3.2.0 
elmjutsu 9.10.1 
goto 1.8.3 
intentions 1.1.5 
language-elixir 0.22.1 
language-elm 1.5.0 
linter 2.2.0 
linter-elixirc 1.7.0 
linter-ui-default 1.7.1 
markdown-table-editor 1.1.1 
pigments 0.40.2 
teletype 0.13.3 
vim-mode-plus 1.36.0 
vim-mode-plus-keymaps-for-surround 0.2.1 
zentabs 0.8.9 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants