Bug 252109 - Creation of new project 'Python Project - setuptools' fails
Creation of new project 'Python Project - setuptools' fails
Status: VERIFIED FIXED
Product: python
Classification: Unclassified
Component: Projects
8.1
PC All
: P3 (vote)
: TBD
Assigned To: juniel_katarn
issues@python
:
Depends on: 251765
Blocks:
  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
:


Attachments

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/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)
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