Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What version of sikuli did you integrate your framework with ? #3

Open
mmoselhy opened this issue May 19, 2015 · 4 comments
Open

What version of sikuli did you integrate your framework with ? #3

mmoselhy opened this issue May 19, 2015 · 4 comments

Comments

@mmoselhy
Copy link

Hello,

I'm trying to use the framework on Windows/Linux

first, I tried to run the calculator example but it gives me the below error
"TRACE:1432030308240 Changing screenshot logging level
INFO:1432030308255 <class 'launcher.Launcher'> is attempting to run [Calculator] wd=C:\Users
moselhy\Desktop\Sikuli\sikuli-framework-master
TRACE:1432030308255 Calculator:Application created
INFO:1432030308255 <class 'launcher.Launcher'> created [Calculator] from [calc.exe] [WINDOWS
in7 x86]
Traceback (most recent call last):
File "examples\calculator\add.py", line 48, in
calculator = Launcher.run('Calculator')
File "C:\Users\mmoselhy\Desktop\Sikuli\sikuli-framework-master\src\launcher.py", line 65, in run
result = subprocess.Popen(binary, shell=True, cwd=app.getWorkingDir(os, osVersion, arch))
File "C:\Users\mmoselhy\Desktop\Sikuli\sikuli-framework-master\java\sikuli-script.jar\Lib\subproc
ss.py", line 751, in init
File "C:\Users\mmoselhy\Desktop\Sikuli\sikuli-framework-master\java\sikuli-script.jar\Lib\subproc
ss.py", line 1236, in _execute_child
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'"

the launcher isn't working, do u have any idea why ?
also, I want to integrate with the latest sikuli jar, I found that you use sikuli-script.jar
and this is replaced by sikuli-java.jar in the latest release 1.0.1 . but it misses many dependencies.

I know that it's been year since you pushed some work.
I may help to support the latest version of sikuli
but I still need some info as I'm somehow confused :)

@RaiMan
Copy link

RaiMan commented May 19, 2015

Hi this is RaiMan from SikuliX.

I am also willing to support the integration of version 1.1.0 (sikulixapi.jar).

... and there is another interesting RFW approach (already working with 1.1.0)
https://github.com/Tset-Noitamotua/Sikuli-and-Robot-Framework-Integration

So let us know, how we can help.

@mmoselhy
Copy link
Author

Hi RaiMan,
well, I have a couple of simple questions.

as I understand, this framework has been done using sikuli-script.jar from older release ?
and it's replacement in v1.0.1 is sikuli-java.jar and the latest replacement is sikulxapi.jar right ?

I started working to move it to 1.0.1 but since 1.1.0 version will be released soon, so I'll switch my effort to 1.1.0 night builds

also, Thanks for referring to the other framework integration, it will help a lot.

@RaiMan
Copy link

RaiMan commented May 19, 2015

@mmoselhy
yes with 1.1.0+ it is sikulixapi.jar.

… and I recommend to use it for these purposes.

Come back with any question.

@smysnk
Copy link
Owner

smysnk commented May 19, 2015

This appears to be a problem with launching the calculator executable.

I would inspect what arguments are being passed into
src\launcher.py:65: result = subprocess.Popen(binary, shell=True, cwd=app.getWorkingDir(os, osVersion, arch))

You may want to try specifying the exact path to calc.exe @ https://github.com/smysnk/sikuli-framework/blob/master/examples/calculator/maps/calculator.py#L67

Also getting sikulixapi.jar integrated sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants