[Sikuli-driver] [Bug 1852823] Re: [2.0.0] An error occurs if you execute the type command without opening the IDE
Hello, RaiMan! I want to know the type(key) correction forecast because I have this problem in version 2.0.4. I need this feature to get my work going. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1852823 Title: [2.0.0] An error occurs if you execute the type command without opening the IDE Status in Sikuli: Invalid Bug description: Hello. Executing the following script from the command line results in an error. It runs normally when run from the IDE. How can I solve it? Environment: OS Version: Windows 10 Home 1809(17763.864) Sikuli version: 2.0.0 Java version: openjdk version "12.0.2" 2019-07-16 Script:(sikulix-test.sikuli ---> sikulix-test.py) - 1 type('r', Key.WIN) Run Command: C:\projects\sikulix-test>java -jar C:\sikulix\sikulix-2.0.0.jar -r sikulix-test.sikuli Output: --- [log] ( メタ ) TYPE "r" [error] script [ sikulix-test ] stopped with error in line 1 [error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Key: Not supported character: r ) [error] --- Traceback --- error source first line: module ( function ) statement 1: main ( ) type('r', Key.WIN) [error] --- Traceback --- end -- To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1852823/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692714]: [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
Question #692714 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692714 Status: Needs information => Answered RaiMan proposed the following answer: These have nothing to do with SikuliX: sikuli-core-1.2.2 serializer-2.7.2 sikuli-api-1.2.0 sikuli-java-1.0 C:\BUILD\resources\dependencies\libs\WinUtil.dll This is SikuliX, but no longer supported: sikulixapi-1.1.1-SNAPSHOT See http://www.sikulix.com/ -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692727]: OCR.oem(0) crash when variables set
Question #692727 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692727 Status: Open => Answered RaiMan proposed the following answer: I guess, the problem is the tessdata stuff, which is only suitable for LSTM. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #692727]: OCR.oem(0) crash when variables set
New question #692727 on Sikuli: https://answers.launchpad.net/sikuli/+question/692727 hello, I'm setting up some OCR variables to have better results in OCRing some text that is a kind of code (so no dictionaries): #OCR.globalOptions().oem(0) OCR.globalOptions().variable("tessedit_char_whitelist", "0123456789ABCDEF") OCR.globalOptions().variable("tessedit_char_blacklist", "SsOo") OCR.globalOptions().variable("load_system_dawg", "F") OCR.globalOptions().variable("load_freq_dawg", "F") Since I've read on the web that LTSM for tesseract 4 seems not to take into account the black and white lists (I verified that there are results that doesn't match with these) I tried with the old behavior oem(0) by uncomment the first line above. When I try to do OCR with this OEM I have a crash with this message: [error] script [ myscript ] stopped with error in line 571 [error] java.lang.Error ( java.lang.Error: Invalid memory access ) [error] --- Traceback --- error source first line: module ( function ) statement 571: main ( ) linescode=rAppo.textLines() [error] --- Traceback --- end -- While with the commented line above it works but with the OCR problems I wrote above the question is: what I'm missing/doing wrongly? Thanks a lot for support this is my configuration: 2.0.4-2020-03-14_08:01/Windows10.0/Java8(64)1.8.0_251-b08 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692656]: PLEASE HELP! Use Python in SikuliX IDE?
Question #692656 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692656 Status: Needs information => Solved Pedro Lebre confirmed that the question is solved: Thank you for responding. I was able to fix this. The solution was to add both the sikulix-2.0.1 jar file AND the sikulixide-2.0.4 jar file in the same directory. Once I did this, everything worked. Previously, I only had the sikulix-2.0.1 jar file on my machine. Thank you so much. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #692723]: OCR.readLines how to intepret results?
New question #692723 on Sikuli: https://answers.launchpad.net/sikuli/+question/692723 hello, I'm trying to parse an image similar to an excel spreadsheet that contains lines of text that I have to OCR and have divided one per row. I was using something like: ListStr=rAppoDTC.textLines() obtaining a list of the text present one by one on the lines. Now I'd like to use OCR.readLines But this API returns a list of matches instead of a list of strings. I suppose there is a way to extract also the text. I've tried this: linescode=rAppoDTC.textLines() log.writeLogAll ("Lines="+str(linesPcode)) it works linescode2=OCR.readLines(rAppoDTC) for m in linescode2: apporeg=Region(m) log.writeLogAll ("LinesText=" + OCR.readText(apporeg)) and this gives me this error: [error] java.lang.NullPointerException ( java.lang.NullPointerException ) [error] --- Traceback --- error source first line: module ( function ) statement 576: main ( ) log.writeLogAll ("LinesText=" + OCR.readText(apporeg)) [error] --- Traceback --- end -- The main question is: how do I extract text from the matches that are returned by OCR.readLines? this is my configuration: 2.0.4-2020-03-14_08:01/Windows10.0/Java8(64)1.8.0_251-b08 Thanks in advance -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692714]: [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
Question #692714 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692714 Shaik Saleem Malik posted a new comment: C:\BUILD\resources\dependencies\libs\WinUtil.dll exists in the correct path. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692714]: [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
Question #692714 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692714 Shaik Saleem Malik posted a new comment: Hello RaiMan, I was using java version 1.8.0_202 previously. Now i updated to 1.8.0_262. My colleagues with old version aren't facing the issue. I am using following jar files. sikuli-core-1.2.2 serializer-2.7.2 sikuli-api-1.2.0 sikuli-java-1.0 sikulixapi-1.1.1-SNAPSHOT Do i need update to new version? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692711]: textLines method for region options only global?
Question #692711 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692711 Status: Answered => Solved matteoa confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692714]: [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
Question #692714 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692714 Status: Open => Needs information RaiMan requested more information: I have seen, that this question is related to SikuliLibrary. So please give concrete information, about your setup. It might be a problem with 32Bit/64Bit inconsistency. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692714]: [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
Question #692714 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692714 Description changed to: related to the usage of https://github.com/smysnk/sikuli-framework [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll Above mentioned error thrown. Java version upgraded form 1.8.0_202 to 1.8.0_261. Before the update i didn't see above error message. Can you please look into the issue. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692711]: textLines method for region options only global?
Question #692711 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692711 Status: Open => Answered RaiMan proposed the following answer: If you want to use your own options set instead of the implizit global options: OCR.readlines(someRegion, myOptions) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp