Open dantman opened 9 years ago
It seems the deprecated field workspaceView
were removed in your version. I'll try to fix it in the upcoming days. Thanks for reporting!
I have this kind of problem but it happens when activation the package: I get an error: 'Failed to activate the math-selection package' 'Cannot read property 'eachEditorView' of undefined' Stack Trace :
TypeError: Cannot read property 'eachEditorView' of undefined
at Object.module.exports.activate (file:///C:/Users/abdul/.atom/packages/math-selection/lib/math-selection.coffee:32:23)
at Package.module.exports.Package.activateNow (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:183:20)
at C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:156:32
at Package.module.exports.Package.measure (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:92:15)
at C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:149:26
at Package.module.exports.Package.activate (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:146:34)
at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package-manager.js:538:21)
at C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package-manager.js:342:19
at C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\config.js:631:20
at Function.module.exports.Emitter.simpleDispatch (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
at Config.module.exports.Config.emitChangeEvent (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\config.js:816:29)
at Config.module.exports.Config.setRawValue (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\config.js:608:19)
at Config.module.exports.Config.set (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\config.js:227:14)
at Config.module.exports.Config.removeAtKeyPath (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\config.js:377:12)
at Package.module.exports.Package.enable (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:77:26)
at PackageManager.module.exports.PackageManager.enablePackage (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package-manager.js:169:14)
at HTMLButtonElement.<anonymous> (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\settings-view\lib\package-card.js:328:27)
at HTMLButtonElement.jQuery.event.dispatch (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
at HTMLButtonElement.elemData.handle (C:\Users\abdul\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)
Hi @muja,
any clue to help us to solve it ourself even if we don't know about APM system ?
@rbecheras it's that the APIs changed. When I wrote this package it was still in Beta and now the eachEditorView
method has been removed. When I looked over it, I couldn't find a replacement so I gave up.
Apparently there is a lot of demand for this package, so I will take a look into their new APIs and roll out a fix.
This should be fixed now, works for me on the latest Atom. Can you confirm?
[Enter steps to reproduce below:]
math-selection:replace
command.Atom Version: 0.208.0 System: Mac OS X 10.9.5 Thrown From: math-selection package, v0.1.1
Stack Trace
Failed to activate the math-selection package
Commands
Config
Installed Packages