NaviNet-OSS/JiraRobot

Not able to install JiraRobot

Opened this issue · 3 comments

Not able to install JiraRobot manually or by using pip command
Giving error like :
Traceback (most recent call last): File "setup.py", line 23, in execfile(join(dirname(file), 'JiraRobot', 'version.py')) NameError: name 'execfile' is not defined

I faced same issue, any solution yet?

Python3 issue - use Python 2.7

A workaround for Python 3 is:
pip install jira

Download the zip file and copy the JiraRobot.py to a local path.

Example path for import the file in suite:

*** Settings ***
Library           ${CURDIR}/Librarys/JiraRobot.py

Then change by this file the print statements:
print => Python 2
to
print() => Python 3

It works very well for me.

BR