rahul_anand
07/14/2020, 4:35 PMmeltano elt tap-salesforce target-jsonl and got an error after downloading more than 800 objects.
I want to retry the download now, but it is surprising that there is no state in the system database. On further investigation I found there was an exception while saving state:
ERROR exception calling callback for <Future at 0x7fb9db662110 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
callback(self)
File "/usr/lib64/python3.7/asyncio/futures.py", line 365, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/usr/lib64/python3.7/asyncio/base_events.py", line 732, in call_soon_threadsafe
self._check_closed()
File "/usr/lib64/python3.7/asyncio/base_events.py", line 479, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task exception was never retrieved
future: <Task finished coro=<SingerRunner.bookmark() done, defined at /home/ec2-user/.venv/meltano/lib64/python3.7/site-packages/meltano/core/runner/singer.py:133> exception=ValueError('Separator is found, but chunk is longer than limit')>
Traceback (most recent call last):
File "/usr/lib64/python3.7/asyncio/streams.py", line 496, in readline
line = await self.readuntil(sep)
File "/usr/lib64/python3.7/asyncio/streams.py", line 592, in readuntil
'Separator is found, but chunk is longer than limit', isep)
asyncio.streams.LimitOverrunError: Separator is found, but chunk is longer than limit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ec2-user/.venv/meltano/lib64/python3.7/site-packages/meltano/core/runner/singer.py", line 135, in bookmark
last_state = await target_stream.readline()
File "/usr/lib64/python3.7/asyncio/streams.py", line 505, in readline
raise ValueError(e.args[0])
ValueError: Separator is found, but chunk is longer than limit
ELT could not complete, an error happened during the process: Subprocesses didn't exit cleanly: tap(1), target(0)
How do I retry? Obviously I do not want to re-run from the beginning.douwe_maan
07/14/2020, 4:43 PMdouwe_maan
07/14/2020, 4:45 PMrahul_anand
07/14/2020, 5:01 PM{"error": ""} . Not much useful. I was wondering why there was no state information saved in between object downloads.douwe_maan
07/14/2020, 5:04 PMrahul_anand
07/14/2020, 5:09 PMdouwe_maan
07/14/2020, 5:10 PMrahul_anand
07/14/2020, 5:22 PMdouwe_maan
07/14/2020, 5:32 PM