2011-02-14 09:32:11 |
SMercier |
bug |
|
|
added bug |
2011-02-14 10:19:35 |
RaiMan |
summary |
X-1.0rc2 - WinXP - SP3 - Env.getVersion() attribute error |
X-1.0rc2 - all Systems - Env.getVersion() attribute error - IDE workaround |
|
2011-02-14 10:24:23 |
RaiMan |
description |
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 |
*** 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
|
|
2011-02-14 10:25:28 |
RaiMan |
sikuli: status |
New |
In Progress |
|
2011-02-14 10:28:46 |
RaiMan |
summary |
X-1.0rc2 - all Systems - Env.getVersion() attribute error - IDE workaround |
X-1.0rc2 - all Systems - Env.getVersion() not available - IDE workaround |
|
2011-03-05 11:21:03 |
RaiMan |
summary |
X-1.0rc2 - all Systems - Env.getVersion() not available - IDE workaround |
X-1.0rc2 - all Systems - Env.getSikuliVersion() not available - IDE workaround |
|
2013-02-21 12:51:18 |
RaiMan |
sikuli: status |
In Progress |
Fix Committed |
|
2013-02-21 12:51:22 |
RaiMan |
sikuli: importance |
Undecided |
Low |
|
2013-02-21 12:51:25 |
RaiMan |
sikuli: assignee |
|
RaiMan (raimund-hocke) |
|
2013-02-21 12:51:28 |
RaiMan |
sikuli: milestone |
|
x1.0 |
|
2013-02-21 12:51:49 |
RaiMan |
summary |
X-1.0rc2 - all Systems - Env.getSikuliVersion() not available - IDE workaround |
Env.getSikuliVersion() not available - IDE workaround |
|
2013-02-21 13:23:46 |
RaiMan |
tags |
|
fkt-general |
|
2013-02-21 17:54:13 |
RaiMan |
sikuli: importance |
Low |
Critical |
|
2013-05-06 11:55:27 |
RaiMan |
sikuli: importance |
Critical |
High |
|
2013-05-07 11:35:39 |
RaiMan |
sikuli: importance |
High |
Critical |
|
2013-08-14 13:02:20 |
RaiMan |
sikuli: status |
Fix Committed |
Fix Released |
|