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

AttributeError: module 'singer.metadata' has no attribute 'get_standard_metadata' #18

Open
owaismultani opened this issue Aug 20, 2020 · 0 comments

Comments

@owaismultani
Copy link

owaismultani commented Aug 20, 2020

Machine - Ubuntu 20.04 LTS
python version - 3.8

ran the following commands.
pip install tap-google-sheets
tap-google-sheets --config config.json --discover > catalog.json

the config.json contains the following:

{
"refresh_token":"---------",
"client_id":"----------",
"client_secret":"-------------",
"user_agent": "tap-google-sheets (via singer.io)",
"start_date": "2019-01-01T00:00:00Z",
"spreadsheet_id": "--------------",
"range": "A2:E2"
}


INFO Authorized, token expires = 2020-08-20 14:57:22.412650
INFO Starting discover
CRITICAL module 'singer.metadata' has no attribute 'get_standard_metadata'
Traceback (most recent call last):
  File "/home/owais/anaconda3/envs/singer5/bin/tap-google-sheets", line 8, in <module>
    sys.exit(main())
  File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/singer/utils.py", line 225, in wrapped
    return fnc(*args, **kwargs)
  File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/__init__.py", line 49, in main
    do_discover(client, spreadsheet_id)
  File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/__init__.py", line 26, in do_discover
    catalog = discover(client, spreadsheet_id)
  File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/discover.py", line 6, in discover
    schemas, field_metadata = get_schemas(client, spreadsheet_id)
  File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/schema.py", line 269, in get_schemas
    mdata = metadata.get_standard_metadata(
AttributeError: module 'singer.metadata' has no attribute 'get_standard_metadata'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant