sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33828
Re: [Question #269375]: Load Script
Question #269375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269375
Status: Answered => Open
Jeff_Vallis is still having a problem:
Installed latest build
Copied you scripts below :- Same result
IDE
hello, I am script1
using import
[error] script [ Script1 ] stopped with error in line 11
[error] ImportError ( script2.sikuli has no script2.py )
1.1.0(2015-07-21_01:00nightly)/Mac10.10.4/Java8(64)1.8.0_25-b17
Command Line
running SikuliX: /Applications/Sikuli/SikuliX.app/Contents/Java/sikulix.jar -r /Users/Jeff/Desktop/SikuliScripts/Unused/Script1.sikuli
hello, I am script1
using import
[error] script [ /Users/Jeff/Desktop/SikuliScripts/Unused/Script1.sikuli ] stopped with error in line 11
[error] ImportError ( script2.sikuli has no script2.py )
> On 19 Jul 2015, at 10:26:30, RaiMan <question269375@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> # 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"
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.