Uncaught TypeError: editor.getPath is not a function #1

Open
opened 2017-05-05 12:35:30 +00:00 by whitequill · 0 comments
whitequill commented 2017-05-05 12:35:30 +00:00 (Migrated from github.com)

[Enter steps to reproduce:]

  1. Install the add-on
  2. restart Atom
    Atom will freeze and not be able to start correctly.
    The only way to remove exoshader is to go to 'C:\\.atom\packages' and delete it manually.

After removal Atom continued to freeze and I needed to reinstall Atom.

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Microsoft Windows 10 Pro
Thrown From: exoshader package 0.5.0

Stack Trace

Uncaught TypeError: editor.getPath is not a function

At C:\Users\brazg\.atom\packages\exoshader\lib\exoshader.coffee:36

TypeError: editor.getPath is not a function
    at Object.forceFileUpdate (/packages/exoshader/lib/exoshader.coffee:36:59)
    at /packages/exoshader/lib/exoshader.coffee:29:8
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
    at /app.asar/src/pane-container.js:348:27
    at Pane.module.exports.Pane.observeActiveItem (/app.asar/src/pane.js:241:7)
    at /app.asar/src/pane-container.js:346:42
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
    at PaneContainer.module.exports.PaneContainer.setActivePane (/app.asar/src/pane-container.js:198:22)
    at Pane.module.exports.Pane.activate (/app.asar/src/pane.js:850:14)
    at Pane.module.exports.Pane.focus (/app.asar/src/pane.js:252:21)
    at /app.asar/src/pane-element.js:50:23)

Commands

     -9:22.5.0 core:select-all (input.hidden-input)
     -9:21.6.0 core:copy (input.hidden-input)
     -4:37.8.0 core:confirm (input.hidden-input)
  4x -4:30.8.0 core:backspace (input.hidden-input)
     -4:26.9.0 core:confirm (input.hidden-input)
  2x -4:18.2.0 core:backspace (input.hidden-input)
     -3:36.9.0 application:open-file (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:09.2.0 grammar-selector:show (input.hidden-input)

Non-Core Packages

exoshader 0.5.0 
language-powershell 4.0.0 
[Enter steps to reproduce:] 1. Install the add-on 2. restart Atom Atom will freeze and not be able to start correctly. The only way to remove exoshader is to go to 'C:\\<user directory>\\.atom\packages' and delete it manually. After removal Atom continued to freeze and I needed to reinstall Atom. **Atom**: 1.16.0 x64 **Electron**: 1.3.13 **OS**: Microsoft Windows 10 Pro **Thrown From**: [exoshader](https://github.com/blackjack75/exoshader) package 0.5.0 ### Stack Trace Uncaught TypeError: editor.getPath is not a function ``` At C:\Users\brazg\.atom\packages\exoshader\lib\exoshader.coffee:36 TypeError: editor.getPath is not a function at Object.forceFileUpdate (/packages/exoshader/lib/exoshader.coffee:36:59) at /packages/exoshader/lib/exoshader.coffee:29:8 at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14) at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28) at /app.asar/src/pane-container.js:348:27 at Pane.module.exports.Pane.observeActiveItem (/app.asar/src/pane.js:241:7) at /app.asar/src/pane-container.js:346:42 at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14) at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28) at PaneContainer.module.exports.PaneContainer.setActivePane (/app.asar/src/pane-container.js:198:22) at Pane.module.exports.Pane.activate (/app.asar/src/pane.js:850:14) at Pane.module.exports.Pane.focus (/app.asar/src/pane.js:252:21) at /app.asar/src/pane-element.js:50:23) ``` ### Commands ``` -9:22.5.0 core:select-all (input.hidden-input) -9:21.6.0 core:copy (input.hidden-input) -4:37.8.0 core:confirm (input.hidden-input) 4x -4:30.8.0 core:backspace (input.hidden-input) -4:26.9.0 core:confirm (input.hidden-input) 2x -4:18.2.0 core:backspace (input.hidden-input) -3:36.9.0 application:open-file (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui) -2:09.2.0 grammar-selector:show (input.hidden-input) ``` ### Non-Core Packages ``` exoshader 0.5.0 language-powershell 4.0.0 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
santiago/exoshader#1
No description provided.