diff image error

Ron rasarx at hotmail.com
Fri May 2 15:59:19 PDT 2014


Bingo!  This got me started on the right path.  Thank you.
Now, isn't this listed in an area for those who want to build APITrace?  Those who want to just install and run APITrace don't need to install CMake, Qt and QJson, right?  It seems to me listing the run-only requirements in an easily-seen area would greatly help those like me who just need to install and run pre-compiled versions of APItrace.
To help those others who want to just install and run (and use diff-images) as well, here is what I did:
- Download and install Python 2.7 from:  https://www.python.org/download/releases/2.7- The system complained about "msvcr71.dll is missing windows 7 64".  I ended up downloading and moving two msvc dll's (MSVCP71.dll and msvcr71.dll) from: http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/ and copying them into the 32 bit view of my Windows 64 OS (C:\Windows\SysWOW64).- The version of PIL has to match the python version. I downloaded and used this one: http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe.  When you install it it goes into where you installed Python 2.7.
Thanks again, Lawrence and Terence.
Ron
Date: Fri, 2 May 2014 11:38:46 -0700
Subject: Re: diff image error
From: lawlove at gmail.com
To: rasarx at hotmail.com
CC: apitrace at lists.freedesktop.org

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> 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 ImageImportError: 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
To: rasarx at hotmail.com; 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]
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
http://lists.freedesktop.org/mailman/listinfo/apitrace 		 	   		  

_______________________________________________

apitrace mailing list

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/0ef184b2/attachment-0001.html>


More information about the apitrace mailing list