Jython 2.5.2: "no attribute 'getEnviron' in module os" reported at Sikuli startup

Bug #782818 reported by Landy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

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.

Tags: jython
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
tags: added: jython
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.