Not seeing image previews in Win AIO 6.0.7

I’m using Win AIO 6.0.7 on Win 11 Pro.

My version of Gramps knows the media type image/jpeg but I can no longer see previews of images, all I get is a generic icon that looks like:


I’ve tried removing the media and adding it again but there is no change.

Any clues?

I have rolled back to v6.0.6 and the previews are working again.

I am seeing no thumbnail generation on new pictures displaying the generic documents.png.

Older pictures with an existing thumbnail generated pre-6.0.7 display normally.

I can’t see any bug fixes in v6.0.7 that relate to the thumbnailer.

Is it not more likely down to the problems with getting a Windows 6.0.7 build to work?

I don’t think we have an official 6.0.7 installer for Windows yet. So yes.

Unless it’s been pulled, there is a 6.0.7 AIO installer on GitHub. I assumed therefore it was an official relesse, hence I used it.

Please file a bug report so that the issue can be tracked down. Thanks.

Just to correct an earlier statement, there is an official gramps 6.0.7 release which is availble from both the gramps website and github.
I can reproduce this problem using my own gramps 6.0.7 installation. The error shown in the console is

2026-03-31 21:15:19.114: WARNING: imagethumb.py: line 99: Error scaling image down: Unable to marshal str as an array, use .encode() to convert to bytes

To reproduce the problem:

  1. create a new gramps database
  2. From the menu select Add > Media
  3. Select a supported media file
    No thumbnail will be shown on the right hand side of the dialog

There is a proposed fix for this problem by @dsblank See Fix imagethumb savev() passing strings instead of lists for array args by dsblank · Pull Request #2204 · gramps-project/gramps

I’ve confirmed that with this change on gramps AIO 6.0.7, thumbnail images are generated again.

Seems that the problem has migrated to the linux version 6.0.8. (at least for me).

I was using version 5.1 for a while. I just upgraded my system to Ubuntou 26.04 and managed to install a .deb most recent version 6.0.8. of Gramps.

The image preview is not showing. When I clic on an external apllication is launched and show me the picture.

The problem concerns also pdf, png and txt files.

I have also a MS-Windows laptop. Version 6.0.8 correctly preview documents.

Please install any applicable thumbnailer addons (like the WebP thumbnailer) and the Thumbnail Generator addon Utilities Tool.

Then regenerate the thumbnails. This will take some time if you have a large collection of Media object. Thumbnails are normally generated as Media objects are added to nibble away the process. So regeneration at a single gulp is a manual process.

Dear Brian,

Thanks very much for your quick and kind reply.

I suspected that I needed to use a tool like that, but missed it. (I know RTFM)

As you proposed,I tried the addon Thumbnail Generator Tool (generateur de miniature - I work in french).

Unfortunately it did not work.

I looked in the log file and got:

2026-04-28 20:52:58.316: WARNING: imagethumb.py: line 99: Error scaling image down: Unable to marshal str as an array, use .encode() to convert to bytes
Invalid byte sequence in conversion input

I just saw that there is another exchange of mail with this issue. I saw that you already proposed a solution. I will will read it carefully.

Thanks for your help

Dear Brian,

Unfortunately, even your addon:

Does not work.

I get full of

2026-04-28 21:50:26.148: WARNING: imagethumb.py: line 99: Error scaling image down: Unable to marshal str as an array, use .encode() to convert to bytes
Invalid byte sequence in conversion input

The first warning/error in the log file (on the console) is

/usr/lib/python3/dist-packages/gramps/gui/glade.py:57: PyGIWarning: GObject derived class Glade shouldn’t use slots.
class Glade(Gtk.Builder):

I don’t know if it is related.

I managed to install version 6.0.1 on another linux computer (my laptop) which run well.

So I will revert also to this previous version on my desktop expecting it to work.

Anyway, thanks for help and assistance

Regards,

Robert