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

File remains locked after running flow in QtConsole on Windows #145

Closed
as2875 opened this issue Aug 6, 2020 · 1 comment
Closed

File remains locked after running flow in QtConsole on Windows #145

as2875 opened this issue Aug 6, 2020 · 1 comment

Comments

@as2875
Copy link

as2875 commented Aug 6, 2020

Run the following in QtConsole on Windows (which is what the popular Spyder IDE does).

import dataflows

data = [
    {"data": "Hello"},
    {"data": "World"}
]

f = dataflows.Flow(
    data,
    dataflows.dump_to_zip("package.zip")
)

f.process()

The file package.zip remains locked after the code finishes running and can only be accessed after closing the console.

(@lwinfree, @sje30)

@akariv akariv closed this as completed in fe9817f Aug 11, 2020
@akariv
Copy link
Member

akariv commented Aug 11, 2020

Thanks for reporting @as2875 !

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