Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-09-11 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Status: Answered => Open Michael Böhm is still having a problem: Hi! I tried the same on a VM with Windows 7 and Java 12. only one screen(small) and only 8 GB RAM. Same effect. only it stops after

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-27 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Hi, I tried to run the same script from commandline -> same result, except it crashes at 298 instead of 272. Regards MIchael -- You received this question notification

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-26 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Hi! Thanks for your quick response --- *) if the image is whitespace: NO crash Since whitespace is an idiom in the string/character/regex world (meaning spaces, newlines,

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-26 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 RaiMan proposed the following answer: --- Sorry for spamming this ticket, but just to ensure No excuses ;-) good job! Thank you --- *) if the image is whitespace: NO crash Since whitespace is an idiom in

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Sorry for spamming this ticket, but just to ensure: it is only possible to reproduce, if the region to be OCRed is a pattern without a text. Meaning: *) if the image is

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Hi! actually: using JSYS.gc() at the script makes no difference. following script stalls at loop #294 (which is about 10 later than without gc() ) import

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Here another logfile of the script with the loop: please see the crash right before the library is loaded. And the ABORTKEY event, which is still written to the logfile,

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Dear RaiMan, It is still crashing in my environment. It does not seem to be memory related, as the remaining free memory (based on your script) was 495MB. besides: I am

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: Thanks a lot. I will monitor the behavior. Regards Michael -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Removed link to bug: #1892161 https://bugs.launchpad.net/bugs/1892161 "IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible" -- You received this question

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 RaiMan proposed the following answer: Thanks again for your efforts. But doing my tests, I am rather sure, that this has nothing to do with OCR as such. Internally to trigger the OCR feature, a new

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-25 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Michael Böhm posted a new comment: as the original text was lost, here a copy again: Hi! I can reproduce with following script: Reg=Region(884,1291,104,64) Reg.highlight(2) for i in range(1,1000):

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-24 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 RaiMan proposed the following answer: ... and this is my latest test showing memory usage: Reg=Region(1400+0,675,365,51) Reg.highlight(2) import java.lang.Runtime as RT jrt = RT.getRuntime() print "max:",

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-24 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 RaiMan proposed the following answer: I made the test and can confirm: at the beginning running the snippet from inside the IDE I had the problem (at about 300+). Then after repeating the test (running the

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-24 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Status: Open => Answered RaiMan proposed the following answer: ok, sorry for the mess. I will check. -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-24 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Linked to bug: #1892161 https://bugs.launchpad.net/bugs/1892161 "IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible" -- You received this question

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-23 Thread Michael Böhm
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Status: Answered => Open Michael Böhm is still having a problem: Dear RaiMan, sorry for bothering you. I am still sure this is a bug, as I can reproduce any time. In regards to your questions: --

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-23 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Status: Open => Answered RaiMan proposed the following answer: a better version of your snippet: def text_shrink(Reg): # continously decrease region until OCR gets a match texts=""

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-23 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 Removed link to bug: #1892161 https://bugs.launchpad.net/bugs/1892161 "IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible" -- You received this question

Re: [Sikuli-driver] [Question #692550]: IDE crash when OCR does not find anything. Only 272 unsuccessful calls of text() possible

2020-08-23 Thread RaiMan
Question #692550 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692550 RaiMan posted a new comment: should first be a question -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.