Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alchemistake opened this issue Jun 1, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@alchemistake
Copy link

alchemistake commented Jun 1, 2023

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 alchemistake added the bug Something isn't working label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants