Closed depau closed 12 years ago
Hey Davide,
you may try to reset all options in gnome-pie. To do this type in a terminal:
gnome-pie --reset
But of course this is a bug. Are you using 0.2 now? This looks like a bug which should be fixed. If the above command does not do the trick, we'll have to investigate further...
Greetings, Simon
On Tue 25 Oct 2011 07:47:30 PM CEST, davideddu wrote:
I use gnome-pie form a previous version. I choosed Unity theme. Now i upgraded gnome-pie and I'm not able to change the theme, because gnome-pie crashes. terminal output: [19:43:49:112269 MESSAGE] Failed to load module "canberra-gtk-module" [19:43:51:603415 ERROR ] gnome_pie_app_action_construct: assertion
icon != NULL' failed [19:43:51:603548 ERROR ] gnome_pie_action_group_add_action: assertion
new_action != NULL' failed [19:43:51:603684 ERROR ] gnome_pie_app_action_construct: assertionicon != NULL' failed [19:43:51:603797 ERROR ] gnome_pie_action_group_add_action: assertion
new_action != NULL' failed [19:43:51:608074 ERROR ] gnome_pie_app_action_construct: assertionicon != NULL' failed [19:43:51:608177 ERROR ] gnome_pie_action_group_add_action: assertion
new_action != NULL' failed [19:43:52:105850 MESSAGE] Started happily... GLib (gthread-posix.c): Unexpected error from C library during 'Argomento non valido': pthread_setspecific. Aborting. AnnullatoRegards, Davide.
Hi,
I'll try it, but is there any way to back up the pies first? I don't want to lose all my customized commands... Where can I get gnome-pie's version? I tried this...
$ gnome-pie -V
[16:51:32:065538 MESSAGE] Failed to load module "canberra-gtk-module" [16:51:32:130204 WARNING] Opzione -V sconosciuta
is camberra-gtk-module very important? do I have to install it?
Hey,
all settings of Gnome-Pie are stored in ~/.config/gnome-pie/. (this is a hidden directory in your home folder) There are two files storing the settings --- pies.conf saves your pie configuration, gnome-pie.conf your other settings. The command gnome-pie --reset actually deletes these two files. You can move them somewhere else, or check the content of pies.conf in order to fix the error.
But I'm not absolutely sure whether this will solve your problem! But I hope so... just give it a try!
Greetings, Simon
[edit]
Concerning canberra-gtk-module --- I never heard of it. I think it's related to your Gtk configuration... this is probably printed in the terminal for each gtk-application you launch?
On Wed 26 Oct 2011 04:53:53 PM CEST, davideddu wrote:
Hi,
I'll try it, but is there any way to back up the pies first? I don't want to lose all my customized commands... Where can I get gnome-pie's version? I tried this...
$ gnome-pie -V
[16:51:32:065538 MESSAGE] Failed to load module "canberra-gtk-module" [16:51:32:130204 WARNING] Opzione -V sconosciuta
is camberra-gtk-module very important? do I have to install it?
i don't have canberra-gtk-module anymore, but i still can't change the theme; i can change it only editing the settings file, but i have to restart it before seeing changes.
davideddu@David96-PC:~/Scaricati$ gnome-pie [16:28:08:181106 ERROR ] gnome_pie_app_action_construct: assertion
icon != NULL' failed
[16:28:08:181283 ERROR ] gnome_pie_action_group_add_action: assertion new_action != NULL' failed [16:28:08:181384 ERROR ] gnome_pie_app_action_construct: assertion
icon != NULL' failed
[16:28:08:181522 ERROR ] gnome_pie_action_group_add_action: assertion new_action != NULL' failed [16:28:08:185975 ERROR ] gnome_pie_app_action_construct: assertion
icon != NULL' failed
[16:28:08:186081 ERROR ] gnome_pie_action_group_add_action: assertion new_action != NULL' failed [16:28:08:682900 MESSAGE] Started happily... GLib (gthread-posix.c): Unexpected error from C library during 'Argomento non valido': pthread_setspecific. Aborting. Annullato
the output is the same... there are some italian words: "Argomento non valido" means "not valid argument" and Annullato means "canceled".
I hope you solve this issue... if you need more information please ask... this is gnome-pie's version, i found it with synaptic: 0.2-2ppa0~oneiric0
this is gnome-pie.conf
<?xml version="1.0"?> <settings theme="Slim" refresh_rate="60" global_scale="1" show_indicator="true" open_at_mouse="true" turbo_mode="false"/>
this is pies.conf:
<pies>
<pie name="Computer" id="207" icon="gnome-computer" hotkey="<Alt>c">
<group type="bookmarks"/>
<group type="devices"/>
</pie>
<pie name="Applicazioni" id="997" icon="applications-accessories" hotkey="<Alt>a">
<slice type="app" name="Google Chrome" icon="google-chrome" command="/opt/google/chrome/google-chrome %U" quickAction="false"/>
<slice type="app" name="Editor di testo" icon="accessories-text-editor" command="gedit %U" quickAction="false"/>
<slice type="app" name="OpenShot Video Editor" icon="openshot" command="openshot %F" quickAction="false"/>
<slice type="app" name="aMule" icon="amule" command="amule" quickAction="false"/>
<slice type="app" name="qBittorrent" icon="qbittorrent" command="qbittorrent %U" quickAction="false"/>
<slice type="app" name="Riproduttore musicale Rhythmbox" icon="rhythmbox" command="rhythmbox %U" quickAction="false"/>
<slice type="app" name="Gestore di fotografie Shotwell" icon="shotwell" command="shotwell %U" quickAction="false"/>
<slice type="app" name="Editor di immagini GIMP" icon="gimp" command="gimp-2.6 %U" quickAction="false"/>
<slice type="app" name="Sorgenti software" icon="software-properties" command="software-properties-gtk" quickAction="false"/>
<slice type="app" name="Gestore pacchetti" icon="synaptic" command="synaptic-pkexec" quickAction="false"/>
<slice type="app" name="VirtualBox" icon="virtualbox" command="VirtualBox %U" quickAction="false"/>
<slice type="app" name="Terminator" icon="terminator" command="terminator" quickAction="false"/>
</pie>
<pie name="Programmazione" id="747" icon="applications-development" hotkey="<Alt>z">
<slice type="app" name="Anjuta IDE" icon="anjuta" command="anjuta %F" quickAction="false"/>
<slice type="app" name="Editor di testo" icon="accessories-text-editor" command="gedit %U" quickAction="false"/>
<slice type="app" name="Disegnatore di interfacce Glade" icon="glade" command="glade %F" quickAction="false"/>
<slice type="app" name="Python (v2.7)" icon="applications-python" command="/usr/bin/python2.7" quickAction="false"/>
<slice type="app" name="Wunderlist" icon="application-default-icon" command="/foo/bar/Wunderlist-1.2.4/Wunderlist" quickAction="false"/>
<slice type="app" name="Terminator su Bash!Karaoke" icon="terminator" command="terminator --working-directory="/home/davideddu/Dropbox/Public/bash-karaoke/src"" quickAction="false"/>
<slice type="app" name="Terminale root" icon="gksu-root-terminal" command="gksu /usr/bin/x-terminal-emulator" quickAction="false"/>
<slice type="app" name="Cartella Bash!Karaoke-Gtk" icon="folder-ubuntu" command="nautilus /foo/bar/bash-karaoke/src" quickAction="false"/>
<slice type="app" name="Cartella Python" icon="folder-documents" command="nautilus /home/devideddu/Dropbox/python" quickAction="false"/>
</pie>
<pie name="Grafica" id="728" icon="application-default-icon" hotkey="<Alt>g"/>
<pie name="Finestra" id="129" icon="gnome-window-manager" hotkey="<Alt>w">
<slice type="key" name="Arrotola Srotola" icon="top" command="<Control><Alt>s" quickAction="false"/>
<slice type="key" name="Minimizza" icon="bottom" command="<Alt>F9" quickAction="true"/>
<slice type="key" name="Chiudi" icon="window-close" command="<Alt>F4" quickAction="false"/>
<slice type="key" name="Massimizza" icon="window_fullscreen" command="<Alt>F10" quickAction="false"/>
<slice type="key" name="Ripristina" icon="window_nofullscreen" command="<Alt>F5" quickAction="false"/>
</pie>
<pie name="Menu principale" id="490" icon="alacarte" hotkey="<Alt>m">
<group type="menu"/>
</pie>
<pie name="Multimedia" id="131" icon="stock_media-play" hotkey="<Alt>XF86AudioMedia">
<slice type="key" name="Successiva" icon="stock_media-next" command="XF86AudioNext" quickAction="true"/>
<slice type="key" name="Stop" icon="stock_media-stop" command="XF86AudioStop" quickAction="false"/>
<slice type="key" name="Precedente" icon="stock_media-prev" command="XF86AudioPrev" quickAction="false"/>
<slice type="key" name="Riproduci Pausa" icon="stock_media-play" command="XF86AudioPlay" quickAction="false"/>
</pie>
<pie name="Sessione" id="232" icon="gnome-session-halt" hotkey="<Alt>q">
<group type="session"/>
</pie>
</pies>
I have really no idea what's going on here... I just installed the very same version of Gnome-Pie, took your config files --- everything works as supposed!
Did you download and use the source code of Gnome-Pie once upon a time? Did you install some other themes? What folders are in /usr/share/gnome-pie/themes? Is there a folder in /usr/local/share/gnome-pie?
What icon theme are you using? Can you please try another and check whether this changes something?
As you can see: I have no idea whats'o'ever :D But hopefully we'll get it nailed down...
I am using Ubuntu 11.10. I just installed gnome-pie from Launchpad, and receive a similar error;
GLib (gthread-posix.c): Unexpected error from C library during 'Invalid argument': pthread_setspecific. Aborting.
This happened after installing gnome-pie, starting it for the first time, and going to preferences to change the theme. It does not matter which theme I try to change gnome-pie to. I have tried different icon themes for my desktop (Faenza, Faenza-Ambiance, ubuntu-mono-dark, and 'Gnome (default)'). No difference.
Package: gnome-pie Architecture: i386 Version: 0.3-2ppa0~oneiric0
i tried both faenza and ubuntu-mono-dark, but it still crashes... i use oneiric i386; i think that the problem is the themes' liststore: i have many problems with it when i program python, but maybe it's the same with C.
i'll try to downgrade it to the previous version: i don't need the new turbo mode
I just discovered that a friend of mine suffers from exactly the same issue. So fortunately I'll be able to check what's going on at his computer!
Stay tuned!
I tested it today at his computer. After some research we discovered the problem:
He's got a weird version of GLib (2.31.3+git20111126.4ce5a11d-0ubuntu1~11.10~ricotz0)! He installed some software from ricotz' testing PPA (https://launchpad.net/~ricotz/+archive/testing) and obviously there are binary conflicts in this version. There were some other issues he suffered from, which may be caused by the same problem: For instance applications often crashed when he opened folders in a file-select-dialog!
We then purged this PPA (which is not easy at all) and now Gnome-Pie runs perfectly.
Which version of libglib2.0-0 do you have installed? Mine is 2.30.0-0ubuntu4.
Package: libglib2.0-0 Source: glib2.0 Version: 2.31.0-0ubuntu1~oneiric1
Tested again to be sure, and I'm still having the crash.
From where do you have this version?
It seems to come from this PPA: https://launchpad.net/~gnome3-team/+archive/gnome3 but for some reason it's not in there anymore...
2.31.0-0ubuntu1~oneiric1 it is from the "Ubuntu Desktop Team ubuntu-desktop@lists.ubuntu.com" it's not from a ppa... http://dl.dropbox.com/u/20762508/syn1.png http://dl.dropbox.com/u/20762508/syn2.png
i have gnome 3 ppa, but i need it to upgrade epiphany-browser... maybe i can force the downgrade with synaptic...
edit: if i try to downgrade it i need to remove lots of packages, including unity; it's needed from ubuntu-desktop too, so it's the original one.
offtopic: is the slider in your website's homepage open source? i need something like it for bash!karaoke's website, it needs a more beautiful look...
OnTopic:
Well, I don't know much about the magic of linking executables to shared objects, but as far as I can tell there are some downwards incompatibilities...
Gnome-Pie from the PPA is linked against libglib 2.30 (done by launchpad). I have libglib 2.30 installed and everything works as supposed. Both of you have libglib 2.31 and it does not work. Is it a bug Glib then?
OffTopic:
Yes it is. I modified the wordpress theme Minimatica (http://www.onedesigns.com/wordpress-themes/minimatica-free-wordpress-theme) to suit my needs. And this theme
is released under GPL. Feel free and encouraged to use, modify and redistribute it however you like.
Is it a bug Glib then?
i don't know... maybe it is... you should contact glib's team...
offtopic: WOW! it's perfect! thanks!!
Does this problem still persist for you? Someone told me, that this problem magically disappeared for him... maybe due to an software-update...?
I don't seem to have this problem anymore, actually! I'm not sure what change fixed things, but it's all better now!
No, it works very well now. The only problem I have is that the indicator is now a simple tray icon (with a light blue background) and the settings dialog doesn't use anymore GTK3 black toolbars... But I can change the theme without any problem...
2012/2/25 Simon Schneegans < reply@reply.github.com
Does this problem still persist for you? Someone told me, that this problem magically disappeared for him... maybe due to an software-update...?
Reply to this email directly or view it on GitHub: https://github.com/Simmesimme/Gnome-Pie/issues/22#issuecomment-4176312
The change of the indicator icon is a feature, not a bug --- Gnome-Pie used to use two different icons, one for the application and one for the tray. But this was not as good as I thought, since the look of those icons should depend on the current icon theme. In other desktop environments (E.g. Gnome-Shell) the indicators are not supposed to be monochrome...
But what's about your toolbar issue? On Oneiric (Your distro, isn't it?) the settings dialog should use GTK3...
Now I use Precise, not Oneiric. If you put something like this for the toolbar (i write python code, I don't know C) if platform.dist()[1] == "oneiric":
try to detect the version (e.g. 12.04) and use bigger than or equal to. But someone said that you can use GTK3 toolbar anyway, even if you are using GTK2... For the icon, look at Nuvola Player's code: Nuvola Player detects if Sound menu is present. If not, it detects if you are using Unity or an indicator applet, and shows an indicator. If you are using GNOME Shell, it detects if you installed a music extension. Else it shows a tray icon.
2012/2/26 Simon Schneegans < reply@reply.github.com
The change of the indicator icon is a feature, not a bug --- Gnome-Pie used to use to different icons, one for the application and one for the tray. But this was not as good as I thought, since the look of the icons should depend on the current icon theme. In other desktop environments (E.g. Gnome-Shell) the indicators are not supposed to be monochrome...
But what's about your toolbar issue? On Oneiric (Your distro, isn't it?) the settings dialog should use GTK3...
Reply to this email directly or view it on GitHub: https://github.com/Simmesimme/Gnome-Pie/issues/22#issuecomment-4180262
I use gnome-pie form a previous version. I choosed Unity theme. Now i upgraded gnome-pie and I'm not able to change the theme, because gnome-pie crashes. Terminal output: *> [19:43:49:112269 MESSAGE] Failed to load module "canberra-gtk-module"
Regards, Davide.