Bug 2416802 - Dnfdragora crashes
Summary: Dnfdragora crashes
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnfdragora
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-24 17:12 UTC by clinton762
Modified: 2025-12-18 22:16 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description clinton762 2025-11-24 17:12:39 UTC
I have Fedora Rawhide KDE. When I try to start the Dnfdragora GUI (dnfdragora.noarch 2.99.0^git20250421.1.2f707ee-5.fc44), I get...

Errore:
Wrong number or type of arguments for overloaded function 'VectorNevra___getitem__'.
  Possible C/C++ prototypes are:
    std::vector< libdnf5::rpm::Nevra >::__getitem__(SWIGPY_SLICEOBJECT *)
    std::vector< libdnf5::rpm::Nevra >::__getitem__(std::vector< libdnf5::rpm::Nevra >::difference_type) const

...and the program closes!


From Terminal, "sudo dnfragora --qt" does not start, giving this message:

sudo dnfdragora --qt

Try reading configuration file
From ./dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: './dnfdragora.yaml'>
From /etc/dnfdragora/dnfdragora.yaml
Finally read user settings from /root/.config/dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: '/root/.config/dnfdragora.yaml'>
Logging disabled
<_M_> [ui] YUILoader.cc:60 loadUI(): DISPLAY: ":0"
<_M_> [ui] YUILoader.cc:61 loadUI(): XDG_CURRENT_DESKTOP: ""
<_M_> [ui] YUILoader.cc:62 loadUI(): YUI_PREFERED_BACKEND: ""
<_M_> [ui] YUILoader.cc:96 loadUI(): User-selected UI-plugin: "qt"
<_M_> [ui] YUILoader.cc:128 loadUI(): Using UI-plugin: "qt"
<_M_> [ui] YUI.cc:83 YUI(): This is libyui 4.2.16
<_M_> [ui] YUI.cc:84 YUI(): Creating UI without threads
<_M_> [qt-ui] YQUI.cc:107 YQUI(): This is libyui-qt 4.2.16
<_M_> [ui] YUI.cc:238 topmostConstructorHasFinished(): Running without threads
<WRN> [qt-ui] YQUI.cc:656 qMessageHandler(): <libqt-warning> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
<_M_> [qt-styler] QY2Styler.cc:146 loadStyleSheet(): Couldn't open style sheet "/usr/share/libyui/theme/current/wizard/style.qss"
<_M_> [qt-ui] YQUI.cc:251 processCommandLineArgs(): Qt argument: /usr/bin/python3
<_M_> [qt-ui] YQUI.cc:251 processCommandLineArgs(): Qt argument: /usr/sbin/dnfdragora
<_M_> [qt-ui] YQUI.cc:251 processCommandLineArgs(): Qt argument: --qt
<_M_> [qt-ui] YQUI.cc:404 calcDefaultSize(): Default size: 1344 x 725
<_M_> [qt-ui] YQApplication.cc:96 YQApplication(): QIcon::themeName = 'hicolor'
<_M_> [qt-ui] YQApplication.cc:151 loadPredefinedQtTranslations(): Selected language: it_IT
<_M_> [qt-ui] YQApplication.cc:171 loadPredefinedQtTranslations(): Loaded translations for predefined Qt dialogs for it_IT
<_M_> [qt-ui] YQUI.cc:228 initUI(): YQUI initialized. Thread ID: 0x0x7f4d2f8a2b80
<_M_> [ew] YExternalWidgets.cc:40 YExternalWidgets(): Creating Libyui External Widgets object
<WRN> [qt-ui] YQGenericButton.cc:139 setIcon(): Can't load icon "system-search"
__async_thread_loop(list_fd): timeout reached while reading from pipe.
TypeError: Wrong number or type of arguments for overloaded function 'VectorNevra___getitem__'.
  Possible C/C++ prototypes are:
    std::vector< libdnf5::rpm::Nevra >::__getitem__(SWIGPY_SLICEOBJECT *)
    std::vector< libdnf5::rpm::Nevra >::__getitem__(std::vector< libdnf5::rpm::Nevra >::difference_type) const
Possible C/C++ prototypes are:
    std::vector< libdnf5::rpm::Nevra >::__getitem__(SWIGPY_SLICEOBJECT *)
    std::vector< libdnf5::rpm::Nevra >::__getitem__(std::vector< libdnf5::rpm::Nevra >::difference_type) const

<_M_> [ui] YUILoader.cc:236 deleteUI(): Shutting down UI
<_M_> [qt-ui] YQUI.cc:294 ~YQUI(): Closing down Qt UI.
<_M_> [ew] YExternalWidgets.cc:123 ~YExternalWidgetsTerminator(): Shutting down mga External Widgets
<_M_> [ew] YMGAWidgetExtensionFactory.cc:49 ~YMGAWidgetFactory(): Factory removed

Reproducible: Always

Steps to Reproduce:
1.Start dnfdragora
2.An error window appears, click on the OK button
3.Dnfdragora crashes.
Actual Results:
Dnfdragora closes unexpectedly.

Comment 1 M. Schlegel 2025-12-18 22:16:42 UTC
What happens when you don't use "sudo"?
As far as I know, dnfdragora should be run from a normal user and not root (so no sudo)


Note You need to log in before you can comment on or make changes to this bug.