Repeatable unexpected error

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:

  1. Opened a Form (Forms Gramplet active with Graph View window) containing the existing transcription of a UK Census page
  2. Viewed the original Census page contained in the Gallery section of the Form
  3. Closing the viewed page triggered this Gramps error.
  4. Doesn’t happen if only the form is opened, but the gallery file is not opened.
  5. 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

https://gramps-project.org/bugs/lost_pwd_page.php

Or if you don’t have an account visit the sign up page

https://gramps-project.org/bugs/signup_page.php

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 ?

You’re right, you’re not the only one. There’s an existing bug: 0013326: Error reported using Forms addon [ AttributeError: 'GalleryTab' object has no attribute 'iconlist' ] - Gramps - Bugtracker – Free Genealogy Software

1 Like

Thanks. That relieves me of having to submit mine. I couldn’t find my way through that Mantis jungle this afternoon, anyway.