Description of problem: On Mageia 9 and Cauldron, wxglade fails to start. On Mageia 9, the latest stable version, 1.0.5, seems to work fine, but on Cauldron that's not the case; it segfaults. The latest beta release of wxglade, 1.1.0b1, is the one that works for both Cauldron and Mageia 9. Steps to Reproduce: 1. run wxglade version 1.0.4 $ wxglade ERROR: wxglade.py not found! 2. run wxglade.py directly as there is a bug in the wxglade executable script $ python $(find /usr/lib/python3.* -name '*wxglade.py') ... Segmentation fault (core dumped)
Fixed both mga9 and Cauldron!
CC: (none) => geiger.david68210
Assigning to QA, Package in 9/Core/Updates_testing: ====================== wxglade-1.0.5-1.mga9.noarch.rpm From SRPMS wxglade-1.0.5-1.mga9.src.rpm
Assignee: bugsquad => qa-bugs
(In reply to David GEIGER from comment #1) > Fixed both mga9 and Cauldron! I've tested wxglade on both, Mageia 9 and Cauldron, and it does work for me.
RH x86_64 wxglade ERROR: wxglade.py not found! LC_ALL=C urpmi --auto --auto-update medium "QA Testing (64-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date medium "Core 32bit Release (distrib31)" is up-to-date medium "Core 32bit Updates (distrib32)" is up-to-date medium "Nonfree 32bit Release (distrib36)" is up-to-date medium "Nonfree 32bit Updates (distrib37)" is up-to-date medium "Tainted 32bit Release (distrib41)" is up-to-date medium "Tainted 32bit Updates (distrib42)" is up-to-date installing wxglade-1.0.5-1.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64 Preparing... ################################################################################################## 1/1: wxglade ################################################################################################## 1/1: removing wxglade-1.0.4-1.mga9.noarch ################################################################################################## The application starts but terminal complain about missing file And inf you try to see the License from the gui also complain of the missing file wxglade ERROR:root:License file "LICENSE.txt" not found! INFO : Starting wxGlade version "1.0.5" on Python 3.10.11 INFO : Using wxPython 4.2.0 INFO : Loading "wconfig" modules from /usr/lib/python3.10/site-packages/wxglade/widgets/widgets.txt: INFO : Load code generators: INFO : perl generator loaded INFO : XRC generator loaded INFO : python generator loaded INFO : lisp generator loaded INFO : C++ generator loaded INFO : Loading widgets from /usr/lib/python3.10/site-packages/wxglade/widgets/widgets.txt: INFO : frame INFO : dialog INFO : panel INFO : notebook INFO : splitter_window INFO : button INFO : toggle_button INFO : bitmap_button INFO : spin_button INFO : text_ctrl INFO : choice INFO : combo_box INFO : list_box INFO : check_list_box INFO : checkbox INFO : radio_button INFO : radio_box INFO : spin_ctrl INFO : spin_ctrl_double INFO : slider INFO : gauge 12:34:47: Debug: Adding duplicate image handler for 'Windows bitmap file' 12:34:47: Debug: Adding duplicate animation handler for '1' type 12:34:47: Debug: Adding duplicate animation handler for '2' type INFO : calendar_ctrl INFO : generic_calendar_ctrl INFO : datepicker_ctrl INFO : list_ctrl INFO : tree_ctrl INFO : grid INFO : static_text INFO : hyperlink_ctrl INFO : static_line INFO : static_bitmap INFO : spacer INFO : property_grid_manager INFO : search_ctrl INFO : custom_widget INFO : menubar INFO : toolbar INFO : statusbar INFO : Load sizer generators: INFO : for perl INFO : for XRC INFO : for python INFO : for lisp INFO : for C++ (wxglade.py:5068): Gtk-CRITICAL **: 12:34:47.552: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed (wxglade.py:5068): Gtk-WARNING **: 12:34:47.552: Negative content width -5 (allocation 2, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar) (wxglade.py:5068): Gtk-CRITICAL **: 12:34:47.574: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar (wxglade.py:5068): Gtk-CRITICAL **: 12:34:47.580: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Keywords: (none) => feedback
Keywords: (none) => advisory
(In reply to katnatek from comment #4) > The application starts but terminal complain about missing file > And inf you try to see the License from the gui also complain of the missing > file wxglade looks for the license file in a specific place, but the file is not there anymore. For whatever reason, in the wxglade spec file(L34), the license file has been explicitly removed from the wxglade default path. One can either generate a link or just have the license file packaged twice. N.B.: It looks like the path to the wxglade manual is buggy too. Adding this sed to the %prep section in the spec file should fix it: sed -e "s/manual_html/html/" -i setup.py
Latest update should fix this html docs issue! New package in 9/Core/Updates_testing: ====================== wxglade-1.0.5-1.1.mga9.noarch.rpm From SRPMS wxglade-1.0.5-1.1.mga9.src.rpm
RH x86_64 The application starts No longer complain ERROR:root:License file "LICENSE.txt" not found! wxglade INFO : Starting wxGlade version "1.0.5" on Python 3.10.11 INFO : Using wxPython 4.2.0 INFO : Loading "wconfig" modules from /usr/lib/python3.10/site-packages/wxglade/widgets/widgets.txt: INFO : Load code generators: INFO : perl generator loaded INFO : XRC generator loaded INFO : python generator loaded INFO : lisp generator loaded INFO : C++ generator loaded INFO : Loading widgets from /usr/lib/python3.10/site-packages/wxglade/widgets/widgets.txt: INFO : frame INFO : dialog INFO : panel INFO : notebook INFO : splitter_window INFO : button INFO : toggle_button INFO : bitmap_button INFO : spin_button INFO : text_ctrl INFO : choice INFO : combo_box INFO : list_box INFO : check_list_box INFO : checkbox INFO : radio_button INFO : radio_box INFO : spin_ctrl INFO : spin_ctrl_double INFO : slider INFO : gauge 10:20:42: Debug: Adding duplicate image handler for 'Windows bitmap file' 10:20:42: Debug: Adding duplicate animation handler for '1' type 10:20:42: Debug: Adding duplicate animation handler for '2' type INFO : calendar_ctrl INFO : generic_calendar_ctrl INFO : datepicker_ctrl INFO : list_ctrl INFO : tree_ctrl INFO : grid INFO : static_text INFO : hyperlink_ctrl INFO : static_line INFO : static_bitmap INFO : spacer INFO : property_grid_manager INFO : search_ctrl INFO : custom_widget INFO : menubar INFO : toolbar INFO : statusbar INFO : Load sizer generators: INFO : for perl INFO : for XRC INFO : for python INFO : for lisp INFO : for C++ (wxglade.py:5536): Gtk-CRITICAL **: 10:20:43.203: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed (wxglade.py:5536): Gtk-WARNING **: 10:20:43.203: Negative content width -5 (allocation 2, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar) (wxglade.py:5536): Gtk-CRITICAL **: 10:20:43.226: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar (wxglade.py:5536): Gtk-CRITICAL **: 10:20:43.231: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar And you can see the license in the gui
CC: (none) => andrewsfarmWhiteboard: (none) => MGA9-64-OKKeywords: feedback => (none)
Advisory updated
Validating.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0200.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED