-
Notifications
You must be signed in to change notification settings - Fork 5
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
Spontaneous exits - attempting to isolate #177
Comments
I am thinking this may be memory related unless I have some kind of bug that causes a recursion. |
Just after starting Gramps (with it recalling the a 20-person tree for Gramps developer contacts that was previously loaded), selected the People category Person CardView mode. If CardView remembers Template selection, it would've been "selfish template" shared previously) Threw an error and froze on "cancel" out of the Gramps Error Dialog
|
Repeated with Example.gramps -- got an error but no freeze upon Cancel and the Person CardView renders... but with the default template
|
Selfish template is missing from the GUI... because I had DELETED the So, switching to a CardView didn't fail gracefully when the selected Template |
Ah! I can reproduce the set_page_slider exception. I took working tree, viewed all the categories with LastChanged Gramplet active. Shutdown Gramps. Renamed the last_changed.gpr.py to a .old so it would not load, restarted Gramps. The last changed gramplet config was still in all the sidebar.ini though. The initial category on start loaded just fine, but then each category I selected triggered the error as it's trying to setup a Gramplet that is no longer loaded and available. So that's indeed an issue in Gramps core in pageview.py or elsewhere. |
So it needs a de-registration as a counterpoint to the Registration of plugins? A scan of all the .ini to look for references to add-ons that are not in the freshly updated register. (And possibly split bars invalid positions that exceed width/height of the target window. Also problematic are custom filters that might use unregistered/out-of-revision addon rules.) |
If deregistered cleanly in Gramps, or if you used plugin manager and uninstalled, it would be fine. The issue comes up when you go yanking the config out under the covers. |
Just a heads up.
I've had 2 spontaneous exits today. 1 with my 48,000 person Tree and another with the Example.gramps tree. Since the console immediately closed, I have no diagnostics.
Both while were while switching to a CardView view mode. There was about 30 seconds of unresponsive GUI without changing Navigator or Toolbar or view from the Previous view mode, then the exit.
I will revert to launching from the command prompt and try to isolate. More late.
The text was updated successfully, but these errors were encountered: