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

Locking bug? AttributeError: 'NoneType' object has no attribute 'lock_release' #358

Closed
cisaacstern opened this issue May 6, 2022 · 1 comment

Comments

@cisaacstern
Copy link
Member

In running recipes on Pangeo Forge Cloud, we've encountered a few locking-related errors recently.

Based on @rabernat's linked comment on the first of these issues, it seems there are certain combinations of inputs_per_chunk/target_chunks kwargs which may cause and/or resolve this issue. Perhaps it's possible to catch these in XarrayZarrRecipe.__post_init__ and fail fast, ideally with a recommendation for the user?

As noted in pangeo-forge/user-stories#7, I haven't succeeded in reproducing this error outside of Pangeo Forge Cloud, since it seems it's either dependent on (a) the number of distributed workers; and/or (b) is intermittent.

@cisaacstern
Copy link
Member Author

Post 0.10.0 release, this is no longer relevant.

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

1 participant