Re: [Sikuli-driver] [Question #268807]: Extended View

2015-07-19 Thread Launchpad Janitor
Question #268807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268807

Status: Needs information = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Needs information'
state without activity for the last 15 days.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #269375]: Load Script

2015-07-19 Thread RaiMan
Question #269375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269375

Status: Open = Answered

RaiMan proposed the following answer:
just tested on my OS X 10.10.4, Java 8, latest build: no problems

# script1 (main script)
#from sikuli import *  # not needed in main script
print hello, I am script1
try:
if we_are_in_rerun:
print using reload
reload(script2)
except:
we_are_in_rerun = True
print using import
import script2

# script2
from sikuli import *
print hello, I am script2

both scripts in same folder.

-- 1st run after starting the IDE:
hello, I am script1
using import
hello, I am script2

-- repeating run in same IDE session
hello, I am script1
using reload
hello, I am script2

--- Where can I search for this file on a Mac
the .py file is inside the .sikuli folder, which on Mac is bundle/package.
Finder - File context menu (right mouse button) - Show package content

You received this question notification because you are a member of
Sikuli Drivers, which 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 #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-19 Thread RaiMan
Question #269303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269303

RaiMan posted a new comment:
sikuli-script.jar contains the Jython 2.5, whereas sikuli-java.jar
contains only the Jython and Java API (hence you need an external Jython
to run scripts).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #269375]: Load Script

2015-07-19 Thread Jeff_Vallis
Question #269375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269375

Status: Answered = Open

Jeff_Vallis is still having a problem:
1.1.0(2015-06-23_01:00nightly)/Mac10.10.4/Java8(64)1.8.0_25-b17
Was sticking with this as it works fine 
( apart from the bug where it loses images - changed preferences to NOT delete 
images as per your workaround - see I do search the Big/Questions first )

Before I risk a newer build the Error Message :-
[error] ImportError ( script2.sikuli has no script2.py )
Where can I search for this file on a Mac to see if its just a PATH problem


 On 18 Jul 2015, at 11:56:31, RaiMan question269...@answers.launchpad.net 
 wrote:
 
 Your question #269375 on Sikuli changed:
 https://answers.launchpad.net/sikuli/+question/269375
 
 RaiMan requested more information:
 already tried with a newer build?
 
 -- 
 To answer this request for more information, you can either reply to
 this email or enter your reply at the following page:
 https://answers.launchpad.net/sikuli/+question/269375
 
 You received this question notification because you asked the question.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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] [Bug 1475649] Re: [1.1.0] Offline setup not working - tries to download selenium4sikulix

2015-07-19 Thread RaiMan
should work now with tomorrow's build

** Changed in: sikuli
   Status: New = Fix Committed

** Changed in: sikuli
   Importance: Undecided = Critical

** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None = 1.1.0

** Summary changed:

- [1.1.0] Offline setup not working - tries to download selenium4sikulix
+ [1.1.0] Offline setup not working - tries to download selenium4sikulix --- 
fixed 2015-07-20+

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1475649

Title:
  [1.1.0] Offline setup not working - tries to download selenium4sikulix
  --- fixed 2015-07-20+

Status in Sikuli:
  Fix Committed

Bug description:
  I think offline setup is not working.

  The reason (i think) is that the setup is aways trying to download
  selenium4sikulix.jar and  not asking if we want to use the existing file. 

  I could be wrong tough. 
  I have download every single offline file and setup aways tries to download 
something and gives me an error in the end.

  I tried putting selenium4sikulix.jar in the sikulidata folder
  but it didnt work.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1475649/+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 #269408]: Sikuli for mobile(Flash games) --- how to setup and use image sets for different rendering situations

2015-07-19 Thread RaiMan
Question #269408 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269408

Summary changed to:
Sikuli for mobile(Flash games) --- how to setup and use image sets for 
different rendering situations

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #269408]: Sikuli for mobile(Flash games)

2015-07-19 Thread RaiMan
Question #269408 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269408

Status: Open = Answered

RaiMan proposed the following answer:
-- 1. Is there any way i can you use same image for all the devices
If the image differs depending on the rendering in the device context, you get 
FindFailed:
- if width and/or height is different: not found in any case
- if only pixel content differs, not found depends on similarity score
see for details:
http://sikulix-2014.readthedocs.org/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen
- a general recommendation for the shots: 
as little background as possible towards the edges, concentrate on the key 
visual aspects, that makes the shot unique.

So if you run into the rendering trap, you need a different set of images for 
every different rendering situation.
see --3.

--2. Is there any way to directly run it in mobile devices??
--2. Can i run script in multiple devices simultaneously is there a way to do 
it?
Currently there is no solution to run SikuliX on mobile devices, only against 
emulators and by using VNC solutions (for that consult the net)

