Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1099 by [email protected]: Java Lib annotated keyword with param
import broken between 2.7a1 and 2.7b1
http://code.google.com/p/robotframework/issues/detail?id=1099
I have encountered a problem running Robot Framework with custom annotated
keywords.
This has come somewhere between 2.7a1 abd 2.7b1 versions. I get this error
only with keywords that have parameters (one or many). Keywords without
parameters work as they should. When trying to import the custom library
the robot framework produces a following error
[ WARN ] Adding keyword 'openPage' to
library 'org.robotframework.javalib.library.AnnotationLibrary' failed:
TypeError: 'NoneType' object is not iterable
This might have something to do with issue
http://code.google.com/p/robotframework/issues/detail?id=1062
I run the tests on Windows 7 64bit system and have Python 2.7.2 and Jython
2.5.3b1 installed. All installed packages are, though, 32bit versions.
The Robot Framework (2.7a2/b1 upwards) installation also gives an error on
the "post install script" screen
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Apparently something is left done on the installation phase, which might be
the cause of this breakage.
I have attached an example which is the example taken from the Java Lib
downloads with an extra keywords class to produce the errors.
Attachments:
javalib-core-example-with-custom-keywords.zip 2.0 MB