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

RuntimeError Event loop is closed #13

Open
MeltyBot opened this issue Dec 8, 2021 · 1 comment
Open

RuntimeError Event loop is closed #13

MeltyBot opened this issue Dec 8, 2021 · 1 comment

Comments

@MeltyBot
Copy link
Contributor

MeltyBot commented Dec 8, 2021

Migrated from GitLab: https://gitlab.com/meltano/tap-salesforce/-/issues/14

Originally created by @obause on 2021-12-08 14:31:56


I'm running the Tap with Meltano 1.88.0 and I get several Exceptions with "Event loop is closed". The Job doesn't stop, but at the End I'm getting "ELT could not be completed: Extractor failed".

BUT everything seems working. I'm getting all Records as expected.

Python version: 3.7.10
Meltano version 1.88.0
Salesforce Tap Config: API-Type: BULK, OAuth based authentication

This exception is raising every few seconds:

tap-salesforce       | extractor | ERROR exception calling callback for <Future at 0x7f345bd69f10 state=finished returned NoneType>
tap-salesforce       | extractor | Traceback (most recent call last):
tap-salesforce       | extractor |   File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
tap-salesforce       | extractor |     callback(self)
tap-salesforce       | extractor |   File "/usr/lib64/python3.7/asyncio/futures.py", line 365, in _call_set_state
tap-salesforce       | extractor |     dest_loop.call_soon_threadsafe(_set_state, destination, source)
tap-salesforce       | extractor |   File "/usr/lib64/python3.7/asyncio/base_events.py", line 736, in call_soon_threadsafe
tap-salesforce       | extractor |     self._check_closed()
tap-salesforce       | extractor |   File "/usr/lib64/python3.7/asyncio/base_events.py", line 479, in _check_closed
tap-salesforce       | extractor |     raise RuntimeError('Event loop is closed')
tap-salesforce       | extractor | RuntimeError: Event loop is closed

At the End of the Job Meltano ends with

meltano              | elt       | Extraction failed (1): RuntimeError: Event loop is closed
meltano              | elt       | ELT could not be completed: Extractor failed
ELT could not be completed: Extractor failed

So everything seems working, but the Job is exiting with status failed.

Debug Level is not giving more Information to this error.

@MeltyBot
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant