Closed rodzun closed 1 month ago
As a side note, it also shows two test trees (as shown in the ss) when it should only show the last one. The first has nothing inside and if I run that one it runs indefinitely. It does not change the main behavior but may be related to the issue.
Hello! Could you include a layout of your project and your logs from the python
output channel? For your logs, can you first set your log level to trace via theDeveloper: set log level
command in the command palette? With these I can better help figure out what might be going wrong. Thanks
2023-12-14 02:00:38.406 [info] Experiment 'pythonRecommendTensorboardExt' is active
2023-12-14 02:00:38.406 [info] Experiment 'pythonREPLSmartSend' is active
2023-12-14 02:00:38.406 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-12-14 02:00:38.406 [info] Experiment 'pythonTestAdapter' is active
2023-12-14 02:00:38.406 [debug] Getting roots
2023-12-14 02:00:38.406 [debug] Getting roots
2023-12-14 02:00:38.406 [debug] Found roots
2023-12-14 02:00:38.406 [debug] Start watching file for changes /home/rodzun/.conda/environments.txt
2023-12-14 02:00:38.406 [debug] Start watching: /home/rodzun/.conda with pattern environments.txt using VSCode API
2023-12-14 02:00:38.406 [debug] Found roots
2023-12-14 02:00:38.406 [debug] Start watching root /home/rodzun/reviNEW/z-dash for globs ["python","*/python","*/bin/python"]
2023-12-14 02:00:38.406 [debug] Start watching: /home/rodzun/reviNEW/z-dash with pattern python using VSCode API
2023-12-14 02:00:38.406 [debug] Start watching: /home/rodzun/reviNEW/z-dash with pattern */python using VSCode API
2023-12-14 02:00:38.406 [debug] Start watching: /home/rodzun/reviNEW/z-dash with pattern */bin/python using VSCode API
2023-12-14 02:00:38.406 [info] Default formatter is set to null for workspace /home/rodzun/reviNEW/z-dash
2023-12-14 02:00:38.406 [debug] Waiting for test server to start...
2023-12-14 02:00:38.408 [info] Test server listening.
2023-12-14 02:00:38.408 [debug] Test server started.
2023-12-14 02:00:38.408 [debug] Testing: Setting up watcher for /home/rodzun/reviNEW/z-dash
2023-12-14 02:00:38.409 [debug] Needed to validate /home/rodzun/.virtualenvs/revi310/bin/python with latest info
2023-12-14 02:00:38.412 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:38.413 [debug] Needed to validate /home/rodzun/.virtualenvs/turn/bin/python with latest info
2023-12-14 02:00:38.414 [debug] Needed to validate /home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9/bin/python with latest info
2023-12-14 02:00:38.414 [debug] Needed to validate /home/rodzun/.virtualenvs/fullstacklabs/bin/python with latest info
2023-12-14 02:00:38.415 [debug] Needed to validate /home/rodzun/.virtualenvs/koombea/bin/python with latest info
2023-12-14 02:00:38.416 [debug] Needed to validate /home/rodzun/.virtualenvs/revi/bin/python with latest info
2023-12-14 02:00:38.417 [debug] Needed to validate /bin/python2 with latest info
2023-12-14 02:00:38.418 [debug] Needed to validate /bin/python3 with latest info
2023-12-14 02:00:38.419 [debug] Needed to validate /bin/python3.7 with latest info
2023-12-14 02:00:38.419 [debug] Needed to validate /bin/python3.9 with latest info
2023-12-14 02:00:38.420 [debug] Needed to validate /usr/bin/python2 with latest info
2023-12-14 02:00:38.423 [debug] Needed to validate /usr/bin/python3 with latest info
2023-12-14 02:00:38.424 [debug] Needed to validate /usr/bin/python3.7 with latest info
2023-12-14 02:00:38.424 [debug] Needed to validate /usr/bin/python3.9 with latest info
2023-12-14 02:00:38.425 [debug] Needed to validate /home/rodzun/.virtualenvs/revi310/bin/python with latest info
2023-12-14 02:00:38.425 [debug] Needed to validate /bin/python3.10 with latest info
2023-12-14 02:00:38.425 [debug] Needed to validate /usr/bin/python3.10 with latest info
2023-12-14 02:00:38.427 [debug] Needed to validate /home/rodzun/.virtualenvs/revi310/bin/python with latest info
2023-12-14 02:00:38.428 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:38.429 [debug] Needed to validate /home/rodzun/.virtualenvs/revi310/bin/python with latest info
2023-12-14 02:00:38.430 [info] Python interpreter path: ~/.virtualenvs/revi310/bin/python
2023-12-14 02:00:38.430 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:38.919 [info] Send text to terminal: echo /usr/bin/bash
2023-12-14 02:00:38.920 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:38.928 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2023-12-14 02:00:38.929 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2023-12-14 02:00:38.931 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2023-12-14 02:00:38.932 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2023-12-14 02:00:38.933 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-12-14 02:00:38.934 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2023-12-14 02:00:38.935 [debug] Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-12-14 02:00:38.936 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2023-12-14 02:00:38.937 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-12-14 02:00:38.938 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/rodzun/.virtualenvs/revi310/bin/python","path":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:38.940 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-12-14 02:00:38.941 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-12-14 02:00:38.942 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/turn/bin/python","id":"/home/rodzun/.virtualenvs/turn/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/turn/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/turn"},"environment":{"type":"VirtualEnvironment","name":"turn","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/turn","scheme":"file"}},"version":{"major":3,"minor":8,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.8.10 (default, May 26 2023, 14:05:08) \n[GCC 9.4.0]"},"tools":["Venv"]},"id":"/home/rodzun/.virtualenvs/turn/bin/python"}
2023-12-14 02:00:38.942 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9/bin/python","id":"/home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9"},"environment":{"type":"VirtualEnvironment","name":"cuboid-challenge-python-emhoVg_9","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9","scheme":"file"}},"version":{"major":3,"minor":9,"micro":17,"release":{"level":"final","serial":0},"sysVersion":"3.9.17 (main, Jun 6 2023, 20:11:04) \n[GCC 9.4.0]"},"tools":["Pipenv"]},"id":"/home/rodzun/.virtualenvs/cuboid-challenge-python-emhoVg_9/bin/python"}
2023-12-14 02:00:38.943 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/fullstacklabs/bin/python","id":"/home/rodzun/.virtualenvs/fullstacklabs/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/fullstacklabs/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/fullstacklabs"},"environment":{"type":"VirtualEnvironment","name":"fullstacklabs","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/fullstacklabs","scheme":"file"}},"version":{"major":3,"minor":8,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.8.10 (default, May 26 2023, 14:05:08) \n[GCC 9.4.0]"},"tools":["Venv"]},"id":"/home/rodzun/.virtualenvs/fullstacklabs/bin/python"}
2023-12-14 02:00:38.944 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/koombea/bin/python","id":"/home/rodzun/.virtualenvs/koombea/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/koombea/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/koombea"},"environment":{"type":"VirtualEnvironment","name":"koombea","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/koombea","scheme":"file"}},"version":{"major":3,"minor":8,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.8.10 (default, May 26 2023, 14:05:08) \n[GCC 9.4.0]"},"tools":["Venv"]},"id":"/home/rodzun/.virtualenvs/koombea/bin/python"}
2023-12-14 02:00:38.945 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/revi/bin/python","id":"/home/rodzun/.virtualenvs/revi/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/revi/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/revi"},"environment":{"type":"VirtualEnvironment","name":"revi","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/revi","scheme":"file"}},"version":{"major":3,"minor":7,"micro":17,"release":{"level":"final","serial":0},"sysVersion":"3.7.17 (default, Jun 6 2023, 20:10:10) \n[GCC 9.4.0]"},"tools":["Venv"]},"id":"/home/rodzun/.virtualenvs/revi/bin/python"}
2023-12-14 02:00:38.946 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python2","id":"/bin/python2","executable":{"uri":{"$mid":1,"path":"/bin/python2","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":2,"minor":7,"micro":18,"release":{"level":"final","serial":0},"sysVersion":"2.7.18 (default, Jul 1 2022, 12:27:04) \n[GCC 9.4.0]"},"tools":[]},"id":"/bin/python2"}
2023-12-14 02:00:38.948 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3","id":"/bin/python3","executable":{"uri":{"$mid":1,"path":"/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":8,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.8.10 (default, May 26 2023, 14:05:08) \n[GCC 9.4.0]"},"tools":[]},"id":"/bin/python3"}
2023-12-14 02:00:38.949 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3.7","id":"/bin/python3.7","executable":{"uri":{"$mid":1,"path":"/bin/python3.7","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":7,"micro":17,"release":{"level":"final","serial":0},"sysVersion":"3.7.17 (default, Jun 6 2023, 20:10:10) \n[GCC 9.4.0]"},"tools":[]},"id":"/bin/python3.7"}
2023-12-14 02:00:38.950 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3.9","id":"/bin/python3.9","executable":{"uri":{"$mid":1,"path":"/bin/python3.9","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":9,"micro":17,"release":{"level":"final","serial":0},"sysVersion":"3.9.17 (main, Jun 6 2023, 20:11:04) \n[GCC 9.4.0]"},"tools":[]},"id":"/bin/python3.9"}
2023-12-14 02:00:38.951 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python2","id":"/usr/bin/python2","executable":{"uri":{"$mid":1,"path":"/usr/bin/python2","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":2,"minor":7,"micro":18,"release":{"level":"final","serial":0},"sysVersion":"2.7.18 (default, Jul 1 2022, 12:27:04) \n[GCC 9.4.0]"},"tools":[]},"id":"/usr/bin/python2"}
2023-12-14 02:00:38.952 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":8,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.8.10 (default, May 26 2023, 14:05:08) \n[GCC 9.4.0]"},"tools":[]},"id":"/usr/bin/python3"}
2023-12-14 02:00:38.953 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3.7","id":"/usr/bin/python3.7","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3.7","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":7,"micro":17,"release":{"level":"final","serial":0},"sysVersion":"3.7.17 (default, Jun 6 2023, 20:10:10) \n[GCC 9.4.0]"},"tools":[]},"id":"/usr/bin/python3.7"}
2023-12-14 02:00:38.954 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3.9","id":"/usr/bin/python3.9","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3.9","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":9,"micro":17,"release":{"level":"final","serial":0},"sysVersion":"3.9.17 (main, Jun 6 2023, 20:11:04) \n[GCC 9.4.0]"},"tools":[]},"id":"/usr/bin/python3.9"}
2023-12-14 02:00:38.956 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/revi310/bin/python","id":"/home/rodzun/.virtualenvs/revi310/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/revi310/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/revi310"},"environment":{"type":"VirtualEnvironment","name":"revi310","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/revi310","scheme":"file"}},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 7 2023, 12:45:35) [GCC 9.4.0]"},"tools":["Venv"]},"id":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:38.972 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3.10","id":"/bin/python3.10","executable":{"uri":{"$mid":1,"path":"/bin/python3.10","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 7 2023, 12:45:35) [GCC 9.4.0]"},"tools":[]},"id":"/bin/python3.10"}
2023-12-14 02:00:38.974 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3.10","id":"/usr/bin/python3.10","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3.10","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 7 2023, 12:45:35) [GCC 9.4.0]"},"tools":[]},"id":"/usr/bin/python3.10"}
2023-12-14 02:00:38.975 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/rodzun/.virtualenvs/revi310/bin/python","path":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:38.976 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-12-14 02:00:38.985 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-12-14 02:00:38.986 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/rodzun/.virtualenvs/revi310/bin/python","path":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:38.988 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-12-14 02:00:38.989 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-12-14 02:00:38.991 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/rodzun/.virtualenvs/revi310/bin/python","id":"/home/rodzun/.virtualenvs/revi310/bin/python","executable":{"uri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/revi310/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/rodzun/.virtualenvs/revi310"},"environment":{"type":"VirtualEnvironment","name":"revi310","folderUri":{"$mid":1,"path":"/home/rodzun/.virtualenvs/revi310","scheme":"file"}},"version":{"major":3,"minor":10,"micro":12,"release":{"level":"final","serial":0},"sysVersion":"3.10.12 (main, Jun 7 2023, 12:45:35) [GCC 9.4.0]"},"tools":["Venv"]},"id":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:39.012 [debug] Searching for conda.
2023-12-14 02:00:39.028 [debug] Probing conda binary: conda
2023-12-14 02:00:39.084 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2023-12-14 02:00:39.129 [debug] Dump environment variables {
"USER": "rodzun",
"VSCODE_WSL_EXT_LOCATION": "/mnt/c/Users/RodZun/.vscode/extensions/ms-vscode-remote.remote-wsl-0.81.8",
"SHLVL": "0",
"HOME": "/home/rodzun",
"WSL_DISTRO_NAME": "Ubuntu",
"WAYLAND_DISPLAY": "wayland-0",
"LOGNAME": "rodzun",
"NAME": "DESKTOP-NTQQJMV",
"WSL_INTEROP": "/run/WSL/12_interop",
"PULSE_SERVER": "unix:/mnt/wslg/PulseServer",
"_": "/home/rodzun/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/node",
"TERM": "xterm-256color",
"XDG_RUNTIME_DIR": "/mnt/wslg/runtime-dir",
"DISPLAY": ":0",
"LANG": "C.UTF-8",
"SHELL": "/bin/bash",
"PWD": "/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code",
"WSL2_GUI_APPS_ENABLED": "1",
"HOSTTYPE": "x86_64",
"WSLENV": "VSCODE_WSL_EXT_LOCATION/up",
"VSCODE_HANDLES_SIGPIPE": "true",
"VIRTUALENVWRAPPER_SCRIPT": "/usr/local/bin/virtualenvwrapper.sh",
"VIRTUALENVWRAPPER_WORKON_CD": "1",
"WORKON_HOME": "/home/rodzun/.virtualenvs",
"VIRTUALENVWRAPPER_PROJECT_FILENAME": ".project",
"XDG_DATA_DIRS": "/usr/local/share:/usr/share:/var/lib/snapd/desktop",
"VIRTUALENVWRAPPER_HOOK_DIR": "/home/rodzun/.virtualenvs",
"VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en\",\"osLocale\":\"en\",\"availableLanguages\":{}}",
"VSCODE_CWD": "/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code",
"ELECTRON_RUN_AS_NODE": "1",
"VSCODE_IPC_HOOK_CLI": "/mnt/wslg/runtime-dir/vscode-ipc-55aff914-b383-4cc4-b873-d17618b497ea.sock",
"PATH": "/home/rodzun/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Git/cmd:/mnt/c/Users/RodZun/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/RodZun/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/heroku/bin:/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/RodZun/AppData/Roaming/npm:/mnt/c/Users/RodZun/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/snap/bin"
}
2023-12-14 02:00:39.133 [info] > conda info --json
2023-12-14 02:00:39.133 [debug] Worker id 1 for file plainExec.worker.js with data {"file":"conda","args":["info","--json"],"options":{"timeout":45000,"useWorker":true}}
2023-12-14 02:00:39.328 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-12-14 02:00:39.330 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2023-12-14 02:00:39.344 [debug] Activation Commands received source /home/rodzun/.virtualenvs/revi310/bin/activate for shell bash, resource /home/rodzun/reviNEW/z-dash and interpreter /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:39.344 [debug] Activating Environment to capture Environment variables, . /home/rodzun/.virtualenvs/revi310/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/rodzun/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2023-12-14 02:00:39.344 [info] > . ~/.virtualenvs/revi310/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2023-12-14 02:00:39.344 [info] shell: bash
2023-12-14 02:00:39.347 [debug] Failed to spawn conda binary conda Error: spawn conda ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-12-14 02:00:39.399 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:39.490 [debug] Couldn't locate the conda binary.
2023-12-14 02:00:39.562 [debug] Activation Commands received source /home/rodzun/.virtualenvs/revi310/bin/activate for shell /usr/bin/bash, resource /home/rodzun/reviNEW/z-dash and interpreter /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:39.562 [debug] Activating Environment to capture Environment variables, . /home/rodzun/.virtualenvs/revi310/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /home/rodzun/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2023-12-14 02:00:39.562 [info] > . ~/.virtualenvs/revi310/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2023-12-14 02:00:39.562 [info] shell: bash
2023-12-14 02:00:39.652 [debug] Activated environment variables for /home/rodzun/reviNEW/z-dash {
SHELL: '/bin/bash',
PYTHONUNBUFFERED: '1',
WSL2_GUI_APPS_ENABLED: '1',
WSL_DISTRO_NAME: 'Ubuntu',
ELECTRON_RUN_AS_NODE: '1',
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
NAME: 'DESKTOP-NTQQJMV',
PWD: '/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code',
LOGNAME: 'rodzun',
VIRTUALENVWRAPPER_SCRIPT: '/usr/local/bin/virtualenvwrapper.sh',
HOME: '/home/rodzun',
LANG: 'C.UTF-8',
WSL_INTEROP: '/run/WSL/12_interop',
VIRTUAL_ENV: '/home/rodzun/.virtualenvs/revi310',
WAYLAND_DISPLAY: 'wayland-0',
VIRTUALENVWRAPPER_WORKON_CD: '1',
WORKON_HOME: '/home/rodzun/.virtualenvs',
VSCODE_HANDLES_SIGPIPE: 'true',
TERM: 'xterm-256color',
USER: 'rodzun',
PYTHONIOENCODING: 'utf-8',
VIRTUALENVWRAPPER_PROJECT_FILENAME: '.project',
DISPLAY: ':0',
SHLVL: '0',
VSCODE_CWD: '/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code',
XDG_RUNTIME_DIR: '/mnt/wslg/runtime-dir',
PS1: '(revi310) ',
WSLENV: 'VSCODE_WSL_EXT_LOCATION/up',
VSCODE_WSL_EXT_LOCATION: '/mnt/c/Users/RodZun/.vscode/extensions/ms-vscode-remote.remote-wsl-0.81.8',
XDG_DATA_DIRS: '/usr/local/share:/usr/share:/var/lib/snapd/desktop',
PATH: '/home/rodzun/.virtualenvs/revi310/bin:/home/rodzun/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Git/cmd:/mnt/c/Users/RodZun/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/RodZun/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/heroku/bin:/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/RodZun/AppData/Roaming/npm:/mnt/c/Users/RodZun/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/snap/bin',
VIRTUALENVWRAPPER_HOOK_DIR: '/home/rodzun/.virtualenvs',
VSCODE_NLS_CONFIG: '{"locale":"en","osLocale":"en","availableLanguages":{}}',
HOSTTYPE: 'x86_64',
PULSE_SERVER: 'unix:/mnt/wslg/PulseServer',
VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
VSCODE_IPC_HOOK_CLI: '/mnt/wslg/runtime-dir/vscode-ipc-55aff914-b383-4cc4-b873-d17618b497ea.sock',
_: '/home/rodzun/.virtualenvs/revi310/bin/python'
}
2023-12-14 02:00:39.664 [info] > /bin/python2 ~/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2023-12-14 02:00:39.664 [info] shell: bash
2023-12-14 02:00:39.682 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:39.682 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:39.684 [debug] Setting environment variable VIRTUAL_ENV in collection to /home/rodzun/.virtualenvs/revi310
2023-12-14 02:00:39.684 [debug] Prepending environment variable PS1 in collection with (revi310)
2023-12-14 02:00:39.684 [debug] Prepending environment variable PATH in collection with /home/rodzun/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/deactivate/bash:/home/rodzun/.virtualenvs/revi310/bin:
2023-12-14 02:00:39.685 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:39.686 [info] Send text to terminal: /bin/python2 /home/rodzun/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariablesToFile.py /home/rodzun/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles/deactivate/bash/envVars.txt
2023-12-14 02:00:39.761 [debug] Clearing context for python dependencies not installed: /home/rodzun/reviNEW/z-dash/zdash/revi/orders/api/endpoints/orders_viewset.py
2023-12-14 02:00:39.888 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:40.798 [info] Starting Pylance language server.
2023-12-14 02:00:40.801 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:40.811 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:40.812 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:40.871 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-12-14 02:00:40.874 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/rodzun/.virtualenvs/revi310/bin/python","path":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:40.876 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2023-12-14 02:00:40.878 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-12-14 02:00:40.880 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/rodzun/.virtualenvs/revi310/bin/python","path":"/home/rodzun/.virtualenvs/revi310/bin/python"}
2023-12-14 02:00:43.101 [debug] Testing: Refreshing all test data
2023-12-14 02:00:43.101 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:43.109 [info] Discover tests for workspace name: z-dash - uri: /home/rodzun/reviNEW/z-dash
2023-12-14 02:00:43.109 [info] Running discovery for pytest using the new test adapter.
2023-12-14 02:00:43.110 [info] All environment variables set for pytest discovery for workspace /home/rodzun/reviNEW/z-dash: {"USER":"rodzun","VSCODE_WSL_EXT_LOCATION":"/mnt/c/Users/RodZun/.vscode/extensions/ms-vscode-remote.remote-wsl-0.81.8","SHLVL":"0","HOME":"/home/rodzun","WSL_DISTRO_NAME":"Ubuntu","WAYLAND_DISPLAY":"wayland-0","LOGNAME":"rodzun","NAME":"DESKTOP-NTQQJMV","WSL_INTEROP":"/run/WSL/12_interop","PULSE_SERVER":"unix:/mnt/wslg/PulseServer","_":"/home/rodzun/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/node","TERM":"xterm-256color","XDG_RUNTIME_DIR":"/mnt/wslg/runtime-dir","DISPLAY":":0","LANG":"C.UTF-8","SHELL":"/bin/bash","PWD":"/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code","WSL2_GUI_APPS_ENABLED":"1","HOSTTYPE":"x86_64","WSLENV":"VSCODE_WSL_EXT_LOCATION/up","VSCODE_HANDLES_SIGPIPE":"true","VIRTUALENVWRAPPER_SCRIPT":"/usr/local/bin/virtualenvwrapper.sh","VIRTUALENVWRAPPER_WORKON_CD":"1","WORKON_HOME":"/home/rodzun/.virtualenvs","VIRTUALENVWRAPPER_PROJECT_FILENAME":".project","XDG_DATA_DIRS":"/usr/local/share:/usr/share:/var/lib/snapd/desktop","VIRTUALENVWRAPPER_HOOK_DIR":"/home/rodzun/.virtualenvs","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_NLS_CONFIG":"{\"locale\":\"en\",\"osLocale\":\"en\",\"availableLanguages\":{}}","VSCODE_CWD":"/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code","ELECTRON_RUN_AS_NODE":"1","VSCODE_IPC_HOOK_CLI":"/mnt/wslg/runtime-dir/vscode-ipc-55aff914-b383-4cc4-b873-d17618b497ea.sock","PATH":"/home/rodzun/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Git/cmd:/mnt/c/Users/RodZun/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/RodZun/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/heroku/bin:/mnt/c/Users/RodZun/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/RodZun/AppData/Roaming/npm:/mnt/c/Users/RodZun/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/snap/bin","PYTHONPATH":"/home/rodzun/.vscode-server/extensions/ms-python.python-2023.22.1/pythonFiles","TEST_UUID":"a50f4546-d6ad-4385-83b6-53c46d13495f","TEST_PORT":"35081"}
2023-12-14 02:00:43.110 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:43.142 [debug] Running pytest discovery with command: -m pytest -p vscode_pytest --collect-only zdash for workspace /home/rodzun/reviNEW/z-dash.
2023-12-14 02:00:43.143 [info] > ~/.virtualenvs/revi310/bin/python -m pytest -p vscode_pytest --collect-only zdash
2023-12-14 02:00:43.143 [info] cwd: .
2023-12-14 02:00:43.933 [debug] Terminal shell path '/usr/bin/bash' identified as shell 'bash'
2023-12-14 02:00:43.933 [debug] Shell identified as bash
2023-12-14 02:00:43.933 [debug] Found cached env for /home/rodzun/.virtualenvs/revi310/bin/python
2023-12-14 02:00:47.483 [debug] Clearing context for python dependencies not installed: /home/rodzun/reviNEW/z-dash/zdash/revi/orders/api/endpoints/orders_viewset.py
2023-12-14 02:00:47.727 [debug] Clearing context for python dependencies not installed: /home/rodzun/reviNEW/z-dash/zdash/revi/orders/api/endpoints/orders_viewset.py
2023-12-14 02:00:49.820 [info] ============================= test session starts ==============================
2023-12-14 02:00:49.820 [info] platform linux -- Python 3.10.12, pytest-6.2.5, py-1.11.0, pluggy-1.2.0
2023-12-14 02:00:49.826 [info] django: settings: zdash.settings (from ini)
rootdir: /home/rodzun/reviNEW/z-dash/zdash, configfile: pytest.ini
plugins: forked-1.6.0, django-3.10.0, mock-3.11.1, xdist-2.5.0, factoryboy-2.1.0, Faker-19.3.1, requests-mock-1.8.0, datadir-1.3.1, lazy-fixture-0.6.3
2023-12-14 02:00:58.380 [info] collected 2152 items
2023-12-14 02:00:58.380 [info]
2023-12-14 02:00:58.381 [info]
Type: Bug
Behaviour
Expected vs. Actual
Extension should discover all unit tests but it does not. In terminal it finds a lot more test cases that in the extension.
Steps to reproduce:
I think I found the pattern for this issue. When you have several classes inside a unit test file, the extension only discovers the last class tests.
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)``` No error shown ```
User Settings
``` languageServer: "Pylance" testing • pytestArgs: ""
• pytestEnabled: true
```
Extension version: 2023.22.0 VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T20:48:09.019Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.133.1-microsoft-standard-WSL2
System Info
|Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz (8 x 2918)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.74GB (7.88GB free)| |Process Argv|--crash-reporter-id 93887114-f95c-4ef0-96d1-9a3c94563709| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.133.1-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz (8 x 2918)| |Memory (System)|15.50GB (11.61GB free)| |VM|0%|
A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30899288 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyonecf:30548226 2e4cg342:30602488 89544117:30613380 showlangstatbar:30737416 962ge761:30917236 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 welcomedialog:30910333 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30902429 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 ```