dkiyatkin / node-office

Parse office documents (doc, docx, xls, etc..)
MIT License
180 stars 31 forks source link

A "spawn ENOENT" error #9

Open exolution opened 10 years ago

exolution commented 10 years ago

my code is

var office=require('office'),fs=require('fs');
console.log(fs.statSync('./test.doc'));// no error
office.parse('test.doc',function(err,data){}); 

follows is error text:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

the file "test.doc" is -rwxr-xr-x

thanks~
bbaaxx commented 10 years ago

I'm having the exact same issue running node v0.10.24.

pavel-mxsf commented 10 years ago

Me too, on Windows 7 x64

palin27 commented 10 years ago

Me too on OSX 10.7.5!

m4a1fox commented 10 years ago

Me too. Looks like t doesn't fixed?!

palin27 commented 10 years ago

I guess unoconv installation is a mandatory requirement in fact fails when child_process call unoconv.

chenop commented 10 years ago

It seems that unoconv is not suitable for Windows - Is that true?

m4a1fox commented 10 years ago

Don't know that yet. But I'll try to install this module for 2 day. Not luck yet. But in my other notebook Mac - All starts work nice. P.S. Thanks man for this module.

chenop commented 10 years ago

Any update on this one? At Windows 7 64bit, got:

events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:988:11) at Process._handle.onexit (child_process.js:779:34)

dkiyatkin commented 10 years ago

I dev this module for linux only... This module does not support Windows. it will happen in the future... maybe.

m4a1fox commented 10 years ago

Thanks man. You save my time.

thehack commented 10 years ago

I'm getting the same issue in OS X.