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 170081 - Set default Python platform reverts to Jython, affecting auto-complete
Summary: Set default Python platform reverts to Jython, affecting auto-complete
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-08 12:52 UTC by captain
Modified: 2015-05-01 23:26 UTC (History)
1 user (show)

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 captain 2009-08-08 12:52:41 UTC
I have Python 2.6 installed to an alternate location and I always set this as the default platform, but each time I open
Tools->Default Platform, it shows that it reverts to Jython. This setting needs to stick so I don't have to set it each
time. I think it is causing issues with the auto-complete, because auto-complete is completely broken for me now. In
fact, it is so wrong, that it is more annoying than anything else. Netbeans 6.5 worked fine in this area.

I'm on Fedora 10 Linux x86-64.
Comment 1 dhalbert 2009-10-06 20:47:31 UTC
I see this as well, even without Python installed to an alternate location as the OP reported. Each time I restart NB,
the default Python platform is Jython, even if I reset it to the installed cpython (e.g. Python 2.6.2). Fortunately,
each project remembers the platform properly.

I have autocompletion issues too, but I don't see it using the wrong platform (e.g., "import javapath" (which is in
Jython only) and then "javapath." +<CTRL>-SPACE will not give autocompletion from Jython.
Comment 2 Lou Dasaro 2015-04-08 04:46:33 UTC

*** This bug has been marked as a duplicate of bug 152753 ***
Comment 3 Lou Dasaro 2015-04-30 06:08:05 UTC
Thank you for your reports.
This issue is different from Bug#152753, and has been REOPENED. 
A patch has been created and should be uploaded within a few days.
However, autocompletion reports will be handled elsewhere. See Bug 153261
Comment 4 Lou Dasaro 2015-05-01 23:26:19 UTC
This was fixed on or before Tue Apr 07 18:10:18 2015 -0500