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 154976 - Adding Jython 2.5 to Python platforms creates broken platform
Summary: Adding Jython 2.5 to Python platforms creates broken platform
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 22:53 UTC by giorgio42
Modified: 2015-01-02 05:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot with broken Jython 25 platform (30.08 KB, image/png)
2008-12-08 22:54 UTC, giorgio42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio42 2008-12-08 22:53:54 UTC
I am still trying to repair my NB6.5 python environment such that I can execute python scripts again.

Because of the previously entered bug report I cannot change the python platform back to Jython 2.5.0+ using the project
properties dialog, but have instead to resort to editing project.properties manually. Because I don't know what to enter
for platform.active for Jython 2.5.0+ I added the Jython 2.5 that comes with NB Python EA a second time under the simple
name Jython25. I also made this the default platform. Then I changed my project to use this newly configured platform.

But I still get the error message about the invalid python platform when I try to run any of the scripts in the project.
The reason might be that the platform configuration is broken (see attached screenshot).

(It's an EA, but even an EA mustn't be utterly unusable. The current state of the NB Python support reminds me of an
Elliot Rusty Harold comment on the Garmin navigation products: if you just don't care if it works...).

Georg
Comment 1 giorgio42 2008-12-08 22:54:50 UTC
Created attachment 74728 [details]
Screenshot with broken Jython 25 platform
Comment 2 giorgio42 2008-12-08 23:05:47 UTC
The __classpath__ entry makes this platform configuration definitely look broken.

I removed this entry and also the first one (../python1) to make it look like the original Jython 2.5.0+ entry, but I
still get the "invalid python platform warning". I am stuck now and will try to de- and then reinstall the python support.

Comment 3 giorgio42 2008-12-08 23:19:30 UTC
Ignoring my setting the default platform to Jython25 NB came up after a restart with Jython 2.5.0+ as the default
platform (which would make for another bug report, but I am fed up for now). At least running python scripts started to
work again.

But I can still reproduce NB hanging after stopping a most trivial Python debug session. Incredible.
Comment 4 Peter Lam 2008-12-09 01:01:33 UTC
Thanks for reporting the issue. I can't reproduce this problem using Python EA but it looks like there's a regression in
the latest development build. Are you using the Python EA or the latest development build? 
Comment 5 Lou Dasaro 2015-01-02 05:33:29 UTC
I'm sorry you had difficulties. While we are still experiencing exceptions, the issue you reported has been fixed.

Current instructions for installation of Python Support on NetBeans IDE can be found at: http://wiki.netbeans.org/PythonInstall

This is now a community-supported project, endeavoring to return Python support to NetBeans. For more, see https://netbeans.org/projects/python/pages/Home