atom / encoding-selector

Pick an encoding for the current editor
MIT License
21 stars 26 forks source link

Not work #1

Closed AlbertSabate closed 10 years ago

AlbertSabate commented 10 years ago

TypeError: undefined is not a function at encoding-selector-status.EncodingStatusView.subscribeToActiveTextEditor (/Users/Albert/.atom/packages/encoding-selector/lib/encoding-status-view.coffee:40:73) at /Users/Albert/.atom/packages/encoding-selector/lib/encoding-status-view.coffee:18:8 at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:71:11) at /Applications/Atom.app/Contents/Resources/app/src/pane-container.js:329:34 at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:71:11) at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:254:22) at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:300:21) at /Applications/Atom.app/Contents/Resources/app/src/workspace.js:481:16 at _fulfilled (/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:749:13) at /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:557:44 at flush (/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:108:17) at process._tickCallback (node.js:378:11) /Applications/Atom.app/Contents/Resources/app/src/workspace.js:497(anonymous function) /Applications/Atom.app/Contents/Resources/app/src/workspace.js:497_rejected /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:797(anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:823Promise.when /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:1035Promise.promise.promiseDispatch /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:741(anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:557flush /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:108_tickCallback node.js:378 2Uncaught TypeError: undefined is not a function /Users/Albert/.atom/packages/encoding-selector/lib/encoding-list-view.coffee:25 50Uncaught TypeError: undefined is not a function

postcasio commented 10 years ago

I don't think this package is ready yet - it needs this pull request to be merged and released first: https://github.com/atom/atom/pull/3987

I think it'll be a core package too, so you don't have to install it manually.

lee-dohm commented 10 years ago

@postcasio is correct. This package requires changes in Atom Core before it will work. I'm going to close this until the feature is merged.

kevinsawicki commented 10 years ago

Yeah, this package will be bundled with Atom 0.141 so please wait until that release before trying to use it.