diff image error

Terry Amato Terry.Amato at medsimulation.com
Fri May 2 12:34:10 PDT 2014


And just to be clear, PIL is something that needs to be installed separately.

From: apitrace [mailto:apitrace-bounces at lists.freedesktop.org] On Behalf Of Lawrence Love
Sent: Friday, May 02, 2014 12:39 PM
To: Ron
Cc: .
Subject: Re: diff image error

How about
https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements

On Fri, May 2, 2014 at 10:57 AM, Ron <rasarx at hotmail.com<mailto:rasarx at hotmail.com>> wrote:
Terence,

Actually the reason I installed 3.4 is because 2.7 was giving that error so I thought I must have an old version.  I have gone back to 2.7 and I am getting the same exact error:

"

  File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39, in <module>
    from PIL import Image
ImportError: No module named PIL
"

To the community: is there a list of all the external dependencies for APITrace (such as Python and its required version) that one is supposed to adhere to before APITrace works correctly or do we have to guess what those are?  I have been going through the docs and if it's there I'm failing to find it.

Thanks.

Ron

________________________________
From: Terry.Amato at medsimulation.com<mailto:Terry.Amato at medsimulation.com>
To: rasarx at hotmail.com<mailto:rasarx at hotmail.com>; apitrace at lists.freedesktop.org<mailto:apitrace at lists.freedesktop.org>
Subject: RE: diff image error
Date: Thu, 1 May 2014 14:30:38 +0000


PIL stands for Python Image Library.



It makes image related work fairly easy.



However, the latest version of PIL does not seem to support python 3.4 and you’ll need to download python 2.7.

This was read from PIL’s homepage.



As far as other python modules or anything else you might be missing, I’m hoping others respond because my use of apitrace has been rather limited.



Terence



From: apitrace [mailto:apitrace-bounces at lists.freedesktop.org<mailto:apitrace-bounces at lists.freedesktop.org>] On Behalf Of Ron
Sent: Wednesday, April 30, 2014 6:44 PM
To: .
Subject: diff image error



Hi,



I'm a APITrace newb so please don't mind the question being too primitive.  I have recently downloaded and started using APITrace.  There is probably more to prepping for running APITrace correctly than what I have gleaned from what documentation I have come across, mainly in this page:

https://github.com/apitrace/apitrace/blob/master/README.markdown#basic-usage



While I have been able to generate trace files and replay them with some success, I have had trouble with doing image comparison between different runs.  (This is all on Windows 7, by the way).



I first had this error:



$ apitrace diff-images --output summary.html  I:\APITRACE\Snapshots\REF3  I:\APITRACE\Snapshots\REF4

error: failed to execute python



which made me realize I needed Python.  I downloaded and installed Python 3.4 and that got me past the above error.  But since I haven't seen installing Python mentioned in the docs that I have read so far, the next error is making me wonder if there are other things required on my system for successful use of APITrace.  Can anyone tell me what the following error indicates I'm missing?



$ apitrace diff-images --output summary.html  I:\APITRACE\Snapshots\REF3  I:\APITRACE\Snapshots\REF4

Traceback (most recent call last):

  File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39,

in <module>

    from PIL import Image

ImportError: No module named 'PIL'



Thanks!

Ron



_______________________________________________ apitrace mailing list apitrace at lists.freedesktop.org<mailto:apitrace at lists.freedesktop.org> http://lists.freedesktop.org/mailman/listinfo/apitrace

_______________________________________________
apitrace mailing list
apitrace at lists.freedesktop.org<mailto:apitrace at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/apitrace

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20140502/d7fd6faf/attachment.html>


More information about the apitrace mailing list