thesamet / webilder

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

Webilder crashes in Ubuntu 13.04 #43

Open jakobo99 opened 11 years ago

jakobo99 commented 11 years ago

Hi,

webilder is a very nice program that I am using on all of my Linux machines. It worked perfectly on Ubuntu 12.04 and 12.10. But since upgrading my machines to Ubuntu 13.04 the application crashes normally shortly after start up of the machine.

Are you aware of this bug? Re-installing the application did not help.

Which log files do you need for an analysis?

Please help as I want to use webilder further on.

Thank you very much.

Thomas from Germany

purpleleaf commented 11 years ago

+1

thesamet commented 11 years ago

I was able to reproduce it today. The crash happens inside PIL (Python Imaging library). I removed PIL and installed my own copy and it did work, so I suspect that something is broken with the PIL package that is shipped with Ubuntu. Investigating further.

thesamet commented 11 years ago

There's a bug in Pillow (a fork of PIL) that seems to be the culprit: https://github.com/python-imaging/Pillow/issues/215

The bug is in 2.0.0 and is fixed in 2.1.0. It might make some time until Ubuntu picks up the fix, so I suggest that you install your own version:

sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms1-dev libwebp-dev
sudo pip install Pillow
jakobo99 commented 11 years ago

Hi,

Thanks for the analysis and the recommendation.

The first command works. The second does not as my system does not know the command "pip". So I did some research and installed python pip.

After executing the pip install Pillow command the answer is:

Requirement already satisfied (use --upgrade to upgrade): Pillow in /usr/lib/python2.7/dist-packages Cleaning up...

Is this ok or am I missing something?

Best regards,

Thomas

2013/8/4 Nadav Samet notifications@github.com

There's a bug in Pillow (a fork of PIL) that seems to be the culprit: python-imaging/Pillow#215https://github.com/python-imaging/Pillow/issues/215

The bug is in 2.0.0 and is fixed in 2.1.0. It might make some time until Ubuntu picks up the fix, so I suggest that you install your own version:

sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms1-dev libwebp-dev sudo pip install Pillow

— Reply to this email directly or view it on GitHubhttps://github.com/thesamet/webilder/issues/43#issuecomment-22062676 .

thesamet commented 11 years ago

Sounds like you need to force a recompile by cleaning up PIP's cache and requesting an upgrade:

sudo rm -rf /tmp/pip-build-root
sudo pip install --upgrade Pillow
purpleleaf commented 11 years ago

also python-dev must be installed :)