Re: [Sikuli-driver] [Question #667374]: Sikuli image recognition fails for ThinkPad T470/Windows different OS version

2018-03-31 Thread masuo
Question #667374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667374

Status: Open => Answered

masuo proposed the following answer:
I think this is useful.

[HowTo] Running sikuli script on different machines - image search fails
https://answers.launchpad.net/sikuli/+question/647444

-- 
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 #667426]: setup failed

2018-03-31 Thread Stephen Yang
New question #667426 on Sikuli:
https://answers.launchpad.net/sikuli/+question/667426

I'm new to sikuli. And there is a confusing problem during the setup.

[debug (18-3-31 20:30:56)] RunSetup: adding needed stuff to sikulix.jar
[debug (18-3-31 20:30:56)] FileManager: buildJar: sikulixtemp.jar
[debug (18-3-31 20:30:56)] FileManager: buildJar: adding: sikulix.jar
[debug (18-3-31 20:31:12)] FileManager: buildJar: adding: sikulixjython.jar
[error (18-3-31 20:31:39)] FileManager: buildJar: java.io.EOFException: 
Unexpected end of ZLIB input stream
[debug (18-3-31 20:31:39)] RunSetup: renaming sikulixtemp.jar to target jar: 
sikulix.jar
[debug (18-3-31 20:31:39)] RunSetup: rename did not work --- trying copy
[debug (18-3-31 20:31:41)] FileManager: deleteFileOrFolder:
C:\sikuli\sikulixtemp.jar
[error (18-3-31 20:31:41)] RunSetup: did not work
[error (18-3-31 20:31:41)] RunSetup: 
[error (18-3-31 20:31:41)] RunSetup: ... terminated abnormally :-(
[debug (18-3-31 20:31:41)] RunSetup: 
popError: 
Something serious happened! Sikuli not useable!
Check the error log at C:\sikuli\SikuliX-1.1.3-SetupLog.txt

[debug (18-3-31 20:31:45)] RunTimeSETUP: final cleanup
[debug (18-3-31 20:31:46)] FileManager: deleteFileOrFolder:
C:\Users\xxx\AppData\Local\Temp\Sikulix_1717040835

Sikuli 1.1.3
jython 2.7.1
Thanks for your help.

-- 
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 #667420]: Linux Drag and Drop

2018-03-31 Thread Jeff_Vallis
New question #667420 on Sikuli:
https://answers.launchpad.net/sikuli/+question/667420

1.1.2(2018-03-08_08:37)/Linux4.13.0-37-generic/Java8(64)1.8.0_161-b12
Read all I can find on Drag and Drop - you can see I have been trying other 
answered question
# I want to Drag the screen up to see the lower part of the screen
# When I find how to do this I need to drag screen fromleft to right to alsosee 
the missing side info
# Can someone give me an example that works 
# This Code did nothing
if 1 == 1:
#print "Drag Down"
#dragregion = Location(817, 688)
#dropRegion = Location(817, 210)
x1 = Location(817, 688)
x2 = Location(817, 210)
print "Drag Up"
dropregion = x1
dragRegion = x2
hover(dragregion) ; wait (2) ; hover(dropRegion) ; wait(2)
click(dragregion)
if 1 == 1:
# Try Drag and Drop
#What I really wanted to do was this 
print "DragDrop Down"
v_result = dragDrop(dragregion, dropRegion)
keyUp()
print v_result
if 1 == 0:
print "Manual Drag Drop"
mouseDown(Button.LEFT)
v_result = mouseMove(dropRegion)
mouseUp(Button.LEFT)
print v_result

Any replies would be appreciated
Just in case U are wondering - Manula Drag and drop on th scrren does work
ie. Left Click and hold move cursor up release

-- 
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 #666773]: How to get on the road as a newcomer to Java programming

2018-03-31 Thread RaiMan
Question #666773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/666773

RaiMan posted a new comment:
-  there is no continuous increase or decrease,
This is how the GC works: completely asynchronous and unpredictable within the 
given ranges. As I understand: it tries to work, when cpu usage allows it.

- time varies between 3 and up to 40 ms
no idea - I think you have to live with that (might be caused by my internal 
basic threading implementation)

You might dive into and implement your own parallel find, that tries to
reuse resources as much as possible.

Generally: since your loop mainly is searching images, it is mostly
number crunching leading to a very high cpu usage. If other processes on
the machine consume CPU, this will influence your loop timing of course.

-- 
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