-
Notifications
You must be signed in to change notification settings - Fork 46
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
Server fails (code 500) when private families are in DB #523
Comments
It can't be because of families being private, there must be another reason. Please check the server logs and report them here. 500 always means a Python exception is thrown. |
Please also try whether the problem persists after running check & repair on your database. |
This happens when public family has private parents. gramps lib's |
When I make family private (for private parents) I'm getting slightly different error:
I do not see families with private children in my DB, however, at the end it still crashes when |
Forgot to mention before, DB check did not find any errors. |
Thanks! I see the problem – Gramps' |
The return value of In the past we used |
Such a great argument in favour of type hints 😉 |
The main problem was that we didn't raise an exception for the errors. They just slipped through looking like proxy filtering. |
GET /api/families/?locale=en&profile=self&keys=gramps_id,profile,change&page=2&pagesize=20)
I marked few families as private, there're more than 20 non-families. Based on default filter all private families are at the end of the list or on the second page. GET works for first page and crashes for second one.
The text was updated successfully, but these errors were encountered: