8000 error raised when google-cloud-logging 2.0.0 is installed with google-cloud-error-reporting · Issue #42 · googleapis/python-error-reporting · GitHub
[go: up one dir, main page]

Skip to content
error raised when google-cloud-logging 2.0.0 is installed with google-cloud-error-reporting #42
Closed
@hilliao

Description

@hilliao

steps to reproduce

  1. in a python3.8 virtual environment, execute the following commands:

pip3 install google-cloud-logging=="2.0.0" && pip3 install google-cloud-error-reporting

  1. verify the installed:
Package                      Version  
---------------------------- ---------
cachetools                   4.1.1    
certifi                      2020.11.8
chardet                      3.0.4    
google-api-core              1.23.0   
google-auth                  1.23.0   
google-cloud-core            1.4.3    
google-cloud-error-reporting 1.0.0    
google-cloud-logging         2.0.0    
googleapis-common-protos     1.52.0   
grpcio                       1.33.2   
idna                         2.10     
libcst                       0.3.14   
mypy-extensions              0.4.3    
pip                          20.0.2   
pkg-resources                0.0.0    
proto-plus                   1.11.0   
protobuf                     3.14.0   
pyasn1                       0.4.8    
pyasn1-modules               0.2.8    
pytz                         2020.4   
PyYAML                       5.3.1    
requests                     2.25.0   
rsa                          4.6      
setuptools                   44.0.0   
six                          1.15.0   
typing-extensions            3.7.4.3  
typing-inspect               0.6.0    
urllib3                      1.26.2   
  1. execute the python interpreter and 1 import line of code
 python3
Python 3.8.2 (default, Jul 16 2020, 14:00:26) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from google.cloud import error_reporting
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/hil/tmp/.m2/lib/python3.8/site-packages/google/cloud/error_reporting/__init__.py", line 22, in <module>
    from google.cloud.error_reporting.client import Client
  File "/home/hil/tmp/.m2/lib/python3.8/site-packages/google/cloud/error_reporting/client.py", line 35, in <module>
    from google.cloud.error_reporting._logging import _ErrorReportingLoggingAPI
  File "/home/hil/tmp/.m2/lib/python3.8/site-packages/google/cloud/error_reporting/_logging.py", line 22, in <module>
    import google.cloud.logging.client
ModuleNotFoundError: No module named 'google.cloud.logging.client'
>>> 

the error does not happen with google-cloud-logging 1.15.1; I suspect the error reporting fails to import the latest logging client library 2.0.0. Please investigate.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: clouderrorreportingIssues related to the googleapis/python-error-reporting API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0