-
Notifications
You must be signed in to change notification settings - Fork 586
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
Bad charmap.pickle.gz file causes user-unfriendly Hypothesis crash #767
Comments
|
I’d lean towards option (2) – exposing details of this file to the user seems like a mistake. It’s created by Hypothesis, we shouldn’t tell the user about it unless things really fall over. |
|
Definitely prefer option 2; having looked at the source we can always handle this with at most a once-per-run performance hit (regenerating the content). I'll offer this as a good first patch for someone at the PyConAU sprints tomorrow; and otherwise get to it soon myself. |
|
Thank you! |
Problem
A coworker of mine ran into the following
EOFError: Ran out of inputcrash, with the latest Hypothesis: see the traceback below.Analysis
It appears that the crash happened while reading
.hypothesis/unicodedata/8.0.0/charmap.pickle.gz. Presumably, either the pickle or gzip data were malformed for some reason: deleting the file resolved the problem.However, it seems like Hypothesis could handle this situation better. Two possible improvements:
Thoughts?
Traceback
The text was updated successfully, but these errors were encountered: