Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after file conversion #2

Open
blindibrasil opened this issue Dec 12, 2019 · 2 comments
Open

Error after file conversion #2

blindibrasil opened this issue Dec 12, 2019 · 2 comments

Comments

@blindibrasil
Copy link

blindibrasil commented Dec 12, 2019

How to resolve this error after file conversion?

Error: func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26

    at ChildProcess.<anonymous> (/home/blindi/www/blindi/doctest/node_modules/awesome-unoconv/dist/converter.js:147:23)
    at ChildProcess.emit (events.js:189:13)
    at maybeClose (internal/child_process.js:970:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
@zxhaaa6
Copy link
Owner

zxhaaa6 commented Feb 10, 2020

Should make sure your LibreOffice version is 4.2.5

@blindibrasil
Copy link
Author

blindibrasil commented Feb 10, 2020

I had corrected it by doing the following:
In line 145 - awesome-unoconv/dist/converter.js

unoconv.on('close', function (code) {
      if (stderr.length === 0) {
        return reject(new Error(Buffer.concat(stderr).toString('utf8')));
      }
      
      resolve(option.output);
    });```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants