sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16715
[Bug 782818] Re: Jython 2.5.2: "no attribute 'getEnviron' in module os" reported at Sikuli startup
** Tags added: jython
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/782818
Title:
Jython 2.5.2: "no attribute 'getEnviron' in module os" reported at
Sikuli startup
Status in Sikuli:
In Progress
Bug description:
***** worth a try
might be a bug in Jython 2.5.2
so going back to Jython 2.5.1 might solve the problem.
see comment #4 below
----------------------------------------------------------------------------------
I've read the instruction - http://sikuli.org/docx/faq/040-other-
ide.html and did it step by step, but when I run the first script, I
still get the error message:
*sys-package-mgr*: processing new jar, 'C:\Program Files (x86)\Sikuli X\sikuli-script.jar'
error importing site
Traceback (most recent call last):
File "C:\Program Files (x86)\Sikuli X\Lib\site.py", line 62, in <module>
import os
File "C:\Program Files (x86)\Sikuli X\Lib\os.py", line 904, in <module>
environ = sys.getEnviron()
AttributeError: '<reflected field public org.python.core.PyObject o' object has no attribute 'getEnviron'
My environment:
C:\\Downloads>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
C:\Downloads>jython -V
Jython 2.5.2
eclipse 3.6 32bit
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/782818/+subscriptions
References