Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 252109 - Creation of new project 'Python Project - setuptools' fails
Creation of new project 'Python Project - setuptools' fails
Product: python
Classification: Unclassified
Component: Projects
PC All
: P3 (vote)
Assigned To: juniel_katarn
Depends on: 251765
  Show dependency treegraph
Reported: 2015-04-27 10:59 UTC by Jenselme
Modified: 2015-10-27 15:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jenselme 2015-04-27 10:59:38 UTC
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/", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

Full error message:
	at org.netbeans.modules.python.project2.templates.NewPythonProjectWizardIterator$
	at org.netbeans.modules.python.project2.templates.NewPythonProjectWizardIterator$
	at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(
	at org.openide.util.Mutex.writeAccess(
	at org.netbeans.modules.python.project2.templates.NewPythonProjectWizardIterator.instantiate(
	at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(
	at org.openide.loaders.TemplateWizard.handleInstantiate(
	at org.openide.loaders.TemplateWizard.instantiateNewObjects(
	at org.openide.loaders.TemplateWizardIterImpl.instantiate(
	at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(
	at org.openide.WizardDescriptor.callInstantiateOpen(
	at org.openide.WizardDescriptor.callInstantiate(
	at org.openide.WizardDescriptor.access$2300(
[catch] at org.openide.WizardDescriptor$Listener$2$
	at org.openide.util.RequestProcessor$
	at org.netbeans.modules.openide.util.GlobalLookup.execute(
	at org.openide.util.lookup.Lookups.executeWith(
	at org.openide.util.RequestProcessor$
Comment 1 Lou Dasaro 2015-04-27 14:55:11 UTC
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
Comment 2 Lou Dasaro 2015-10-27 15:49:28 UTC
Verified fixed. However, there exists a different, but related bug 256194 .

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo