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.
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
Created attachment 74728 [details] Screenshot with broken Jython 25 platform
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.
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.
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?
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