You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after installing plugin for add python platform an exception occurred:
java.nio.file.NoSuchFileException: /Users/{user}/Library/Application Support/NetBeans/25/.pythonlsp/platforms.json
Same issue here - I am on Ubuntu 22.04 and NetBeans 25. Since I was not able to install the plugin by automatically downloading it from the plugins management feature in NetBeans I downloaded the latest releast (250) manually and added it to NetBeans via plugins management from NetBeans UI. On startup I get
java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:295)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:225)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126)
Caused: java.io.IOException: Cannot run program "/home/myuser/.netbeans/25/.pythonlsp/.venv/bin/python": error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089)
[catch] at org.netbeans.modules.python.PythonLspClient.startServer(PythonLspClient.java:30)
at org.netbeans.modules.lsp.client.LSPBindings.buildBindings(LSPBindings.java:299)
at org.netbeans.modules.lsp.client.LSPBindings.getBindingsImpl(LSPBindings.java:216)
at org.netbeans.modules.lsp.client.LSPBindings.ensureServerRunning(LSPBindings.java:175)
at org.netbeans.modules.lsp.client.bindings.CustomIndexerImpl.lambda$index$0(CustomIndexerImpl.java:75)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2018)
and I tried to create the directory /home/myuser/.netbeans/25/.pythonlsp/.venv but that did not help.
In the Tools menu I can see the Python platforms entry and when I open it and try to manage the platforms, autodetect does not work and either no chance to add a new platform. An open file dialog appears, but I am not sure what I should select there. Selecting e.g. /usr/bin/python3 does not work. - A test python program does work on run, but autocomplete for function inside the same python file etc does not work.
Activity
github-actions commentedon Apr 2, 2025
Thanks for reporting this issue, we will take a look on ASAP
martinwildam commentedon May 2, 2025
Same issue here - I am on Ubuntu 22.04 and NetBeans 25. Since I was not able to install the plugin by automatically downloading it from the plugins management feature in NetBeans I downloaded the latest releast (250) manually and added it to NetBeans via plugins management from NetBeans UI. On startup I get
and I tried to create the directory /home/myuser/.netbeans/25/.pythonlsp/.venv but that did not help.
In the Tools menu I can see the Python platforms entry and when I open it and try to manage the platforms, autodetect does not work and either no chance to add a new platform. An open file dialog appears, but I am not sure what I should select there. Selecting e.g. /usr/bin/python3 does not work. - A test python program does work on run, but autocomplete for function inside the same python file etc does not work.
mwildam commentedon Aug 13, 2025
I can confirm that it is working now. Thanks for the fix.