After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640149 - [PATCH] Sabayon crashes when getting details of a profile
[PATCH] Sabayon crashes when getting details of a profile
Status: RESOLVED WONTFIX
Product: sabayon
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2011-01-21 08:52 UTC by Siddhesh Poyarekar
Modified: 2014-08-02 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SourceDelegate should also have a SORTPRIORITY (953 bytes, patch)
2011-01-21 08:52 UTC, Siddhesh Poyarekar
none Details | Review

Description Siddhesh Poyarekar 2011-01-21 08:52:57 UTC
Created attachment 178914 [details] [review]
SourceDelegate should also have a SORTPRIORITY

Sabayon crashes when getting details of a profile. This happens only when you have configured a custom panel launcher in the profile.

I have reproduced this issue on sabayon-2.29.x, but from the code it looks like this has not been fixed in git either. A simple one-liner patch fixes this (attached).

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'

Log contents:

===== BEGIN MILESTONES (/usr/sbin/sabayon) =====
MainThread 2011/01/21 13:53:59.4699 (admin-tool): Creating profiles dialog
MainThread 2011/01/21 13:53:59.5444 (admin-tool): Starting main loop
MainThread 2011/01/21 13:54:02.1791 (USER): Got fatal error: Fatal exception in callback; exiting main loop
MainThread 2011/01/21 13:54:02.1801 (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/21 13:54:02.1809 (admin-tool): Terminating main loop
MainThread 2011/01/21 13:54:02.1810 (admin-tool): Exiting abnormally; dumping log due to a fatal error
===== END MILESTONES (/usr/sbin/sabayon) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon) =====
MainThread 2011/01/21 13:53:59.4699 (admin-tool): Creating profiles dialog
MainThread 2011/01/21 13:53:59.5444 (admin-tool): Starting main loop
MainThread 2011/01/21 13:54:02.1791 (USER): Got fatal error: Fatal exception in callback; exiting main loop
MainThread 2011/01/21 13:54:02.1801 (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/21 13:54:02.1809 (admin-tool): Terminating main loop
MainThread 2011/01/21 13:54:02.1810 (admin-tool): Exiting abnormally; dumping log due to a fatal error
===== END RING BUFFER (/usr/sbin/sabayon) =====


This configuration for the debug log can be re-created
by putting the following in /etc/sabayon/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000
Comment 1 André Klapper 2014-08-02 12:12:29 UTC
The last Sabayon code changes took place in February 2010:
https://git.gnome.org/browse/archive/sabayon/log/

This project is not under active development anymore.

This project has been recently archived in GNOME Git.

It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.