atom / deprecation-cop

Shows a list of deprecated calls
MIT License
12 stars 19 forks source link

Atom won't open files, throws "Uncaught TypeError: undefined is not a function" in inline-view.coffee #13

Closed mickburkesnr closed 9 years ago

mickburkesnr commented 9 years ago

I'm running Atom on openSuSE 13.2 and it was working perfectly up until this morning. I open any files (PHP, YAML etc) and the title of the window changes but the contents of the file isn't dislpayed.

Then the following error is given:

TypeError: undefined is not a function
  at InlineView.render (/home/michael/.atom/packages/linter/lib/inline-view.coffee:13:23)
  at LinterView.updateViews (/home/michael/.atom/packages/linter/lib/linter-view.coffee:200:19)
  at LinterView.display (/home/michael/.atom/packages/linter/lib/linter-view.coffee:188:6)
  at /home/michael/.atom/packages/linter/lib/linter-view.coffee:75:10
  at Config.module.exports.Config.observeKeyPath (/usr/local/share/atom/resources/app/src/config.js:556:9)
  at Config.module.exports.Config.observe (/usr/local/share/atom/resources/app/src/config.js:133:21)
  at LinterView.handleConfigChanges (/home/michael/.atom/packages/linter/lib/linter-view.coffee:72:36)
  at new LinterView (/home/michael/.atom/packages/linter/lib/linter-view.coffee:36:6)
  at /home/michael/.atom/packages/linter/lib/init.coffee:77:24
  at /usr/local/share/atom/resources/app/src/workspace.js:278:16
  at /usr/local/share/atom/resources/app/src/workspace.js:323:18
  at Emitter.module.exports.Emitter.emit (/usr/local/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)
  at PaneContainer.module.exports.PaneContainer.addedPaneItem (/usr/local/share/atom/resources/app/src/pane-container.js:374:27)
  at /usr/local/share/atom/resources/app/src/pane-container.js:361:26
  at Emitter.module.exports.Emitter.emit (/usr/local/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)
  at Pane.module.exports.Pane.addItem (/usr/local/share/atom/resources/app/src/pane.js:338:20)
  at Pane.module.exports.Pane.activateItem (/usr/local/share/atom/resources/app/src/pane.js:317:14)
  at /usr/local/share/atom/resources/app/src/workspace.js:483:16
  at _fulfilled (/usr/local/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:787:54)
  at self.promiseDispatch.done (/usr/local/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:816:30)
  at Promise.promise.promiseDispatch (/usr/local/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:749:13)
  at /usr/local/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:557:44
  at flush (/usr/local/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:108:17)
  at process._tickCallback (node.js:378:11)
 /usr/local/share/atom/resources/app/src/workspace.js:499

And

Uncaught TypeError: undefined is not a function - from /home/michael/.atom/packages/linter/lib/inline-view.coffee:24
lee-dohm commented 9 years ago

This issue was moved to atom/atom#4664