sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35981
[Bug 1525110] Re: [1.1.0] Jython: import: Invalid API version (32 != 36)
folder struckture:\Sikuliroot\
Global.sikuli = contains global functions that are used by OSX/WIN, like paths to networkdrives, tools thats needed to copy.
# links etc. to scripts and programs!
from sikuli import *
import getpass
import shutil
import os
#Determine OS
CurOS = Env.getOS()
OSver = Env.getOSVersion()
if(CurOS == OS.MAC):
FolderSeparator = "/"
else:
FolderSeparator = "\\"
\sikuliroot\global\
under that i have a Global_userconfig.sikuli:
from sikuli import *
which contains the specifik for that testsystem OSX10.8/10.9/10.10 and Windows 7/8/10
\sikuliroot\
is where all test scripcts are.
#######################################################################################
#This test is supported on:
#OSX 10.6/10.7/10.8
#Win Win7/win8
#######################################################################################
from sikuli import *
import os
ThisDir = os.path.dirname(getBundlePath())
if not ThisDir in sys.path: sys.path.append(ThisDir)
import Global
reload(Global)
if not Global.tcsikuliroot in sys.path: sys.path.append(Global.tcsikuliroot)
import tclog
hopes this makes sense?
With the java 1.8 i saw shutil change, so maybe a java culprit?
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1525110
Title:
[1.1.0] Jython: import: Invalid API version (32 != 36)
Status in Sikuli:
Opinion
Bug description:
Hi
Longtime no see!...;0)
Just trying to get the 1.1.0 version to run on windows 7 32 bit VIRTUAL BOX machine.
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b18)
Java HotSpot(TM) Client VM (build 25.66-b18, mixed mode)
Sikuli 1.1.0 Build 2015-10-05_17:07
Fully updated Windows 7 SP1
When running from the IDE everything works ok.
But when running from runsikulix.cmd i get a:
[Error] import error !!While Importing!! invalid api version(32 != 36)
in:(Global )
in the cmd and the script does not run.
Sikuli installed in C:\program files\sikuli x\
Scripts in C:\testserver\Sikuli\S6k\
when browsed to sikulix, from CMD i run:
runsikulix.cmd -r C:\testserver\Sikuli\S6k\script.sikuli
i use these as a trigger from JENKINS but as it will not run locally i
can not get jenkins to trigger...;0)
hopw you guys are ok, and looking forward to hear from you.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1525110/+subscriptions
References