Panorama program Hugin creates error messages

Hello, I try to create a panorama image of several pictures I have made but Hugin does not cooperate.
When I open the program in a terminal I get this:

hugin

(hugin:28833): Gtk-CRITICAL **: 08:36:42.032: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.078: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.122: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.123: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.123: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.124: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.124: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.127: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.127: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.128: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.129: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:28833): Gtk-CRITICAL **: 08:36:42.129: gtk_widget_set_size_request: assertion 'height >= -1' failed
/usr/share/hugin/data/plugins/woa.py
   CAT:Control Points
   NAM:Warped Overlap Analysis
   fails @api-max
/usr/share/hugin/data/plugins/top_five.py
   CAT:Control Points
   NAM:keep 5 CPs per image pair
   fails @api-max

I have had this in 2022 as well, reported that on the openSUSE (used distro at the time) forum and got a workaround. In a later version of Hugin it was fixed.
Now I get it again and the same workaround does not work anymore. The fix is:

export XDG_DATA_HOME=""

I have used the Flathub flatpak version as well as the Fedora rpm version, both do the same. The used version is 2025.0.0.
Does anyone else have this problem as well. What to do with it?
Thanks.

The messages are just warnings, these are annoying but shouldn’t cause any other problems. Does Hugin itself work? ie. if it doesn’t open, or fails to stitch then we need to get it fixed - I’m the fedora packager for Hugin, so please follow-up.

2 Likes

Hi Bruno, thank you for your answer.
No, Hugin does not stitch the images together.
I can add pictures (step 1), I can even align them (step 2) but creating the panorama (step 3) doesn’t do anything.
That is for all the versions I have tried: Fedora RPM, Fedora Flatpak and Flathub Flatpack.
The messages are as I posted in the first post.

@jandemus thanks for reporting this. This step 3 Create Panorama not working is indeed a bug in the 2025.0.0 upstream release, there will be a new release soon.

In the meantime I have backported the fix to a new fedora package: FEDORA-2025-17e993c9dd. This will take seven days to get into f43, but sooner than this if three people can test and confirm (on the linked Bodhi page) that the fix works.

1 Like

Bruno, thank you very much. I would be happy to try it out but unfortunately I am (for 2 months) on a very poor internet connection. I tried to download the program but it just doesn’t work, even websites sometimes don’t come in and time out.
Sorry for this, wish it would be different. It’s at moments like this that you feel how fast the world has changed, that you can’t live without a decent internet connection anymore.
Maybe there are others who like to test your fix, if not, no problem, it is not that I need it now. I just found out it didn’t work so I reported it here.

Thanks again for your help.