Phatch cannot handle images

Bug #1177923 reported by florin on 2013-05-08
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Phatch
Undecided
Unassigned

Bug Description

I run the official Phatch from Ubuntu repositories (Raring, Ubuntu 13.04) and in the beginning it did not start as the python version is not linked properly. Copied to phatch folder and it starts, but it cannot process any file. I load the batch list, set the folder, run it and then I get the message: Phatch cannot handle 1334234234 image(s).

I guess there is something wrong with it, is there any solution? Thanks a lot!

florin (florin-arjocu) wrote :

Invalid images error in Phatch 0.2.7

michel_95 (michel-95) wrote :

me too

florin (florin-arjocu) wrote :

The manual solution is this one:

1. install python3-imaging:
$ sudo apt-get install python3-imaging

2. create links to python3 in our phatch folder:
$ sudo su -
$ cd /usr/share/phatch/phatch
$ for i in /usr/lib/python3/dist-packages/PIL/*.*; do ln -s "$i" "${i##*/}"; done

3. edit thumbnail.py and change "import PngImagePlugin" (line 62) to "from PIL import PngImagePlugin".
$ sudo gedit /usr/share/phatch/phatch/lib/thumbnail.py

Waiting for a solution from the official repository.

Hernán Escobar (moninhernan) wrote :

some one help i need fix it

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers