Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Python Execution Feature #4

Open
ebresie opened this issue Mar 6, 2022 · 3 comments
Open

Implement Python Execution Feature #4

ebresie opened this issue Mar 6, 2022 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ebresie
Copy link
Owner

ebresie commented Mar 6, 2022

Presently as of 0.1, there is no ability to run a Python script.

This is issue will implement run functionality within the IDE.

@ebresie ebresie self-assigned this Mar 11, 2022
@ebresie ebresie added enhancement New feature or request bug Something isn't working labels Jun 4, 2022
ebresie added a commit that referenced this issue Jun 4, 2022
(1) project discover (#3) and 
(2) execution ( #4)
ebresie added a commit that referenced this issue Jun 4, 2022
Merging updates associated with
Python Discovery functionality - #3
Python Execution functionality - #4
@ebresie
Copy link
Owner Author

ebresie commented Jun 4, 2022

WIth installed nbm, and attempting to run, get following when attempting to run

java.lang.NullPointerException: Cannot invoke "org.openide.filesystems.FileObject.getParent()" because "script" is null
at org.apache.netbeans.modules.python4nb.ui.actions.RunCommand.invokeAction(RunCommand.java:88)
at org.apache.netbeans.modules.python4nb.project.PythonActionProvider$1.run(PythonActionProvider.java:99)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

@ebresie
Copy link
Owner Author

ebresie commented Jul 16, 2022

In code recently checked in (this check-in may have been premature but was done to avoid losing in work code), able to execute code once a default python platform has been selected, the main project file has been selected. More cleaned up version of this will likely be in release 0.3

ebresie added a commit that referenced this issue Oct 29, 2022
- nbproject\project.properites not created correctly #23
- Get Project Properties #20
- Initial project properties GUI 
- Implement Python Execution Feature #4
- Implement Python platform discovery feature #3
@ebresie
Copy link
Owner Author

ebresie commented Oct 29, 2022

Additional updates with recent commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant