ruivieira / latex-friend

Atom package with extra utilities for LaTeX editing
https://atom.io/packages/latex-friend
MIT License
6 stars 1 forks source link

Failed to activate the latex-friend package #15

Open aawadall opened 8 years ago

aawadall commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Ubuntu 16.04 Thrown From: latex-friend package, v0.0.10

Stack Trace

Failed to activate the latex-friend package

At Cannot read property 'onDidChangeCursorPosition' of undefined

TypeError: Cannot read property 'onDidChangeCursorPosition' of undefined
    at Object.activate (/home/ahmad/.atom/packages/latex-friend/lib/latex-friend.js:59:34)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:183:20)
    at /usr/share/atom/resources/app.asar/src/package.js:795:25
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:20)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -0:13 application:add-project-folder (span.name.icon.icon-file-directory)
     -0:00.9.0 latex-friend:syncpdf (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "disabledPackages": [
      "atom-wallaby",
      "todo-manager",
      "todo"
    ],
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
language-latex, v0.6.1
language-matlab, v0.2.1
latex-autocomplete, v0.5.3
latex-friend, v0.0.10
python-tools, v0.6.7

# Dev
No dev packages