Jython

Message9985

Author zyasoft
Recipients adamburke, zyasoft
Date 2015年04月29日.14:59:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430319573.44.0.0308370825798.issue2346@psf.upfronthosting.co.za>
In-reply-to
Content
So the relevant line of code is the subprocess.call in https://github.com/jythontools/jython/blob/master/src/shell/jython.py#L435:
 try:
 result = subprocess.call(command)
 if args.help:
 print_help()
 except KeyboardInterrupt:
 pass
This should be more robust, catching any runtime error and re-wrapping. One possibility is for it to attempt diagnosis: is java/jdb available? Were there other issues that were raised?
Clearly you have Java installed somewhere to do the installation, but you may have to fix up with JAVA_HOME in this particular case.
History
Date User Action Args
2015年04月29日 14:59:33zyasoftsetmessageid: <1430319573.44.0.0308370825798.issue2346@psf.upfronthosting.co.za>
2015年04月29日 14:59:33zyasoftsetrecipients: + zyasoft, adamburke
2015年04月29日 14:59:33zyasoftlinkissue2346 messages
2015年04月29日 14:59:32zyasoftcreate

Supported by Python Software Foundation,
Powered by Roundup

AltStyle によって変換されたページ (->オリジナル) /