Closed csello-landsure closed 1 year ago
I note that the error I am reporting in this ticket is the same one reported in the comments on https://github.com/manykarim/robotframework-doctestlibrary/issues/48
Thank you for your report. I'm wondering if it's just a simple conversion problem as tesseract expects an integer for that value. Will look into it.
ok, I think I fixed that one. Strange why it didn't appear in my Unit or Acceptance Tests. Because I also have float values for confidence there. mhm. Will release it with 0.9.0 in the next days
@manykarim - Thank you very much. My team has come to rely on DocTest Library for many workflows, so we really appreciate the work you put into maintenance!
Took a bit longer, but new 0.9.0 release contains that fix
Hi,
My team just updated our doctest library from a 2021 version (I don't have the exact version) to 0.8.1.
After upgrading, many of our tests started failing with stack traces like this:
The reason I suspect a bug in either the library or one of the external assets is that the values quoted in the stack trace (values like "42.246494") are not being passed to the library by our test code.
I looked at CompareImage.py", line 129 and noticed that the code is interacting in some way with Tesseract. As a workaround, we are now invoking "east" in the library initialization (ocr_engine=east), and now our tests are passing.