From rc2 to rc3 something breaks running sikuli from robotframework.jar

Asked by Josh

May be related to: https://answers.launchpad.net/sikuli/+question/141252

Execution method:
---
java -cp "java\*" ^
     -Dpython.path="java\sikuli-script.jar\Lib" ^
     org.robotframework.RobotFramework ^
     --pythonpath=. ^
     --outputdir=%CD%/results ^
     --loglevel=TRACE ^
  %*
--
./java/sikuli-script.jar
./java/robotframework-2.6.3.jar
--

sikuli-script.jar - RC2 works
sikuli-script.jar - RC3 produces error:
--
==============================================================================
Product :: Install product and create snapshots
==============================================================================
Install :: ...PyramidTemp
lateMatcher: source is smaller than the target
 | FAIL |
AssertionError
------------------------------------------------------------------------------
Product :: Install product and create snapshots | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: C:\Dropbox\AppFW\results\output.xml
Log: C:\Dropbox\AppFW\results\log.html
Report: C:\Dropbox\AppFW\results\report.html

C:\Dropbox\AppFW>run tests\Acceptance2.tsv
Exception in thread "main" Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Dropbox\AppFW\java\robotframework-2.6.3.jar\Lib\robot\__init__$py.class", line 16, in <module>
  File "C:\Dropbox\AppFW\java\sikuli-script.jar\Lib\os.py", line 118, in <module>
ImportError: no os specific module found

--

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Josh
Solved:
Last query:
Last reply:
Revision history for this message
Josh (sammysnake) said :
#1

From other thread references you were suggesting that it might be due to Jython 2.5.2 usage. Is it a correct hypothesis that the problem might be that robotframework is using jython.25.2?

Revision history for this message
Josh (sammysnake) said :
#2

Upgrading to robotframework-2.7a1.jar seems to have resolved the problem. They make reference to the fact Jython 2.5.2 is included in this release.