ulauncher-vscode-projects icon indicating copy to clipboard operation
ulauncher-vscode-projects copied to clipboard

[Bug]: Vscode python tests' discovery fail because of grpcio

Open alchemistake opened this issue 1 year ago • 0 comments

Description?

When I launch code directly vscode tests don't fail. but if i launch from this extension it does.

Launched from the extension

image

Launched from ulauncher without extension

image

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)

alchemistake avatar Jun 01 '23 11:06 alchemistake