Hi, I’m new to Meltano and am working on a Linear ...
# troubleshooting
r
Hi, I’m new to Meltano and am working on a Linear tap. Given that the only available one has installation issues and has not had updates for a few years, I’m trying to fix it in a fork (https://github.com/renesteeman/tap-linear). However, after fixing the installation issues and upgrading the packages, I have gotten stuck on an error for which I don’t know the cause. │ /Users/renesteeman/Desktop/narayan-ai-core/.venv/lib/python3.11/site-packages/meltano/core/block │ │ /extract_load.py:494 in execute │ │ │ │ 491 │ │ async with self._start_blocks(): │ │ 492 │ │ │ await self._link_io() │ │ 493 │ │ │ manager = ELBExecutionManager(self) │ │ ❱ 494 │ │ │ await manager.run() │ │ 495 │ │ │ 496 │ async def run(self) -> None: │ │ 497 │ │ """Run the ELT task.""" │ │ │ │ /Users/renesteeman/Desktop/narayan-ai-core/.venv/lib/python3.11/site-packages/meltano/core/block │ │ /extract_load.py:709 in run │ │ │ │ 706 │ │ any of the blocks exit with a non 0 exit code. │ │ 707 │ │ """ │ │ 708 │ │ await self._wait_for_process_completion(self.elb.head) │ │ ❱ 709 │ │ _check_exit_codes( │ │ 710 │ │ │ self._producer_code, │ │ 711 │ │ │ self._consumer_code, │ │ 712 │ │ │ self._intermediate_codes, │ │ │ │ /Users/renesteeman/Desktop/narayan-ai-core/.venv/lib/python3.11/site-packages/meltano/core/block │ │ /extract_load.py:878 in _check_exit_codes │ │ │ │ 875 │ │ │ │ │ PluginType.LOADERS: consumer_code, │ │ 876 │ │ │ │ }, │ │ 877 │ │ │ ) │ │ ❱ 878 │ │ raise RunnerError("Extractor failed", {PluginType.EXTRACTORS: producer_code}) # │ │ 879 │ │ │ 880 │ if consumer_code: │ │ 881 │ │ raise RunnerError("Loader failed", {PluginType.LOADERS: consumer_code}) # noqa: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ RunnerError: Extractor failed Any advice on how to debug this?
1
Solved. After finding the logs in .meltano/logs I found a more readable error and was able to fix it.
🙌 8
a
I definitely find the solution to errors more often to be further up the stack trace with meltano.
v
yeah the stack traces from Meltano are not helpful when it's an exception from the underly tap/target so you have to keep scrolling up 😕
e
The next version of Meltano will improve the situation 🙂 https://github.com/meltano/meltano/pull/9521
👍 1