X-1.0rc2: Env.isLockOn not supported --- a bug

Asked by Edgar Park

Hi

I definitely installed Sikuli X-1.0rc2, but it does not support Env.isLockOn and Env.getSikuliVersion.

Strangely Env.getClipboard is supported. I think all of three are new features in 1.0rc2.

When I type "print dir(Env)", the result is like:

['__class__', '__delattr__', '__doc__', '__eq__', '__getattribute__', '__hash__', '__init__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', 'class', 'equals', 'getClass', 'getClipboard', 'getMouseLocation', 'getOS', 'getOSUtil', 'getOSVersion', 'getSeparator', 'hashCode', 'isLinux', 'isMac', 'isWindows', 'notify', 'notifyAll', 'toString', 'wait']

So, isLockOn and getSikuliVersion are missing, but getClipboard is in there.

I try to install after downloading Sikuli X-1.0rc2 over and over, but the same.

Please help me~

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

at least getSikuliVersion is a known Problem bug 718623

Revision history for this message
RaiMan (raimund-hocke) said :
#2

... and Env.isLockOn has the same problem (not defined as public), but there is no simple workaround (you could take the Java source of class Env, add the 2 public and exchange the compiled class in sikuli-script.jar)

I will report the bug.

Can you help with this problem?

Provide an answer of your own, or ask Edgar Park for more information if necessary.

To post a message you must log in.