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.
How to reproduce: - Create a new project of type 'Python Project - setuptools' - Set name and location - Click 'Finish' - The creation fails Output log: Traceback (most recent call last): File "/home/nbdev/NewPythonProject/setup.py", line 1, in <module> from setuptools import setup, find_packages ImportError: No module named setuptools Full error message: java.lang.NullPointerException at org.netbeans.modules.python.project2.templates.NewPythonProjectWizardIterator$1.run(NewPythonProjectWizardIterator.java:148) at org.netbeans.modules.python.project2.templates.NewPythonProjectWizardIterator$1.run(NewPythonProjectWizardIterator.java:89) at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:293) at org.openide.util.Mutex.writeAccess(Mutex.java:299) at org.netbeans.modules.python.project2.templates.NewPythonProjectWizardIterator.instantiate(NewPythonProjectWizardIterator.java:89) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1051) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253) at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:180) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1626) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
This functionality should be complete once our internal (Packaged) upgrade to Jython 2.7RC3 has been completed (TBD, See Bug#251765). Reassigned to Juniel, who will provide an update when the upgrade is complete. Reporter: Thank you for your report. When reporting an issue, please include the first four lines from Help->About as well as the version of Python/Jython in use, e.g. Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1 Java: 1.7.0_75; Java HotSpot(TM) Client VM 24.75-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13 Jython 2.7b4
Verified fixed. However, there exists a different, but related bug 256194 .