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:
create a new gramps database
From the menu select Add > Media
Select a supported media file
No thumbnail will be shown on the right hand side of the dialog