← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #155881]: Windows 64-Bit / Eclipse: "no attribute 'getEnviron' in module os" reported at Sikuli startup

 

Question #155881 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/155881

Description changed to:
***** 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.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.