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 157625

Summary: org.netbeans.modules.python.api.PythonException: Could not discover Python properties
Product: python Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: ardavis26 <ardavis26>
Status: RESOLVED FIXED    
Severity: blocker CC: darthdeus, hellochar, idkfa, listed, mchl, munnik, ohmi, ovk, stroudcuster
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=144742
Issue Type: DEFECT Exception Reporter: 144742
Attachments: stacktrace
stacktrace

Description Exceptions Reporter 2009-01-29 16:32:58 UTC
Build: NetBeans IDE 6.5 (Build 200811131701)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
GUEST: trying to add python as a platform

max os x

GUEST: tried added Python 3

klauern: I tried adding a Python distribution for OS X 10.5.5.  I installed the Python.org distribution of Python 2.6 and attempted adding the python platform from /Libraries/Frameworks/Python.frameworks/Versions/2.6

klauern: Tried adding the Python 2.6 Framework.  I downloaded and installed this framework from Python.org

GUEST: Occured when trying to chose python 2.5.4 platform

GUEST: trying to add python as a platform

max os x



Stacktrace: 
org.netbeans.modules.python.api.PythonException: Could not discover Python properties
        at org.netbeans.modules.python.api.PythonPlatformManager.findPlatformProperties(PythonPlatformManager.java:387)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:454)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$300(PythonPlatformPanel.java:38)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:141)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
Comment 1 Exceptions Reporter 2009-01-29 16:33:08 UTC
Created attachment 76349 [details]
stacktrace
Comment 2 Oleg Khokhlov 2009-05-21 16:49:29 UTC
Build: NetBeans IDE Dev (Build 200905190201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
adding incorrect executable in Python platforms

Stacktrace: 
org.netbeans.modules.python.api.PythonException: Could not discover Python properties
        at org.netbeans.modules.python.api.PythonPlatformManager.findPlatformProperties(PythonPlatformManager.java:389)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:451)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$300(PythonPlatformPanel.java:37)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:138)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Comment 3 Oleg Khokhlov 2009-05-21 16:49:39 UTC
Created attachment 82569 [details]
stacktrace
Comment 4 Exceptions Reporter 2009-08-17 04:51:22 UTC
This issue already has 54 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144742
Comment 5 ardavis26 2009-10-25 06:39:18 UTC
The Exception is thrown by the Python platform manager.  The Exception is intentional, I have fixed the handler to
display a better message.