Community

Initializing Engine... Unknown COM error: 80004005

Hi ,

Getting below error when running FreEngine on Linux 16.04

 

root@189d082e32be:/opt/ABBYY/FREngine12/Samples/Java/Hello# ./run.sh

Initializing Engine...

Unknown COM error: 80004005

 

0

Comments

6 comments

  • Avatar
    Anthony Hartshorn

    I'm getting the same issue. Was there any resolution?

    0
    Comment actions Permalink
  • Avatar
    robjoy88

    The same issue here using Java. Interestingly, the C++ samples run fine, and as soon as they do, the Java samples start working as well. I'm not sure what the cause is.

    0
    Comment actions Permalink
  • Avatar
    Nadezhda A. Solovyeva

    The reason for your issue is either FineReader Engine or Java incorrect configuration.

    Please try running C++ "Hello" sample to check, if FineReader Engine is configured correctly. If you will receive an error message, then please send it to us.

    0
    Comment actions Permalink
  • Avatar
    robjoy88

    1. Running FRE Hello Java sample: Failed.

     

    2. Running Hello C++ sample: worked.

     

    3. Running Hello Java sample: worked.

     

    OP's issue might be different, but this has fixed it for me. Not sure what the C++ code does that fixes the Java one.

    0
    Comment actions Permalink
  • Avatar
    Erwin Flores

    I had this issue when testing FREngine in a docker container. I performed the "ldd" command on the library files in the "Bin" folder to look for missing dependencies and found that there was a missing dependency: libgomp1. Installing this library allowed me to bypass this problem, but this may vary between installation configurations.

    I also performed the steps of:

    1. Testing the java sample: failed

    2. Testing the C++ sample: worked

    3. Testing the java sample: worked

    Between steps 1 and 2 I had to install g++ and make, so I presumed that the missing dependency was installed when installing g++.

    0
    Comment actions Permalink
  • Avatar
    robjoy88

    Thanks, this is quite helpful.

     

    As far as I am aware, libgomp1 is an OpenMP implementation, and it might just be the solution as you are right, it did get installed with G++ on our test machine as well.

     

    From the System requirements chapter in the documentation:

     

    For the FineReader Engine dynamic library the standard libstdc++.so.6, libgcc_s.so.1 and libgomp.so.1 libraries have to be used.

     

    Unfortunately, package names are not mentioned. Thanks again, @erwin.flores.

    0
    Comment actions Permalink

Please sign in to leave a comment.