Hide Forgot
Created attachment 476161 [details] proposed patch Description of problem: Sabayon crashes when getting details of a profile. This happens only when you have configured a custom panel launcher in the profile. Steps to Reproduce: 1) Start sabayon as root 2) Click on add and enter a name (foo) to create a new profile 3) Click on Edit to get the foo profile window in xephyr 4) Right click on a panel and add a custom launcher 5) Save profile and close the xephyr window 6) With foo selected, click on 'Details' How reproducible: always Additional info: upstream bug - https://bugzilla.gnome.org/show_bug.cgi?id=640149 MainThread 2011/01/17 06:32:44.3793 (USER): Finishing editing profile MainThread 2011/01/17 06:33:02.3679 (USER): Got fatal error: Fatal exception in callback; exiting main loop MainThread 2011/01/17 06:33:02.3801 (USER): Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/sabayon/errors.py", line 125, in wrapper return func (*args, **kwargs) File "/usr/lib64/python2.6/site-packages/sabayon/profilesdialog.py", line 475, in __details_button_clicked editorwindow.ProfileEditorWindow (profile_name, self.dialog) File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 120, in __init__ self.__setup_treeview () File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 249, in __setup_treeview self.profile_model = ProfileModel (self.profile) File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 69, in __init__ self.reload () File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 83, in reload source.SORTPRIORITY) AttributeError: PanelDelegate instance has no attribute 'SORTPRIORITY' MainThread 2011/01/17 06:33:02.3812 (admin-tool): Terminating main loop MainThread 2011/01/17 06:33:02.3812 (admin-tool): Exiting abnormally; dumping log due to a fatal error patch attached. Thanks to siddhesh for tracking this.
Ignore my last comment, qa_acking for fast. reproducer in #c0
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: user has configured a custom panel launcher in the profile Consequence: Sabayon crashes when getting details of a profile Fix: a priority level has been set for sorting in Details view Result: Sabayon no longer crashes when getting details of a profile
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1 @@ -Cause: user has configured a custom panel launcher in the profile +Previously, when a user configured a custom panel launcher in the profile, Sabayon terminated unexpectedly while getting details of the profile. With this update, a priority level has been set up for sorting in the Details view so that Sabayon no longer crashes while getting the profile details.- -Consequence: Sabayon crashes when getting details of a profile - -Fix: a priority level has been set for sorting in Details view - -Result: Sabayon no longer crashes when getting details of a profile
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1273.html