Closed LeoUfimtsev closed 9 years ago
Sounds like the package can't find your pandoc
executable. Have you set the pandoc.cmd
config setting?
I'm having the same thing on OS X 10.10 . I can set panic.cmd or leave it blank, change open
to env open
in the executable, it doesn't matter. Pandoc runs fine from terminal, as does the standard Markdown previewer.
It turns out the pandoc in my path (that I was also entering into pandoc.cmd) was a symbolic link. I changed the panic.cmd to the actual executable and that fixed things. FYI, I installed pandoc w/ Homebrew
I juts get lots of uncaught exceptions.
Regular markdown preview works.
Uncaught Error: spawn ENOTDIR util.js:742exports._errnoException util.js:742ChildProcess.spawn child_process.js:1160exports.spawn child_process.js:993module.exports pandoc-command.coffee:16module.exports.PandocView.render pandoc-view.coffee:50module.exports.show pandoc.coffee:19(anonymous function) pandoc.coffee:11handler /usr/local/share/atom/resources/app/src/space-pen-extensions.js:107jQuery.event.dispatch /usr/local/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4681elemData.handle /usr/local/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4359module.exports.CommandRegistry.handleCommandEvent /usr/local/share/atom/resources/app/src/command-registry.js:253(anonymous function) /usr/local/share/atom/resources/app/src/command-registry.js:3module.exports.CommandRegistry.dispatch /usr/local/share/atom/resources/app/src/command-registry.js:166jQuery.fn.trigger /usr/local/share/atom/resources/app/src/space-pen-extensions.js:56module.exports.CommandPaletteView.confirmed /usr/local/share/atom/resources/app/node_modules/command-palette/lib/command-palette-view.js:118module.exports.SelectListView.confirmSelection /usr/local/share/atom/resources/app/src/select-list-view.js:331(anonymous function) /usr/local/share/atom/resources/app/src/select-list-view.js:113handler /usr/local/share/atom/resources/app/src/space-pen-extensions.js:107jQuery.event.dispatch /usr/local/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4681elemData.handle /usr/local/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4359module.exports.CommandRegistry.handleCommandEvent /usr/local/share/atom/resources/app/src/command-registry.js:253(anonymous function) /usr/local/share/atom/resources/app/src/command-registry.js:3module.exports.KeymapManager.dispatchCommandEvent /usr/local/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:544module.exports.KeymapManager.handleKeyboardEvent /usr/local/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:386module.exports.WindowEventHandler.onKeydown