** Changed in: sikuli
   Importance: High => Critical

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

Title:
  Env.getSikuliVersion() not available - IDE workaround

Status in Sikuli:
  Fix Committed

Bug description:
  *** Problem: Env.getSikuliVersion is defined, but not public (so not
  accessible)

  *** Workaround: 
  As long as you use the IDE (GUI or commandline) to launch your scripts, use 
this instead:
  import org.sikuli.ide.IDESettings as IDESettings
  v = IDEsettings.SikuliVersion 

  This returns the same string as Env.getSikuliVersion() should.
  -----------------------------------------------------------------------------

  Hi all,

         I tried the new version of Sikuli X-1.0-RC2 on a win xp sp3 where the 
previous version of Sikuli was not installed. I used the .exe version so the 
lib folder is correctly defined in the Windows PATH. Unfortunately when i 
launched a short script from the Sikuli IDE:
  setShowActions(True)
  popup(Env.getSikuliVersion())

  I obtain the following error :
  [info] Sikuli vision engine loaded.
  [info] Windows utilities loaded.
  [info] VDictProxy loaded.
  [error] Arrêté [error] Une erreur est survenue à la ligne 2 [error] Message 
d'erreur : Traceback (most recent call last):  File 
"C:\WINDOWS\Temp\sikuli-tmp2037300679833065495.py", line 2, in    
popup(Env.getSikuliVersion()) AttributeError: type object 
'org.sikuli.script.Env' has no attribute 'getSikuliVersion'

  Note : Sorry a part of the messages are in french.

  Regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/718623/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to