I was somehow unable to submit the bug report below to the Mantis Bug Tracker, to which my version of Gramps led me. It can’t be a big problem because Gramps didn’t crash. Is this a known issue? How should I proceed?
User Information:
Opened a Form (Forms Gramplet active with Graph View window) containing the existing transcription of a UK Census page
Viewed the original Census page contained in the Gallery section of the Form
Closing the viewed page triggered this Gramps error.
Doesn’t happen if only the form is opened, but the gallery file is not opened.
Repeatable
Error Details:
1109010: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/app/lib/python3.11/site-packages/gramps/gui/editors/displaytabs/buttontab.py", line 320, in _selection_changed
if self.get_selected() is not None:
^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/gramps/gui/editors/displaytabs/gallerytab.py", line 292, in get_selected
node = self.iconlist.get_selected_items()
^^^^^^^^^^^^^
AttributeError: 'GalleryTab' object has no attribute 'iconlist'
1149415: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/app/lib/python3.11/site-packages/gramps/gui/editors/displaytabs/buttontab.py", line 320, in _selection_changed
if self.get_selected() is not None:
^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/gramps/gui/editors/displaytabs/gallerytab.py", line 292, in get_selected
node = self.iconlist.get_selected_items()
^^^^^^^^^^^^^
AttributeError: 'GalleryTab' object has no attribute 'iconlist'
System Information:
Gramps version: 5.2.3
Python version: 3.11.9
BSDDB version: not found
sqlite version: 3.42.0 (2.6.0)
LANG: en_GB.UTF-8
OS: Linux
Distribution: 6.4.0-150600.23.25-default
GTK version : 3.24.42
gobject version: 3.48.2
cairo version : (1, 26, 1)
Did you get an error from the bug tracker? And are you sure you have already created a bug tracker account and logged in before attempting to create a bug report?
If you do have an account and need to reset the password visit
Does your error occur if you use the Example.gramps family tree, this helps work out if it might be an issue with your family tree possibly having corruption ?
When trying to figure out the next steps with an unhandled exception, two things are very helpful: searching the exception message or keywords on (1) this forum, and (2) Gramps Bugtracker.
Searching this error resulted in this thread which seems identical.
One thing that gets in the way of searching exception messages with quotes on the bug tracker is that the forum uses styled quotes (i.e. open and close quotes are different), whereas the plain text version uses single quotes (same for open and close). So when copy-pasting into the bug tracker be sure to use the plain text output from Gramps, otherwise you may not get results.
I think I should add this is classified as minor on bugttracker
However I think this might be slightly more serious in that you get the same error if you use Close the Window, or OK Button or Cancel Button none of which on first glance through buttontab.py or gallerytab.py appear to link into these. I think the assumption is that you will always have modified something not merely gone back to check for a possible error.
So I was wondering if this bug could be present in other similar situations or is restricted to Forms