Closed MatiasNaranjo closed 3 months ago
I had ${fileDirname} OR ${workspaceFolder} at Black-formatter: Cwd
@MatiasNaranjo Typically you don't need to set ${fileDirname}
, black
should be able to automatically detect your settings. This is only needed in the cases where you have custom settings per forlder.
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.
2024-03-16 12:43:08.101 [info] Name: Black Formatter 2024-03-16 12:43:08.101 [info] Module: black 2024-03-16 12:43:08.101 [info] Default formatter is set to ms-python.black-formatter for workspace d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning 2024-03-16 12:43:08.101 [info] Python extension loading 2024-03-16 12:43:08.101 [info] Waiting for interpreter from python extension. 2024-03-16 12:43:08.101 [info] No interpreter found from setting black-formatter.interpreter 2024-03-16 12:43:08.101 [info] Getting interpreter from ms-python.python extension for workspace d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning 2024-03-16 12:43:08.101 [info] Python extension loaded 2024-03-16 12:43:08.101 [info] Interpreter from ms-python.python extension for d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning: d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe 2024-03-16 12:43:08.101 [info] No interpreter found from setting black-formatter.interpreter 2024-03-16 12:43:08.101 [info] Getting interpreter from ms-python.python extension for workspace d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning 2024-03-16 12:43:08.101 [info] Interpreter from ms-python.python extension for d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning: d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe 2024-03-16 12:43:08.101 [info] Server run command: d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe c:\Users\matna.vscode\extensions\ms-python.black-formatter-2024.1.10681007\bundled\tool\lsp_server.py 2024-03-16 12:43:08.101 [info] Server: Start requested. 2024-03-16 12:43:08.101 [info] [Error - 12:43:06 PM] Black Formatter client: couldn't create connection to server. 2024-03-16 12:43:08.101 [info] Launching server using command d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe failed. Error: spawn d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe ENOENT 2024-03-16 12:43:08.101 [error] Server: Start failed: Launching server using command d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe failed. Error: spawn d:\matna\Documents\Escritorio\Trabajo\Estimación de Consumo Machine Learning\myvenv\Scripts\python.exe ENOENT