Message11489

Author rkanumola
Recipients jeff.allen, rkanumola
Date 2017-07-21.08:57:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500627438.7.0.605552313413.issue2610@psf.upfronthosting.co.za>
In-reply-to
Content
Jeff Allen: I am a developer and Thanks for the response,

Jython 2.7.1 seems to be not in the maven repo, however we were able to set 2.7.1 by using the instructions mentioned at https://wiki.python.org/jython/InstallationInstructions#jython-2-7-1. 

After installing we executed the same command again and the following is the result.
$ echo $PYTHON_HOME
/Applications/atlassian/jython
$ jython --version
Jython 2.7.1
$ jython
[appfire@firebird-confluence Lib]$ echo $PYTHON_HOME
/Applications/atlassian/jython
[appfire@firebird-confluence Lib]$ jython --version
Jython 2.7.1
[appfire@firebird-confluence Lib]$ jython
Jython 2.7.1 (default:0df7adb1b397, Jun 30 2017, 19:02:43) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/Applications/atlassian/jython'
>>> sys.path
['', '/Applications/atlassian/jython/bin', '/Applications/atlassian/jython/Lib', '__classpath__', '__pyclasspath__/', '/Applications/atlassian/jython/Lib/site-packages']

We are using PythonInterpreter class to execute the code in our macro. And as I said earlier after moving to 2.7.0 we are getting an error while initializing PythonInterpreter object.Not sure what is going wrong from our end, can you please check the above details and suggest.
History
Date User Action Args
2017-07-21 08:57:18rkanumolasetmessageid: <1500627438.7.0.605552313413.issue2610@psf.upfronthosting.co.za>
2017-07-21 08:57:18rkanumolasetrecipients: + rkanumola, jeff.allen
2017-07-21 08:57:18rkanumolalinkissue2610 messages
2017-07-21 08:57:17rkanumolacreate