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

Fix OSX write limit as workaround for known Python bug #521

Merged
merged 3 commits into from
Jul 25, 2018

Conversation

drdavella
Copy link
Contributor

This resolves #520. It appears to be related to a known issue in Python.

Bringing the chunk size below the problematic 2GB threshold appears to fix the issue, at least as reported in #520. I'm not sure whether it's worth adding a test for this since it would require writing a 2GB+ file on a VM in travis...

@drdavella drdavella added the bug label Jul 25, 2018
@drdavella drdavella added this to the v2.0.2 milestone Jul 25, 2018
@drdavella drdavella self-assigned this Jul 25, 2018
@stsci-bot
Copy link

stsci-bot bot commented Jul 25, 2018

Hi there @drdavella 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog. I help make sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

Everything looks good from my point of view! 👍

If there are any issues with this message, please report them here.

@coveralls
Copy link

coveralls commented Jul 25, 2018

Coverage Status

Coverage remained the same at 93.79% when pulling 55a1d69 on drdavella:fix-osx-write-limit into e556175 on spacetelescope:master.

@drdavella drdavella merged commit 53fff16 into asdf-format:master Jul 25, 2018
@drdavella drdavella deleted the fix-osx-write-limit branch July 25, 2018 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSError: [Errno 22] Invalid argument
2 participants