You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python3 main.py
Traceback (most recent call last):
File "[redacted]/venv/lib/python3.10/site-packages/sentry_sdk/integrations/grpc/client.py", line 15, in<module>
from google.protobuf.message import Message
ModuleNotFoundError: No module named 'google'
integrations/grpc/client.py:
try:
importgrpcfromgrpcimportClientCallDetails, Callfromgrpc._interceptorimport_UnaryOutcomefromgrpc.aio._interceptorimportUnaryStreamCallfromgoogle.protobuf.messageimportMessage<--------------curiousexceptImportError:
raiseDidNotEnable("grpcio is not installed")
changed the title [-]`sentry-sdk[grpcio]` requires on [`protobuf`](https://pypi.org/project/protobuf/)[/-][+]`sentry-sdk[grpcio]` requires `protobuf`[/+]on May 16, 2024
Activity
[-]`sentry-sdk[grpcio]` requires on [`protobuf`](https://pypi.org/project/protobuf/)[/-][+]`sentry-sdk[grpcio]` requires `protobuf`[/+]antonpirker commentedon May 17, 2024
Hey @DazWilkin ! Thanks for bringing this up! I submitted a PR that fixes the problem by adding
protobufas an extra!antonpirker commentedon May 17, 2024
Tested with my grpc test project locally and works now!
novalic commentedon May 17, 2024
confirmed