Message11522

Author jeff.allen
Recipients jeff.allen, rkanumola
Date 2017-08-03.07:22:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501744980.42.0.343471065667.issue2610@psf.upfronthosting.co.za>
In-reply-to
Content
Excellent. The parts of this we care about for now are:
 'python.console.encoding': 'UTF-8',
 'python.path': '/Applications/atlassian/jython/bin',

You will see from --print that our launcher sets up a few other values:

python.home=/Applications/atlassian/jython
python.executable=/Applications/atlassian/jython/bin/jython
python.launcher.uname=linux

I suggest you set those in system properties for your application, in the java command or elsewhere. You probably don't need to set python.launcher.tty, or should set it to "false" as you don't have an interactive console.

This should allow it to get sys.prefix right, sys.path right and then I hope everything else will follow. Let us know if that solves it. If not, we'll think again.
History
Date User Action Args
2017-08-03 07:23:00jeff.allensetmessageid: <1501744980.42.0.343471065667.issue2610@psf.upfronthosting.co.za>
2017-08-03 07:23:00jeff.allensetrecipients: + jeff.allen, rkanumola
2017-08-03 07:23:00jeff.allenlinkissue2610 messages
2017-08-03 07:22:59jeff.allencreate