3. Can i have example for image library where it can be stored and i can use 
the same image name
To have image libraries that can be used in different environments, this is the 
easiest approach:
-- make your base library as the reference case as some images.sikuli in the 
SikuliX IDE with such content:
image1 = image1.png
image2 = image2.png
...
and have a naming concept for the images.

-- make a copy of the folder images.sikuli as imagesSet1.sikuli
... and recapture the images that need to be recaptured, because they are 
different

-- at runtime decide somehow about the imageset to be used

-- and use with Python scripting so for example:
if isBasicEnvironment:
from images import *
elif isSet1Environment:
from imageSet1 import *
...

or use
setBundlePath(absolute path to imageSet1.sikuli) 
instead of import

for the rest of your script just use the names of the one set of image
variables as defined in images.sikuli

... come back if you are using Java programming.

BTW:
the latest 1.1.0's IDE has a convenience feature:

if you write
image1 = 
in a line and then hit the respective buttons or use the instant shot feature, 
the image file will automatically be named image1.png and will silently 
overwrite an existing image1.png in the current .sikuli.

You received this question notification because you are a member of
Sikuli Drivers, which 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 #269344]: [1.1.0] Running RobotFramework the traditional way (e.g. jybot.bat) again works with 2015-07-20+

2015-07-19 Thread RaiMan
Question #269344 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269344

RaiMan proposed the following answer:
I temporarily removed the Robot stuff from sikulixapi.jar again, until I have a 
solution for the intended integration.
Should work again with tomorrows build.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #269344]: [1.1.0] Running RobotFramework the traditional way (e.g. jybot.bat) again works with 2015-07-20+

2015-07-19 Thread RaiMan
Question #269344 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269344

Summary changed to:
[1.1.0] Running RobotFramework the traditional way (e.g. jybot.bat) again works 
with 2015-07-20+

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-19 Thread Eugene S
Question #269303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269303

Status: Open = Answered

Eugene S proposed the following answer:
To test that I was using Sikuli API that I got using Maven and its version is 
1.1.0
Maybe try this version?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #269348]: Unable to install Version 1.0.1 on windows system

2015-07-19 Thread Lakshmy
Question #269348 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269348

Status: Answered = Open

Lakshmy is still having a problem:
Hi ,

I tried offline setup with 1.1.0 . Java in my machine is version8 and so 
downloaded Jython 2.7.0 and all other offline needed files .
While running the setup jar file failing as below .

[debug (7/19/15 2:30:01 PM)] Debug: setLogFile: 
C:\LakshmyVerizon\Laks_Project_DOCS 
VZT\Automation\FIM\Sikulix\SikuliX-1.1.0-SetupLog.txt
[debug (7/19/15 2:30:01 PM)] RunSetup: ... starting with no args given
[debug (7/19/15 2:30:01 PM)] RunSetup: Setup: 1.1.0 2015-07-19_01:00nightly in 
folder:
C:\LakshmyVerizon\Laks_Project_DOCS VZT\Automation\FIM\Sikulix
[debug (7/19/15 2:30:01 PM)] RunSetup: RunningSystem: Windows 6.1
[debug (7/19/15 2:30:01 PM)] RunSetup: parent of jar/classes: 
C:\LakshmyVerizon\Laks_Project_DOCS VZT\Automation\FIM\Sikulix
[debug (7/19/15 2:30:01 PM)] RunSetup: RunningJava: Java 8 (amd64) 1.8.0_45-b14
[debug (7/19/15 2:30:01 PM)] init user preferences
[debug (7/19/15 2:30:08 PM)] RunSetup: 
popAsk: 
The following file(s) will be downloaded to
C:\LakshmyVerizon\Laks_Project_DOCS VZT\Automation\FIM\Sikulix
--- Native support libraries for Windows (sikulixlibs...)
--- Package 1 ---
null (IDE/Scripting)
null (Java API)
 - with Jython
--- Package 2 ---
null (done in package 1)
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!

[debug (7/19/15 2:30:10 PM)] RunSetup: 
popAsk: 
You have for Windows native libs
C:\Users\v610426\AppData\Roaming\Sikulix\SikulixDownloads_201507190100\sikulixlibswin-1.1.0-20150718.230301-208.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy

[debug (7/19/15 2:30:12 PM)] RunSetup: Copied from Downloads: sikulixlibswin
[debug (7/19/15 2:30:12 PM)] FileManager: resetFolder:
C:\Users\v610426\AppData\Roaming\Sikulix\sikulixlibs\windows
jar:file:/C:/LakshmyVerizon/Laks_Project_DOCS 
VZT/Automation/FIM/Sikulix/sikulixlibswin.jar
[debug (7/19/15 2:30:12 PM)] RunSetup: 
popAsk: 
You have for Java API package
C:\Users\v610426\AppData\Roaming\Sikulix\SikulixDownloads_201507190100\sikulixsetupAPI-1.1.0-20150718.231214-132-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy

