Skip to content

Don't crash if a gramplet fails to load #2061

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

Merged

Conversation

stevenyoungs
Copy link
Contributor

If a gramplet fails to load, self.pui is None, so do not call self.pui.set_orientation to avoid an error

Fixes bug 13820

@stevenyoungs stevenyoungs changed the base branch from master to maintenance/gramps60 May 9, 2025 21:12
@Nick-Hall Nick-Hall added the bug label May 9, 2025
@dsblank dsblank added this to the v6.0 milestone Jun 7, 2025
pui can be None if a gramplet fails to load.

Fixes #13820.
@Nick-Hall Nick-Hall merged commit 9825fe5 into gramps-project:maintenance/gramps60 Jun 9, 2025
2 checks passed
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.

3 participants