ulauncher-vscode-projects
ulauncher-vscode-projects copied to clipboard
[Bug]: Vscode python tests' discovery fail because of grpcio
Description?
When I launch code directly vscode tests don't fail. but if i launch from this extension it does.
Launched from the extension
Launched from ulauncher without extension
Extension Logs
from google.cloud.exceptions import NotFound # pylint: disable=no-name-in-module
File "/home/alchemistake/.local/share/virtualenvs/kindly-KPEJBdOt/lib/python3.10/site-packages/google/cloud/exceptions/__init__.py", line 24, in <module>
from google.api_core import exceptions
File "/home/alchemistake/.local/share/virtualenvs/kindly-KPEJBdOt/lib/python3.10/site-packages/google/api_core/exceptions.py", line 29, in <module>
from google.rpc import error_details_pb2
File "/home/alchemistake/.local/share/virtualenvs/kindly-KPEJBdOt/lib/python3.10/site-packages/google/rpc/error_details_pb2.py", line 39, in <module>
_RETRYINFO = DESCRIPTOR.message_types_by_name["RetryInfo"]
AttributeError: 'NoneType' object has no attribute 'message_types_by_name'
at ChildProcess.<anonymous> (/home/alchemistake/.vscode/extensions/ms-python.python-2023.9.11461009/out/client/extension.js:2:241844)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1112:16)
at Socket.<anonymous> (node:internal/child_process:470:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:757:14)