[debug (7/19/15 2:30:15 PM)] RunSetup: Copied from Downloads: sikulixapi
[debug (7/19/15 2:30:15 PM)] FileManager: resetFolder:
C:\Users\v610426\AppData\Roaming\Sikulix\Lib
jar:file:/C:/LakshmyVerizon/Laks_Project_DOCS 
VZT/Automation/FIM/Sikulix/sikulixapi.jar
[debug (7/19/15 2:30:15 PM)] RunSetup: 
popAsk: 
You have for SikuliX IDE package
C:\Users\v610426\AppData\Roaming\Sikulix\SikulixDownloads_201507190100\sikulixsetupIDE-1.1.0-20150718.231306-132-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy

[debug (7/19/15 2:30:18 PM)] RunSetup: Copied from Downloads: sikulix
[debug (7/19/15 2:30:18 PM)] RunSetup: 
popAsk: 
If you click YES, you will get Jython version 2.7.0 (recommended)
... but there is an issue with some rare UTF-8/Unicode situations,
that usually appear on startup with UTF-8 ccharacters
somewhere in the system environment
If you encounter such problems with Jython 2.7.0
run setup again and
click NO to get Jython 2.5.4rc1

[debug (7/19/15 2:30:24 PM)] RunSetup: 
popAsk: 
You have for Jython 2.7
C:\Users\v610426\AppData\Roaming\Sikulix\SikulixDownloads\jython-standalone-2.7.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy

[debug (7/19/15 2:30:30 PM)] RunSetup: Copied from Downloads: Jython
[debug (7/19/15 2:30:30 PM)] FileManager: Downloading selenium4sikulix.jar with 
unknown size
[error (7/19/15 2:30:30 PM)] FileManager: problems while downloading
java.net.UnknownHostException: nightly.sikuli.de
[debug (7/19/15 2:30:33 PM)] RunSetup: Download ended
[debug (7/19/15 2:30:33 PM)] RunSetup: Downloads for selected options:
null null jython-standalone-2.7.0.jar 
[debug (7/19/15 2:30:33 PM)] RunSetup: 
popError: 
Some of the downloads did not complete successfully.
Check the logfile for possible error causes.
If you think, setup's inline download is blocked somehow on
your system, you might download the appropriate raw packages manually
into the folder Downloads in the setup folder and run setup again.
download page: http://nightly.sikuli.de/
files to download (information is in the setup log file too)
null null jython-standalone-2.7.0.jar 
Be aware: The raw packages are not useable without being processed by setup!
For other reasons, you might simply try 

Re: [Sikuli-driver] [Question #269348]: Unable to install Version 1.0.1 on windows system

2015-07-19 Thread Lakshmy
Question #269348 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269348

Lakshmy gave more information on the question:
Hi  , I just retried online just selecting option1 and could see it processing 
but failed while copying files to sikulix.jar file 
[debug (7/19/15 4:25:56 PM)] RunSetup: Downloads for selected options:
sikulixsetupIDE-1.1.0-20150718.231306-132-forsetup.jar 
sikulixsetupAPI-1.1.0-20150718.231214-132-forsetup.jar 
jython-standalone-2.7.0.jar 
[debug (7/19/15 4:25:56 PM)] RunSetup: adding needed stuff to sikulix.jar
[debug (7/19/15 4:25:56 PM)] FileManager: buildJar: sikulixtemp.jar
[debug (7/19/15 4:25:57 PM)] FileManager: buildJar: adding: sikulix.jar
[debug (7/19/15 4:25:58 PM)] FileManager: buildJar: adding: sikulixapi.jar
[debug (7/19/15 4:25:58 PM)] FileManager: buildJar: adding: sikulixjython.jar
[error (7/19/15 4:25:59 PM)] FileManager: buildJar: java.io.EOFException: 
Unexpected end of ZLIB input stream
[debug (7/19/15 4:25:59 PM)] RunSetup: renaming sikulixtemp.jar to target jar: 
sikulix.jar
[debug (7/19/15 4:25:59 PM)] RunSetup: rename did not work --- trying copy
[debug (7/19/15 4:25:59 PM)] FileManager: deleteFileOrFolder:
C:\LakshmyVerizon\Laks_Project_DOCS VZT\Automation\FIM\Sikulix\sikulixtemp.jar
[error (7/19/15 4:25:59 PM)] RunSetup: did not work
[error (7/19/15 4:25:59 PM)] RunSetup: 
[error (7/19/15 4:25:59 PM)] RunSetup: ... terminated abnormally :-(
[debug (7/19/15 4:25:59 PM)] RunSetup: 
popError: 
Something serious happened! Sikuli not useable!
Check the error log at C:\LakshmyVerizon\Laks_Project_DOCS 
VZT\Automation\FIM\Sikulix\SikuliX-1.1.0-SetupLog.txt

[debug (7/19/15 4:26:12 PM)] RunTimeSETUP: final cleanup

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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