hugin error when starting and opening a project

I am not shure if this is the right place for my question. If not please tell me where i should place my problem.
When opening Hugin i get following errors:

(hugin:8590): Gtk-CRITICAL **: 20:48:33.676: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.701: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.768: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.769: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.770: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.771: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.771: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.776: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.777: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.778: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.779: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:8590): Gtk-CRITICAL **: 20:48:33.779: 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

And when i want to open a pto file i get this error:

ASSERT INFO:
/usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type

BACKTRACE:
[1] wxEntry(int&, wchar_t**)
[2] __libc_start_main

This error goes away after a few seconds and hugin closes.

I have Hugin Version 2023.0.0+dfsg-1build4 and Ubuntu Ubuntu 24.04 LTS with Kernel Linux 6.8.0-41-generic
Hope somebody can help me get Hugin to work.

I think this is a better place for hugin questions:

https://groups.google.com/g/hugin-ptx?pli=1