It seems that Jython does not find Robot installation. Does `jybot
--version` work?
> And with pybot I have following error:
>
> working directory: C:\Python27\Scripts
> command: pybot.bat --argumentfile c:\users\pmare\appdata\local\temp
> \RIDEg9wq6p.d\argfile.txt --listener C:\Python27\lib\site-packages
> \robotide\contrib\testrunner\SocketListener.py:5010 C:\Users\pmare
> \Desktop\Warsztaty2\warsztaty2.tsv
> [ ERROR ] Error in file 'C:\Users\pmare\Desktop
> \Warsztaty2\resources.tsv' in table 'Setting': Importing test library
> 'org.robot.database.keywords.DatabaseLibrary' failed: ImportError: No
> module named org.robot.database.keywords
This error is caused by you trying to use Java based database library
on Python. This will not work directly, but the latest version of the
library ought to support remote library interface that allows you to
use it also from Python. Alternatively you can try the Python based
database library that is available here:
http://franz-see.github.com/Robotframework-Database-Library/
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
If you have installed RF 2.6.x or used Windows installer, then jybot
script should have been created during Robot installation. It ought to
be located in Scripts directory under Python installation next to
pybot script. If running `pybot --version` works, then also jybot
should be found. Successfully running jybot would require Jython to be
in PATH, but if that was the problem you would get a different error.
If you are using RF 2.7 pre-releases and didn't use Windows installer,
then you need to install Robot separately with Jython. In that case
jybot script ought to be created into bin directory under Jython
installation. Installation changes in RF 2.7 are not fully documented
yet but there is some more information here:
http://code.google.com/p/robotframework/wiki/NewInstallation
First of all, if you are already in 2.7 you should upgrade to the beta
2 release. Second, the jybot.bat script created by Windows installer
ought to be in Scripts directory under Python installation.
If you don't get this working with RF 2.7, I recommend you to
uninstall it and install 2.6.3. It's installation is documented very
thoroughly in the 2.6.3 User Guide:
http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.6.3#installation-and-uninstallation
Are you still using RF 2.7 alpha 1? I wouldn't be surprised if it had
some bugs like this. Please upgrade to RF 2.7 beta 2 or downgrade to
RF 2.6.3.