<div dir="ltr">How about <div><a href="https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements">https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements</a><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, May 2, 2014 at 10:57 AM, Ron <span dir="ltr"><<a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Terence,<div><br></div><div>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:</div>
<div class=""><div><br></div><div>"</div><div><div><br></div><div> File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39, in <module></div><div> from PIL import Image</div><div>ImportError: No module named PIL</div>
</div><div>"</div><div><br></div></div><div>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.</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Ron</div><div><br><br><div><hr>From: <a href="mailto:Terry.Amato@medsimulation.com" target="_blank">Terry.Amato@medsimulation.com</a><br>To: <a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a>; <a href="mailto:apitrace@lists.freedesktop.org" target="_blank">apitrace@lists.freedesktop.org</a><br>
Subject: RE: diff image error<br>Date: Thu, 1 May 2014 14:30:38 +0000<div><div class="h5"><br><br>
<div>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">PIL stands for Python Image Library.</span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It makes image related work fairly easy.</span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">However, the latest version of PIL does not seem to support python 3.4 and you’ll need to download python 2.7.</span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This was read from PIL’s homepage.</span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.</span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Terence</span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> apitrace [mailto:<a href="mailto:apitrace-bounces@lists.freedesktop.org" target="_blank">apitrace-bounces@lists.freedesktop.org</a>]
<b>On Behalf Of </b>Ron<br>
<b>Sent:</b> Wednesday, April 30, 2014 6:44 PM<br>
<b>To:</b> .<br>
<b>Subject:</b> diff image error</span></p>
</div>
</div>
<p> </p>
<div>
<p><span style="font-family:"Calibri","sans-serif"">Hi,</span></p>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">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: </span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""><a href="https://github.com/apitrace/apitrace/blob/master/README.markdown#basic-usage" target="_blank">https://github.com/apitrace/apitrace/blob/master/README.markdown#basic-usage</a></span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">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).</span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">I first had this error:</span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
<blockquote>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">$ apitrace diff-images --output summary.html I:\APITRACE\Snapshots\REF3 I:\APITRACE\Snapshots\REF4</span></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">error: failed to execute python</span></p>
</div>
</div>
</blockquote>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">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?</span></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
</div>
<blockquote>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">$ apitrace diff-images --output summary.html I:\APITRACE\Snapshots\REF3 I:\APITRACE\Snapshots\REF4</span></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">Traceback (most recent call last):</span></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39,</span></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">in <module></span></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> from PIL import Image</span></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">ImportError: No module named 'PIL'</span></p>
</div>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
</blockquote>
<p><span style="font-family:"Calibri","sans-serif""><br>
Thanks!<br>
<br>
Ron</span></p>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span></p>
</div>
</div>
</div>
<br></div></div>_______________________________________________
apitrace mailing list
<a href="mailto:apitrace@lists.freedesktop.org" target="_blank">apitrace@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a></div></div> </div></div>
<br>_______________________________________________<br>
apitrace mailing list<br>
<a href="mailto:apitrace@lists.freedesktop.org">apitrace@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a><br>
<br></blockquote></div><br></div>