Skip to content

RuntimeError Event loop is closed #13

@MeltyBot

Description

@MeltyBot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions