Description of problem: Yumex-dnf just crashes after startup in Fedora 24. If run from cmdline, the output is: /usr/lib/python3.5/site-packages/yumex/__init__.py:69: Warning: invalid cast from 'GtkBox' to 'GtkWindow' self.ui.add_from_file(const.DATA_DIR + '/yumex.ui') (yumex-dnf:2707): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed (yumex-dnf:2707): Gtk-WARNING **: State 0 for YumexPackageView 0x556256b52be0 doesn't match state 128 set via gtk_style_context_set_state () Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 1329, in do_command_line self.do_activate() File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 1232, in do_activate self.win = YumexWindow(self, self.status) File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 401, in __init__ CONFIG.conf.color_normal = color_to_hex(color_normal) File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 118, in color_to_hex return rgb_to_hex(color.red, color.green, color.blue) File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 114, in rgb_to_hex return "#%02X%02X%02X" % (r, g, b) TypeError: %X format: an integer is required, not float Version-Release number of selected component: yumex-dnf-4.1.5-2.fc24 Additional info: reporter: libreport-2.6.4 cmdline: /usr/bin/python3 /usr/bin/yumex-dnf executable: /usr/bin/yumex-dnf kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: misc.py:114:rgb_to_hex:TypeError: %X format: an integer is required, not float Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 1329, in do_command_line self.do_activate() File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 1232, in do_activate self.win = YumexWindow(self, self.status) File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 401, in __init__ CONFIG.conf.color_normal = color_to_hex(color_normal) File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 118, in color_to_hex return rgb_to_hex(color.red, color.green, color.blue) File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 114, in rgb_to_hex return "#%02X%02X%02X" % (r, g, b) TypeError: %X format: an integer is required, not float Local variables in innermost frame: r: 0.0 b: 0.0 g: 0.0
Created attachment 1134940 [details] File: backtrace
Created attachment 1134941 [details] File: environ
Similar problem has been detected: Using yumex-dnf command from command prompt. The app crashes and abrt popt up. Only the icon is visible in mate-panel notification area. But here only the close button is working. This is serious, several spins use it as package-manager and we are some weeks before f24 alpha release. Terminal output: [rave@mother ~]$ yumex-dnf /usr/lib/python3.5/site-packages/yumex/__init__.py:69: Warning: invalid cast from 'GtkBox' to 'GtkWindow' self.ui.add_from_file(const.DATA_DIR + '/yumex.ui') (yumex-dnf:17751): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed (yumex-dnf:17751): Gtk-WARNING **: State 0 for YumexPackageView 0x55716b826bd0 doesn't match state 128 set via gtk_style_context_set_state () Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 1329, in do_command_line self.do_activate() File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 1232, in do_activate self.win = YumexWindow(self, self.status) File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 401, in __init__ CONFIG.conf.color_normal = color_to_hex(color_normal) File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 118, in color_to_hex return rgb_to_hex(color.red, color.green, color.blue) File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 114, in rgb_to_hex return "#%02X%02X%02X" % (r, g, b) TypeError: %X format: an integer is required, not float reporter: libreport-2.6.4 cmdline: /usr/bin/python3 /usr/bin/yumex-dnf event_log: 2016-03-11-17:05:47> (»report_uReport« erfolgreich abgeschlossen) executable: /usr/bin/yumex-dnf kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 package: yumex-dnf-4.1.5-2.fc24 reason: misc.py:114:rgb_to_hex:TypeError: %X format: an integer is required, not float runlevel: N 5 type: Python3 uid: 1000
*** Bug 1317198 has been marked as a duplicate of this bug. ***
I sent a report for this issue a few months ago , and the source is corrected. The git source source works well. Sorry for my english.
This issue is already fixed in the 4.1.6 release which hasn't landed in Fedora yet.
yumex-dnf-4.1.6-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2f5cc390c9
yumex-dnf-4.1.6-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2e89a93119
yumex-dnf-4.1.6-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-927d14cf42
Proposed as a Freeze Exception for 24-alpha by Fedora user raveit65 using the blocker tracking app because: Several spins use yumex-dnf as main graphical package-manager. Without a working yumex-dnf users don't have a GUI for dnf in f24-alpha.
I'm +1 FE for this if the fix is limited to yumex-dnf (doesn't require changes in e.g. GTK+).
The update works with current gtk+ version and with gtk3-3.19.12-1.fc24.x86_64 which isn't in repos, so it doesn't depends on other packages.
yumex-dnf-4.1.6-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2f5cc390c9
+1 FE would be good to have it working for those users using it
+1 FE here
+3, marking accepted.
yumex-dnf-4.1.6-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-927d14cf42
yumex-dnf-4.1.6-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2e89a93119
yumex-dnf-4.1.6-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
I can confirm, yumex-dnf is working after an update.
Not working for rawhide , seems to be another bug. But version 4.3.1 (copr and github) is ok.
yumex-dnf-4.1.6-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
yumex-dnf-4.1.6-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.