vladimir_krivokapic
12/12/2022, 10:52 AMRun invocation could not be completed as block failed: Loader failed.
Running on WSL2 Ubuntu 22.04.01 LTS.
Both loader and extractor were installed successfully.Sven Balnojan
12/12/2022, 1:08 PMvladimir_krivokapic
12/12/2022, 1:20 PMvladimir_krivokapic
12/12/2022, 1:58 PMSven Balnojan
12/12/2022, 2:02 PMvladimir_krivokapic
12/12/2022, 2:09 PMSven Balnojan
12/12/2022, 2:25 PMvladimir_krivokapic
12/12/2022, 2:34 PMSven Balnojan
12/12/2022, 2:47 PMvisch
12/12/2022, 2:48 PMvladimir_krivokapic
12/13/2022, 10:16 AM'Instance <Job at 0x7fd83886f850> is not bound to a Session; ā ā
ā ā attribute refresh operation cannot proceed (Background on this error at: ā ā
ā ā <https://sqlalche.me/e/14/bhk3)>'
vladimir_krivokapic
12/13/2022, 10:17 AMvisch
12/13/2022, 2:54 PMvladimir_krivokapic
12/13/2022, 3:05 PMvisch
12/13/2022, 3:33 PMvisch
12/13/2022, 3:36 PMpip_url: tap-github
config:
repository: meltano/meltano
start_date: '2020-01-01'
select:
- "!teams.*"
- "!team_members.*"
- "!team_memberships.*"
- "!collaborators.*"
- "!comments.*"
- "*.*"
So far no errors yetvisch
12/13/2022, 3:37 PMmeltano run tap-github target-postgres > out 2>&1
Paste the out file minus sensitive data (Specifically the error info, and Ideally not a screen shot)
I'm still waiting on the run on my end to completevisch
12/13/2022, 3:43 PMsqlalchemy.exc.DataError: (psycopg2.errors.NumericValueOutOfRange) integer out of range
It was above where your pictures were at I think I can replicate it as well which is good
I thought I fixed this here https://github.com/MeltanoLabs/target-postgres/issues/26 but maybe bigint isn't enough? I'll divevisch
12/13/2022, 5:47 PMevents
stream defines the schema of the field id
as an integer
but then provides the data as a decimal ie 1234569999999999.0
which fails for us.
I think this is a tap issue more than a target one. We could use a schema override and set id to a string to get around this issue (I believe) for github.
The easier solution here was to just switch to the meltanolabs
tap-github as wellvladimir_krivokapic
12/14/2022, 8:19 AMmeltano add extractor tap-github --variant singer-io
vladimir_krivokapic
12/14/2022, 8:22 AMvladimir_krivokapic
12/14/2022, 8:33 AMvladimir_krivokapic
12/14/2022, 8:35 AMvladimir_krivokapic
12/14/2022, 8:35 AMvladimir_krivokapic
12/14/2022, 8:36 AMvladimir_krivokapic
12/14/2022, 8:36 AMmeltano elt
style logging should be deprecated ā
ā 459 ā ā ā legacy_log_handler = self.output_logger.out("meltano", logger) ā
ā 460 ā ā ā with legacy_log_handler.redirect_logging(): ā
ā ā± 461 ā ā ā ā await self.run_with_job() ā
ā 462 ā ā ā ā return ā
ā 463 ā ā else: ā
ā 464 ā ā ā logger.warning( ā¦vladimir_krivokapic
12/14/2022, 9:24 AMextractors:
- name: tap-github
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-github.git>
config:
repositories: [ myrepo ]
start_date: '2022-01-01'
vladimir_krivokapic
12/14/2022, 9:25 AMvladimir_krivokapic
12/14/2022, 9:25 AMvladimir_krivokapic
12/14/2022, 9:25 AMvladimir_krivokapic
12/14/2022, 9:26 AMvladimir_krivokapic
12/14/2022, 9:34 AMvladimir_krivokapic
12/14/2022, 9:39 AMvisch
12/14/2022, 4:56 PMhttps://meltano.slack.com/archives/CMN8HELB0/p1671005988831139?thread_ts=1670842341.023229&cid=CMN8HELB0Yeah the tutorial doesn't' pull in all of the streams. The specific stream we're having an issue with here is the
events
stream. Which is why you're seeing an issue with it that we don't have locally. Yes it is an issue but it is isolated to just that stream (I believe) which you could deselect
psycopg2.errors.DatatypeMismatch: column "parents" is of type jsonb but expression is of type jsonb[]From the long log at https://meltano.slack.com/archives/CMN8HELB0/p1671006909708769?thread_ts=1670842341.023229&cid=CMN8HELB0 It looks like another error I'm not sure if that's a tap/target issue without looking at the data. It really should work. I'll have to double check I have the stream correct. @vladimir_krivokapic if you're using the meltano labs target could you run
meltano install --clean
to get the latest version for me and run it again. Then post the Log again. I just updated the target to show the stream name in the temp table to make life a bit easier for us while debugging.
404 not foundI think the config you have needs to have the repo name in quotes so
extractors:
- name: tap-github
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-github.git>
config:
repositories: ["myrepo"]
start_date: '2022-01-01'
vladimir_krivokapic
12/16/2022, 7:29 AMvladimir_krivokapic
12/16/2022, 7:30 AM2022-12-16T07:27:32.226398Z [info ] raise RetriableAPIError(msg, response) cmd_type=elb consumer=False name=tap-github producer=True stdio=stderr string_id=tap-github
2022-12-16T07:27:32.226954Z [info ] singer_sdk.exceptions.RetriableAPIError: 401 Client Error: b'{"message":"This endpoint requires you to be authenticated.","documentation_url":"<https://docs.github.com/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql>"}' (Reason: Unauthorized) for path: /graphql cmd_type=elb consumer=False name=tap-github producer=True stdio=stderr string_id=tap-github
vladimir_krivokapic
12/16/2022, 7:37 AMplugins:
extractors:
- name: tap-github
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-github.git>
config:
access_token: mytoken
repositories: ["myrepo"]
start_date: '2022-01-01'
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
- name: target-postgres
variant: default
pip_url: git+<https://github.com/MeltanoLabs/target-postgres.git>
config:
user: meltano
password: password
host: localhost
database: postgres
vladimir_krivokapic
12/16/2022, 10:02 AMvisch
12/16/2022, 12:38 PMvladimir_krivokapic
12/16/2022, 12:47 PM