Gramplets showing default image for thumbnails [ new warning message: derived class Glade shouldn't use slots ]

I had downloaded and opened the sample database. Returning to the family database, thumbnails that previous were correct, showed a default image of a printed page. Opening the thumbnail view option or Edit shows the correct image. Reports with images also show images correctly.

Have run Family Tree Repair options as well as Media Verify. Ran Thumbnail Generator.

Loaded a backup Family tree from a time where I knew thumbnails displayed without good results.

This is Windows Gramps 6.0.7 on Windows 11.

Looking for advice on next steps.

These messages appear in log after opening a person view:

C:\Program Files\GrampsAIO64-6.0.7\gramps\gui\glade.py:57: PyGIWarning: GObject derived class Glade shouldn’t use slots.
class Glade(Gtk.Builder):
2026-04-07 22:40:21.836: WARNING: imagethumb.py: line 99: Error scaling image down: Unable to marshal str as an array, use .encode() to convert to bytes

[Admin: Reported Issue 14153 new warning message: derived class Glade shouldn’t use slots ]

Hi @Rick.Allen
This sounds exactly like a problem that is scheduled to be fixed in the next release.
It is also reported in these threads

and the planned fix was discussed here
Fix imagethumb savev() passing strings instead of lists for array args by dsblank · Pull Request #2204 · gramps-project/gramps

@Nick-Hall do you have a date in mind for the next release?

I was waiting for the translations to be updated. I’ll do the pre-release checks today, and then we can decide on a date.

1 Like

@Nick-Hall A localization issue has come up with 6.0.7 as reported in bug 14147. If a patch release is being considered, it would be good to get that potential regression investigated.

I worked round this bug by rolling back to v6.0.6 on Windows. Simple and effective.

This was fixed in commit fed018e. I forgot to merge the updated po files from Weblate prior to the release. I’ll put a reminder in the release procedure to prevent this happening again.

2 Likes

Thank you for the tip. Just discovered the Bug Tracking link also. I really thought that I had a configuration issue and not bug.

The PyGI warning

glade.py:57: PyGIWarning: GObject derived class Glade shouldn’t use slots.

was (for some reason) added by the pygobject devs in pygobject-3.55.3, a release that solved an issue with versions 3.55.1 and 3.55.2 causing Gramps to segfault. See segfault after upgrade to 3.55.1 (#734) · Issues · GNOME / pygobject · GitLab

Guess it’s the kind of warning that the ordinary user can just disregard.