This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251744

Summary: Autodetect cannot find non-packaged Jython installation properties
Product: python Reporter: Lou Dasaro <mr_lou_d>
Component: PlatformAssignee: Lou Dasaro <mr_lou_d>
Status: RESOLVED FIXED    
Severity: normal CC: juniel_katarn
Priority: P4    
Version: 8.1   
Hardware: PC   
OS: All   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=250980
https://netbeans.org/bugzilla/show_bug.cgi?id=156347
Issue Type: DEFECT Exception Reporter:

Description Lou Dasaro 2015-04-09 18:04:13 UTC
When Autodetect is invoked, findPlatformProperties fails to determine the properties of a Jython platform (additional to the included "Packaged" Jython). Note that Python platforms are not affected by this anomaly.

Internally, PythonPlatformManager's findPlatformProperties fails (pye.run results in '3' instead of '0') when executing Jython platform_info.py.

This becomes a minor bug once the Packaged Jython is upgraded to 2.7, but should still be fixed because someone might (?) want to have multiple versions of Jython. Found near line 380 in PythonPlatformManager.java
Comment 1 Lou Dasaro 2015-04-30 16:22:57 UTC
I have fixed this as part of the overall rework of Autodetect. It will appear after code review.
Comment 2 Lou Dasaro 2015-05-17 16:41:26 UTC
Fixed as part of http://hg.netbeans.org/main/contrib/rev/7e8e41f35dc9
Should appear in Development build on 18/May/2015