numixproject / elegance-colors

A highly customizable chameleon theme for Gnome Shell
117 stars 7 forks source link

Ambiance Blue causes subsequent segfaults in elegance-colors-prefs #15

Closed detly closed 11 years ago

detly commented 11 years ago

Using Ubuntu 12.10 with Gnome 3.6 and Elegance Colors 2.5-0~release1 from the PPA.

If I start elegance-colors-prefs from a terminal and select Ambiance Blue as the preset, I see this on the console:

Failed to set properties: Key file does not have key 'highlight'
Failed to set properties: Key file does not have key 'panel_bg1'
Failed to set properties: Key file does not have group 'Overview'
Failed to set properties: Key file does not have group 'Dash'
Failed to set properties: Key file does not have key 'menu_bg1'
Failed to set properties: Key file does not have key 'dialog_bg1'
Failed to set properties: Key file does not have group 'Buttons'
Failed to set properties: Key file does not have group 'ButtonsFocus'
Failed to set properties: Key file does not have group 'Entry'
Failed to set properties: Key file does not have group 'Misc'

When I click apply, I see this:

[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[ERR  09:32:06] Invalid color ''
[INFO 09:32:06] Using template '/usr/share/elegance-colors/templates/3.6'
[INFO 09:32:06] Making the theme
[INFO 09:32:06] Replacing @selected_bg1 with rgba(20,20,20,)
[WARN 09:32:06] The value of @selected_bg2 variable is not set
[WARN 09:32:06] The value of @textcolor variable is not set
[INFO 09:32:06] Replacing @font_family with Ubuntu
[INFO 09:32:06] Replacing @font_size with 9
[INFO 09:32:06] Replacing @roundness with 5
[INFO 09:32:06] Replacing @transition with 150
[INFO 09:32:06] Replacing \/\*dropshadow_ with \/\*\*\/
[WARN 09:32:06] Template does not have any dropshadow_\*\/ variable
[INFO 09:32:06] Replacing @panel_bg1 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @panel_bg2 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @panel_fg with rgb(255,255,255)
[WARN 09:32:06] The value of @panel_border variable is not set
[WARN 09:32:06] The value of @panel_bwidth variable is not set
[INFO 09:32:06] Replacing \/\*panelicon_true with \/\*\*\/
[INFO 09:32:06] Replacing panelicon_true\*\/ with \/\*\*\/
[INFO 09:32:06] Replacing @overview_bg1 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @overview_bg2 with rgba(0,0,0,)
[WARN 09:32:06] The value of @overview_searchbg1 variable is not set
[WARN 09:32:06] The value of @overview_searchbg2 variable is not set
[WARN 09:32:06] The value of @overview_searchfocusbg1 variable is not set
[WARN 09:32:06] The value of @overview_searchfocusbg2 variable is not set
[WARN 09:32:06] The value of @overview_searchfg variable is not set
[WARN 09:32:06] The value of @overview_searchfocusfg variable is not set
[WARN 09:32:06] The value of @overview_searchborder variable is not set
[WARN 09:32:06] The value of @overview_searchfocusborder variable is not set
[WARN 09:32:06] The value of @overview_iconsize variable is not set
[INFO 09:32:06] Replacing @overview_itemsize with -2
[WARN 09:32:06] The value of @overview_iconspacing variable is not set
[WARN 09:32:06] The value of @dash_fg variable is not set
[INFO 09:32:06] Replacing @dash_bg1 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @dash_bg2 with rgba(0,0,0,)
[WARN 09:32:06] The value of @dash_border variable is not set
[WARN 09:32:06] The value of @dash_bwidth variable is not set
[INFO 09:32:06] Replacing @menu_bg1 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @menu_bg2 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @menu_fg with rgb(255,255,255)
[WARN 09:32:06] The value of @menu_border variable is not set
[WARN 09:32:06] The value of @menu_bwidth variable is not set
[INFO 09:32:06] Replacing \/\*arrow_false with \/\*\*\/
[INFO 09:32:06] Replacing arrow_false\*\/ with \/\*\*\/
[INFO 09:32:06] Replacing @dialog_bg1 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @dialog_bg2 with rgba(0,0,0,)
[INFO 09:32:06] Replacing @dialog_fg with rgb(255,255,255)
[INFO 09:32:06] Replacing @dialog_heading with rgb(255,255,255)
[WARN 09:32:06] The value of @dialog_border variable is not set
[WARN 09:32:06] The value of @dialog_bwidth variable is not set
[WARN 09:32:06] The value of @button_bg1 variable is not set
[WARN 09:32:06] The value of @button_bg2 variable is not set
[WARN 09:32:06] The value of @button_hoverbg1 variable is not set
[WARN 09:32:06] The value of @button_hoverbg2 variable is not set
[WARN 09:32:06] The value of @button_activebg1 variable is not set
[WARN 09:32:06] The value of @button_activebg2 variable is not set
[WARN 09:32:06] The value of @button_fg variable is not set
[WARN 09:32:06] The value of @button_hoverfg variable is not set
[WARN 09:32:06] The value of @button_activefg variable is not set
[WARN 09:32:07] The value of @button_border variable is not set
[WARN 09:32:07] The value of @button_hoverborder variable is not set
[WARN 09:32:07] The value of @button_activeborder variable is not set
[INFO 09:32:07] Replacing \/\*buttonbold_ with \/\*\*\/
[WARN 09:32:07] Template does not have any buttonbold_\*\/ variable
[WARN 09:32:07] The value of @buttonfocus_bg1 variable is not set
[WARN 09:32:07] The value of @buttonfocus_bg2 variable is not set
[WARN 09:32:07] The value of @buttonfocus_hoverbg1 variable is not set
[WARN 09:32:07] The value of @buttonfocus_hoverbg2 variable is not set
[WARN 09:32:07] The value of @buttonfocus_activebg1 variable is not set
[WARN 09:32:07] The value of @buttonfocus_activebg2 variable is not set
[WARN 09:32:07] The value of @buttonfocus_fg variable is not set
[WARN 09:32:07] The value of @buttonfocus_hoverfg variable is not set
[WARN 09:32:07] The value of @buttonfocus_activefg variable is not set
[WARN 09:32:07] The value of @buttonfocus_border variable is not set
[WARN 09:32:07] The value of @buttonfocus_hoverborder variable is not set
[WARN 09:32:07] The value of @buttonfocus_activeborder variable is not set
[WARN 09:32:07] The value of @entry_bg1 variable is not set
[WARN 09:32:07] The value of @entry_bg2 variable is not set
[WARN 09:32:07] The value of @entry_fg variable is not set
[WARN 09:32:07] The value of @entry_border variable is not set
[INFO 09:32:07] Replacing \/\*entryshadow_ with \/\*\*\/
[WARN 09:32:07] Template does not have any entryshadow_\*\/ variable
[WARN 09:32:07] The value of @misc_separator1 variable is not set
[WARN 09:32:07] The value of @misc_separator2 variable is not set
[WARN 09:32:07] The value of @misc_runningbg1 variable is not set
[WARN 09:32:07] The value of @misc_runningbg2 variable is not set
[WARN 09:32:07] The value of @misc_tooltipbg1 variable is not set
[WARN 09:32:07] The value of @misc_tooltipbg2 variable is not set
[WARN 09:32:07] The value of @misc_tooltipfg variable is not set
[WARN 09:32:07] The value of @misc_tooltipborder variable is not set
[WARN 09:32:07] The value of @misc_insensitive variable is not set
[ERR  09:32:07] Failed to make the theme, could not replace variables
    -arrow-border-color: @menu_border;
    -arrow-border-width: @menu_bwidthpx;
    background-color: @selected_bg2;
    background-gradient-end: @button_activebg2;
    background-gradient-end: @button_bg2;
    background-gradient-end: @buttonfocus_activebg2;
    background-gradient-end: @buttonfocus_bg2;
    background-gradient-end: @buttonfocus_hoverbg2;
    background-gradient-end: @button_hoverbg2;
    background-gradient-end: @entry_bg2;
    background-gradient-end: @misc_runningbg2;
    background-gradient-end: @misc_tooltipbg2;
    background-gradient-end: @overview_searchbg2;
    background-gradient-end: @overview_searchfocusbg2;
    background-gradient-end: @selected_bg2;
    background-gradient-start: @button_activebg1;
    background-gradient-start: @button_bg1;
    background-gradient-start: @buttonfocus_activebg1;
    background-gradient-start: @buttonfocus_bg1;
    background-gradient-start: @buttonfocus_hoverbg1;
    background-gradient-start: @button_hoverbg1;
    background-gradient-start: @entry_bg1;
    background-gradient-start: @misc_runningbg1;
    background-gradient-start: @misc_tooltipbg1;
    background-gradient-start: @overview_searchbg1;
    background-gradient-start: @overview_searchfocusbg1;
    border: 1px solid @menu_border;
    border: 1px solid @misc_tooltipborder;
    border: 1px solid @selected_bg2;
    border: 2px solid @selected_bg2;
    border: 2px solid @textcolor;
    border-bottom-width: @panel_bwidthpx;
    border-color: @button_activeborder;
    border-color: @button_border;
    border-color: @buttonfocus_activeborder;
    border-color: @buttonfocus_border;
    border-color: @buttonfocus_hoverborder;
    border-color: @button_hoverborder;
    border-color: @entry_border;
    border-color: @menu_border;
    border-color: @misc_runningbg2;
    border-color: @overview_searchborder;
    border-color: @overview_searchfocusborder;
    border-color: @panel_border;
    border-color: @selected_bg2;
    border: @dash_bwidthpx solid @dash_border;
    border: @dialog_bwidthpx solid @dialog_border;
    border: @menu_bwidthpx solid @menu_border;
    border-width: @menu_bwidthpx;
    color: @button_activefg;
    color: @button_fg;
    color: @buttonfocus_activefg;
    color: @buttonfocus_fg;
    color: @buttonfocus_hoverfg;
    color: @button_hoverfg;
    color: @dash_fg;
    color: @entry_fg;
    color: @misc_insensitive;
    color: @misc_tooltipfg;
    color: @overview_searchfg;
    color: @overview_searchfocusfg;
    color: @selected_bg2;
    color: @textcolor;
    -gradient-end: @misc_separator2;
    -gradient-start: @misc_separator1;
    icon-size: @overview_iconsizepx;
    selected-color: @textcolor;
    spacing: @overview_iconspacingpx;
    warning-color: @misc_insensitive;

Then when I close elegance-colors-prefs and try to run it again:

elegance-colors-prefs 
Failed to set properties: Key file does not have key 'highlight'
Failed to set properties: Key file does not have key 'panel_bg1'
Failed to set properties: Key file does not have group 'Overview'
Failed to set properties: Key file does not have group 'Dash'
Failed to set properties: Key file does not have key 'menu_bg1'
Failed to set properties: Key file does not have key 'dialog_bg1'
Failed to set properties: Key file does not have group 'Buttons'
Failed to set properties: Key file does not have group 'ButtonsFocus'
Failed to set properties: Key file does not have group 'Entry'
Failed to set properties: Key file does not have group 'Misc'
Segmentation fault (core dumped)

It looks like the preset is mostly applied, but now if I want to run elegance-colors-prefs again I need to run elegance-colors stop and remove ~/.config/elegance-colors.

I have messed around with my themes a fair bit, but I thought that removing ~/.config/elegance-colors and ~/.themes/elegance-colors would reset everything.

satya164 commented 11 years ago

I've updated the package in the PPA. Please update the package, remove ~/.config/elegance-colors/elegance-colors.ini, then start the GUI, select the preset "Ambiance Blue" and apply.

detly commented 11 years ago

The package is now uninstallable on Quantal. It depends on a version of libglib2.0-0 that's too high:

gnome-shell-theme-elegance-colors:
  Depends: libglib2.0-0 (>=2.35.9) but 2.34.1-1ubuntu1 is to be installed

The highest version available in Quantal is 2.34.0-1 (2.34.1-1 if you're using quantal-updates).

satya164 commented 11 years ago

Oops. I'll update the elegance-colors package. BTW I was asking to update Ambiance Blue.

detly commented 11 years ago

Wonderful, it works now! I think I had somehow clobbered my Ambiance Blue theme with a non-PPA install.