← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #267116]: Run Sikuli code in Python script

 

Question #267116 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267116

juanc gave more information on the question:
If I run the script this is what I get from the terminal:


C:\Python27\python.exe "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.0.4\helpers\pydev\pydevd.py" --multiproc --client 127.0.0.1 --port 61869 --file "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.0.4\helpers\pycharm\utrunner.py" C:\stash\sxd_qa\tests\navigation\juan.py::Juan::test_juan true
Testing started at 04:01 PM ...
pydev debugger: process 10688 is connecting

Connected to pydev debugger (build 139.1001)
+++ running this Java
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
+++ trying to start Sikuli IDE 
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\Users\DEVSPARK\Desktop\Sikuli\sikuli-ide.jar -r C:\Users\DEVSPARK\Documents\testupload.skl.sikuli
may 19, 2015 4:02:46 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[error] FileManager: Not a valid Sikuli script: C:\Users\Documents\testupload.skl.sikuli
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.

Process finished with exit code 0

------------------------------------------------------------

In debug mode, if I pause the program and run the Sikuli script from the
IDE is working fine.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.