Robot Framework 2.8.7 - Version not displayed

197 views
Skip to first unread message

sujay....@gmail.com

unread,
Mar 2, 2015, 9:06:24 AM3/2/15
to robotframe...@googlegroups.com
Hi All,

I have recently downloaded the gzipped source code of Robot Framework 2.8.7 from

After successfully untaring it on my test machine which has RHEL 5.3 . I have run the following commands

[root@itsm5 bin]# pwd
/robot/robotframework-2.8.7/src/bin
[root@itsm5 bin]# ls -lrt
total 48
-rwxr-xr-x 1 root root 37 Jan 16 14:12 rebot.bat
-rwxr-xr-x 1 root root 87 Jan 16 14:12 rebot
-rwxr-xr-x 1 root root 35 Jan 16 14:12 pybot.bat
-rwxr-xr-x 1 root root 83 Jan 16 14:12 pybot
-rwxr-xr-x 1 root root 37 Jan 16 14:12 jyrebot.bat
-rwxr-xr-x 1 root root 87 Jan 16 14:12 jyrebot
-rwxr-xr-x 1 root root 35 Jan 16 14:12 jybot.bat
-rwxr-xr-x 1 root root 83 Jan 16 14:12 jybot
-rwxr-xr-x 1 root root 34 Jan 16 14:12 ipyrebot.bat
-rwxr-xr-x 1 root root 84 Jan 16 14:12 ipyrebot
-rwxr-xr-x 1 root root 32 Jan 16 14:12 ipybot.bat
-rwxr-xr-x 1 root root 80 Jan 16 14:12 ipybot
[root@itsm5 bin]#


[root@itsm5 bin]# rebot --version
Rebot trunk 20140617 (Python 2.7 on linux2)
[root@itsm5 bin]# pybot --version
Robot Framework trunk 20140617 (Python 2.7 on linux2)

[root@itsm5 bin]# jybot --version
bash: jybot: command not found
[root@itsm5 bin]# ipyrebot --version
bash: ipyrebot: command not found
[root@itsm5 bin]#


I have two questions

1. On successful installation it should show me the Robot Framework version . In case of rebot --version and pybot --version .

It shows this currentlly Robot Framework trunk 20140617 (Python 2.7 on linux2)


2. jybot and ipyrebot although present still show

Command not found error

Please can someone exlpain.

Regards,
Sujay

HelioGuilherme66

unread,
Mar 3, 2015, 6:59:10 PM3/3/15
to robotframe...@googlegroups.com
Hi,

Typically when user 'root' runs commands they must use full path, or local path for the commands, unless the $PATH environmental variable is set to contain the directory where the executables reside.

To be sure you are running the extracted files, you probably should run like:
[root@itsm5 bin]# ./rebot --version

Most certainly you have another old install of Robot Framework that is found from the $PATH variable (and that is why it can't find jybot and ipyrebot).

One more thing, it is not safe to run commands with 'root' user, unless they are administrative tasks. Good practice is to have a normal user from the 'users' group, and then run special commands with the
$ sudo <command name>

Bye,
Hélio 

sujay....@gmail.com

unread,
Mar 4, 2015, 8:21:04 AM3/4/15
to robotframe...@googlegroups.com
I tried this now this is what i have

[tsm@itsm5 bin]$ ./rebot --version

Rebot trunk 20140617 (Python 2.7 on linux2)

[tsm@itsm5 bin]$ ./pybot --version

Robot Framework trunk 20140617 (Python 2.7 on linux2)

[tsm@itsm5 bin]$ ./jybot --version
/usr/bin/env: jython: No such file or directory

[tsm@itsm5 bin]$ ./ipybot --version
/usr/bin/env: ipy: No such file or directory

[tsm@itsm5 bin]$ echo $PATH
/usr/java/jdk1.6.0_37/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/tsm/bin

[tsm@itsm5 bin]$
[tsm@itsm5 bin]$


[tsm@itsm5 bin]$ which python
/usr/local/bin/python


[tsm@itsm5 bin]$ ls /usr/bin | grep -i python
python
python2
python2.4


[tsm@itsm5 bin]$ ls -l /usr/bin | grep -i python
-rwxr-xr-x 2 root root        5632 Sep 18  2008 python
lrwxrwxrwx 1 root root           6 Sep 16  2011 python2 -> python
-rwxr-xr-x 2 root root        5632 Sep 18  2008 python2.4


[tsm@itsm5 bin]$ ls -l /usr/local/bin | grep -i python
-rwxr-xr-x 2 root   root 4604346 Dec 23 13:15 python
-rwxr-xr-x 2 root   root 4604346 Dec 23 13:15 python2.7
-rwxr-xr-x 1 root   root    1624 Dec 23 13:16 python2.7-config
lrwxrwxrwx 1 root   root      16 Dec 23 13:16 python-config -> python2.7-config
[tsm@itsm5 bin]$



HelioGuilherme66

unread,
Mar 4, 2015, 8:37:10 AM3/4/15
to robotframe...@googlegroups.com
This is what I have in Windows:
C:\Robot>rebot --version
Rebot 2.8.7 (Python 2.7.8 on win32)

C:\Robot>jybot --version
Robot Framework 2.8.7.dev20141007 (Jython 2.7b3 on java1.8.0_25)

quarta-feira, 4 de Março de 2015 às 13:21:04 UTC, sujay....@gmail.com escreveu:
I tried this now this is what i have

[tsm@itsm5 bin]$ ./rebot --version
Rebot trunk 20140617 (Python 2.7 on linux2)

[tsm@itsm5 bin]$ ./pybot --version
Robot Framework trunk 20140617 (Python 2.7 on linux2)

[tsm@itsm5 bin]$ ./jybot --version
/usr/bin/env: jython: No such file or directory


You must install Jython and Java (JRE or JDK). Do you really need that?
 
[tsm@itsm5 bin]$ ./ipybot --version
/usr/bin/env: ipy: No such file or directory

You must install C# or .Net (I think that is Bonobo in Linux). Do you really need that?

Good luck.


Reply all
Reply to author
Forward
0 new messages