I have 3 files : a.doc, b.doc and c.doc. When I use this module to parse these 3 files , It didn't work , howerve, it works well when it process one single file. what should I do to process lots of files.
My Test :
var officeFilesNames = ['a.doc', 'b.doc', 'c.doc', 'd.doc'];
log(officeFilesNames)
officeFilesNames.forEach(function(officefile) {
office.parse(officefile, function(parseErr, data) {
if(parseErr) {
log('error parse file : ' + officefile, parseErr)
} else {
log('succeed parse file: ' + officefile )
}
})
})
It comes with the error like this:
unoconv: RuntimeException during import phase:
Office probably died. Binary URP bridge disposed during call
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1164, in <module>
run()
File "/usr/bin/unoconv", line 1161, in run
die(exitcode)
File "/usr/bin/unoconv", line 995, in die
if convertor.desktop.getCurrentFrame():
uno.DisposedException: Binary URP bridge already disposed
error parse file : a.doc
1
Another error I have met:
Error: Unable to connect or start own listener. Aborting.
error parse file : a.doc
251
I have 3 files : a.doc, b.doc and c.doc. When I use this module to parse these 3 files , It didn't work , howerve, it works well when it process one single file. what should I do to process lots of files.
My Test :
It comes with the error like this:
Another error I have met: