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 180693 - Linking to Linux Python (2.6.4) installation instead of Jython fails. Cannot make Default.
Summary: Linking to Linux Python (2.6.4) installation instead of Jython fails. Cannot ...
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 07:53 UTC by georgiomic
Modified: 2015-05-18 02:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description georgiomic 2010-02-14 07:53:49 UTC
If a user opens the Python Platforms menu in order to deselect (un-default) the Jython distribution and go with a standard Python 2.6.4 found on an Ubuntu system, the changes are Not persistent.

* Removing the Jython distribution does not work. It reappears even without pressing the Auto-Detect button
* Making Python the default one is not persistent. Reopening NetBeans or even creating a new Python project shows Jython as the default one.
* Deleting the jython-2.5.1 distribution folder (inside the python1 folder...) to get rid of the other distribution completely, makes NetBeans 'break' when it comes to using Python from inside the IDE. The same, work fine when, for instance, deleting jruby from inside the ruby2 folder if one is to use a local non-Jruby installation.

- Jython should be able to be removed from the Python Platforms
- Making a local-system distribution the default one should be permanent and any new projects should use the default one.
- A user should be able to install the Python platform without the Jython distribution OR
- A user should be able to uninstall Jython (which currently causes the Python Platform to be deactivated.
Comment 1 adamgmetzler 2010-02-19 02:25:20 UTC
I also have this problem with python 2.6.2. If you try to set the default python implementation to anything other than jython it fails until you open the interactive python console (jython implementation) and exit. Then open the Python platforms window and set the default works until the end of session. This has been the only way I can get a real CPython console to work in netbeans not a Jython console.

You should not have to go through this each time you use the native platform python and the console window that opens should be the same as the active project, i.e. jython project gets a jython console and a python project gets a python console, not that of the default python platform.
Comment 2 Lou Dasaro 2015-05-18 02:42:02 UTC
Most of these anomalies have been addressed by the Python plugins dated 17-May-2015 or later, except that Python plugin still installs Jython (2.7).
Therefore marking as Fixed.