<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">And just to be clear, PIL is something that needs to be installed separately.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><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:apitrace-bounces@lists.freedesktop.org]
<b>On Behalf Of </b>Lawrence Love<br>
<b>Sent:</b> Friday, May 02, 2014 12:39 PM<br>
<b>To:</b> Ron<br>
<b>Cc:</b> .<br>
<b>Subject:</b> Re: diff image error<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">How about <o:p></o:p></p>
<div>
<p class="MsoNormal"><a href="https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements">https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements</a><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, May 2, 2014 at 10:57 AM, Ron <<a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Terence,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">"<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39, in <module><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> from PIL import Image<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ImportError: No module named PIL<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Ron<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal">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<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">PIL stands for Python Image Library.</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It makes image related work fairly easy.</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></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><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This was read from PIL’s homepage.</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></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><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Terence</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></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><o:p></o:p></p>
</div>
</div>
<p> <o:p></o:p></p>
<div>
<p><span style="font-family:"Calibri","sans-serif"">Hi,</span><o:p></o:p></p>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></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><o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">I first had this error:</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">error: failed to execute python</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">Traceback (most recent call last):</span><o:p></o:p></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><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">in <module></span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> from PIL import Image</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p><span style="font-family:"Calibri","sans-serif"">ImportError: No module named 'PIL'</span><o:p></o:p></p>
</div>
</div>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
</div>
</blockquote>
<p><span style="font-family:"Calibri","sans-serif""><br>
Thanks!<br>
<br>
Ron</span><o:p></o:p></p>
<div>
<p><span style="font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________ 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><o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>