airbytehq / PyAirbyte

PyAirbyte brings the power of Airbyte to every Python developer.
https://docs.airbyte.com/pyairbyte
Other
228 stars 39 forks source link

Source Stripe - Process cannot access the file because it is being used by another process #332

Open kacarmichael opened 2 months ago

kacarmichael commented 2 months ago

Just installed pyairbyte into a venv and created a stripe connector. Installation and source creation went fine, with a successful source.check().

source.get_available_streams() returns:

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\accounts.sqlite' Something went wrong in the connector. See the logs for more details.

Efforts to find out if there is another process that somehow latched onto the sqlite files generated have turned up no results. Is it possible that another part of the connector is trying to access the sqlite files before they've been unlocked by previous processes?

kacarmichael commented 2 months ago

Restarted my machine and recreated this entirely in a command prompt. Created a new stripe source, got a successful check, and got the same error when calling for available streams. Other commands also return the same issue. source.read() yields the same error.

niyasrad commented 2 months ago

Can you give more information on how you have supplied the arguments for while creating the source? Are you using a DockerExecutor? if not, can you try?