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.
Summary: | Cannot run main project. | ||
---|---|---|---|
Product: | python | Reporter: | tonybeckham <tonybeckham> |
Component: | Projects | Assignee: | ardavis26 <ardavis26> |
Status: | CLOSED INVALID | ||
Severity: | blocker | CC: | Jenselme |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tonybeckham
2008-10-24 18:16:15 UTC
After a project is created the main file needs to be set. Open project properties and select the run panel. Click the browse button on the select main moddule. Click Ok I am reopening this because after giving it some thought that it should prompt you for the main file and set that before a run if it doesn't have one. added selection box on run if main file is not set in project properties verified in build 120 (20081029). Initially if no main file set, it prompts for setting the main file. However, after manually removing the main file for the project, running it result in the following message but it did not prompt to set main file again. Reopening issue. Traceback (most recent call last): (no code object) at line 0 IOError: [Errno 2] File not found - C:\Users\peter\Documents\NetBeansProjects\PythonSamples (Access is denied) Also, if you rename the main file get NPE: java.lang.NullPointerException at org.netbeans.modules.python.project.ui.actions.RunCommand.invokeAction(RunCommand.java:49) at org.netbeans.modules.python.project.PythonActionProvider$1.run(PythonActionProvider.java:70) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) I have down graded this to a p2 it's not a show stopper because you can select a main module at run. I am working on finding the bug about clearing the main module. and renaming the main module will be dealt with when i look at refactoring functions for files. Reset to New, since it was "Started" 7 years ago... Not sure it is still relevant with the current version. Closing this as old bug. If this is still a thing, please reopen and accept my apologies. Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now. |