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

TypeError when running --help #6

Closed
pnadolny13 opened this issue Dec 2, 2022 · 1 comment
Closed

TypeError when running --help #6

pnadolny13 opened this issue Dec 2, 2022 · 1 comment

Comments

@pnadolny13
Copy link

Hey! I'm getting this error when I ran meltano invoke tap-sensedata --help is there a way to not access config values for --help/--about?

Traceback (most recent call last):
  File "/Users/pnadolny/Documents/Git/GitHub/pnadolny/hub-utils/hub_utils/test_meltano_project/.meltano/extractors/tap-sensedata/venv/bin/tap-sensedata", line 5, in <module>
    from tap_sensedata.tap import Tapsensedata
  File "/Users/pnadolny/Documents/Git/GitHub/pnadolny/hub-utils/hub_utils/test_meltano_project/.meltano/extractors/tap-sensedata/venv/lib/python3.9/site-packages/tap_sensedata/tap.py", line 5, in <module>
    from tap_sensedata.streams import (
  File "/Users/pnadolny/Documents/Git/GitHub/pnadolny/hub-utils/hub_utils/test_meltano_project/.meltano/extractors/tap-sensedata/venv/lib/python3.9/site-packages/tap_sensedata/streams.py", line 18, in <module>
    class CustomDataStream(sensedataStream):
  File "/Users/pnadolny/Documents/Git/GitHub/pnadolny/hub-utils/hub_utils/test_meltano_project/.meltano/extractors/tap-sensedata/venv/lib/python3.9/site-packages/tap_sensedata/streams.py", line 22, in CustomDataStream
    ref_date_start = date.today() - timedelta(days=int(os.getenv("TAP_SENSEDATA_CUSTOM_DATA_REF_DATE_START")))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
@Marcos314
Copy link
Contributor

Marcos314 commented May 10, 2023

Hello @pnadolny13, I would like to inform you that the fix has been performed on PR. Thank you for informing us of the error, with the correction implemented I will be closing this issue.

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

2 participants