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

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

Open
kacarmichael opened this issue Aug 9, 2024 · 2 comments

Comments

@kacarmichael
Copy link

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:<App data directory to temporary folder>\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
Copy link
Author

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
Copy link
Contributor

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?

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

No branches or pull requests

2 participants