Giter Club home page Giter Club logo

datacatalog-tag-manager's Issues

Set up the bumpversion library

bumpversion is a small command-line tool to simplify releasing software by updating all version strings in your source code by the correct increment. It also creates commits and tags.

numpy 1.19.4 raises a RuntimeError when running in Windows 10 Home

I'm getting a runtime error when running datacatalog-tag-manager in Windows 10 Home:

RuntimeError: The current Numpy installation ('C:\\__REDACTED__\\datacatalog-tag-manager\\env\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

The error happens when running the connector or even the unit tests.

google.api_core.exceptions.MethodNotImplemented: 501 Received http2 header with status: 404

Hi @ricardolsmendes ,

Thanks for the Data catalog package. It is throwing below error while running on GCP Cloud Shell.
Could you please help me to resolve it.

Error Log=============
INFO:root:===> Upsert Tags from CSV [STARTED]
INFO:root:
INFO:root:Reading CSV file: DataCatalog_input.csv...
INFO:root:
INFO:root:Upserting the Tags...
INFO:root:
INFO:root:GET Entry: //bigquery.googlapis.com/projects/one-global-dde-dev/datasets/OPUS/tables/DWL_DOM_AR
INFO:root:--------------------------------------------------
Traceback (most recent call last):
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 73, in error_remapped_callable
return callable_(*args, **kwargs)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/grpc/_channel.py", line 923, in call
return _end_unary_response_blocking(state, call, False, None)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/grpc/_channel.py", line 826, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNIMPLEMENTED
details = "Received http2 header with status: 404"
debug_error_string = "{"created":"@1616126950.574176093","description":"Received http2 :status header with non-200 OK status","file":"src/core/ext/filters/http/client/http_client_filter.cc","file_line":129,"grpc_message":"Received http2 header with sta
tus: 404","grpc_status":12,"value":"404"}"

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/sandeeyadav/datacatalog-tag-manager/env/bin/datacatalog-tags", line 8, in
sys.exit(main())
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/tag_manager_cli.py", line 55, in main
TagManagerCLI.run(argv[1:] if len(argv) > 0 else argv)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/tag_manager_cli.py", line 15, in run
args.func(args)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/tag_manager_cli.py", line 45, in __upsert_tags
file_path=args.csv_file)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/tag_datasource_processor.py", line 35, in upsert_tags_from_csv
dataframe, processor=self.__datacatalog_facade.upsert_tag)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/tag_datasource_processor.py", line 73, in __process_tags_from_dataframe
catalog_entry = self.__find_entry(entry_name_or_resource)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/tag_datasource_processor.py", line 111, in __find_entry
return self.__datacatalog_facade.get_entry(name_or_resource)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/datacatalog_tag_manager/datacatalog_facade.py", line 35, in get_entry
entry = self.__datacatalog.get_entry(name=name)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/google/cloud/datacatalog_v1beta1/services/data_catalog/client.py", line 1357, in get_entry
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py", line 145, in call
return wrapped_func(*args, **kwargs)
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/google/api_core/retry.py", line 286, in retry_wrapped_func
on_error=on_error,
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/home/sandeeyadav/datacatalog-tag-manager/env/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 75, in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
File "", line 3, in raise_from
google.api_core.exceptions.MethodNotImplemented: 501 Received http2 header with status: 404
(env) sandeeyadav@cloudshell:~/datacatalog-tag-manager (dcsea-ac-one-sandbox)$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.