Skip to content

Unable to load unicharset file tessdatatessdata/eng.unicharset #10

@PierceandPierce

Description

@PierceandPierce

Hi Team,

I am running Jruby (1.7.9) with Cucumber to execute Sikuli scripts (v0.3.0).
Based on the error message, I suspect the error is Sikuli based.

The error I am seeing is:
"unable to load unicharset file tessdatatessdata/eng.unicharset"

When using IF statements in Sikuli scripts, that are run as a module within cucumber (in the features/support/mymodule.rb) with an example below:

if @screen.exists("c:/Sikuli Image Database/Database/pgadmin_results_exist.png",2)
#do the normal flow
print "FOUND IT"
else
print "HIT THE ELSE"
#we do the second sequence
@screen2 = Sikuli::Screen.new
@screen2.click("c:/Sikuli Image Database/Database/pgadmin_no.png")
sleep 0.5

When I hit the "else", regardless of what code I put here, if it is Sikuli specifc it throws the error mentioned above. To clarify, if I comment out the Sikuli calls, the print statement from cucumber still works correctly.

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