Skip to content

unoconv: RuntimeException during import phase: #13

Description

@zunkun

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions