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 output causes IOError because of temp_file.close #48

Open
jeffblake opened this issue Jan 17, 2015 · 1 comment
Open

File output causes IOError because of temp_file.close #48

jeffblake opened this issue Jan 17, 2015 · 1 comment

Comments

@jeffblake
Copy link

Removing the call to .close will fix it. You can't access an instance of Tempfile after close is called. Perhaps adding another method like pass.cleanup! that closes the temp file is a good idea.

@frozon
Copy link
Owner

frozon commented Jan 18, 2015

Hi,
Could you please provide a use case in order to reproduce this IOError

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