← Back to team overview

sikuli-driver team mailing list archive

[Bug 718623] Re: X-1.0rc2 - all Systems - Env.getSikuliVersion() not available - IDE workaround

 

** Changed in: sikuli
       Status: In Progress => Fix Committed

** Changed in: sikuli
   Importance: Undecided => Low

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => x1.0

** Summary changed:

- X-1.0rc2 - all Systems - Env.getSikuliVersion() not available - IDE workaround
+ Env.getSikuliVersion() not available - IDE workaround

-- 
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


References