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 occasional error in LocalFileGzip read #484

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

garrettjstevens
Copy link
Contributor

I'm not sure what triggered this bug that is different from before, but when I cleared out my local DB I couldn't load features any more. The error was cryptic, saying something like "length should be >=0, got <some negative number>". I finally tracked it down to read in LocalFileGzip where the "position" and "offset" were swapped. I'm guessing they were both usually 0, which is why it usually worked, but occasionally they were not 0 and it failed.

@garrettjstevens garrettjstevens self-assigned this Nov 27, 2024
@garrettjstevens garrettjstevens merged commit 1194924 into main Dec 3, 2024
7 checks passed
@garrettjstevens garrettjstevens deleted the bugfix_localFileGzip_read branch December 3, 2024 02:41
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

Successfully merging this pull request may close these issues.

1 participant