thesamet / webilder

Wallpaper downloader and rotator that uses Flickr and Webshots.
http://www.webilder.org/
Other
30 stars 12 forks source link

"Attempt to unlock mutex" error after glib upgrade #51

Open laurbede opened 10 years ago

laurbede commented 10 years ago

Since last GTK3 upgrade, the Desktop and Applet programs refused to start.

When starting from bash, I receive the following error "Attempt to unlock mutex that was not locked, Aborted".

I was able to resolve the issue by inserting a line containing gtk.gdk.threads_enter() just below the lines containing gtk.gdk.threads_init() in the following source code files "WebilderDesktop.py", "webilder_unity_indicator.py" and "webilder_gnome_applet.py".

After amending these files I was able to successfully launch "WebilderDesktop.py" by hand (with python). However, I do not know how to build a fresh binary ...

Maybe this fix can be included in the next release ? Thanks for this unique piece of software !!

Laurent

laurbede commented 10 years ago

Just figured out ... there is no need to build binaries. These scripts execute with the python interpreter engine :-). The above fix therefore does the job. Inclusion of this fix in the next release is anyhow still needed.

Laurent