The issue here is that you are missing VTKData which causes the python conversion input list to be empty. I know this because I reproduced it and Utkarsh helped me dig into the tcl2py conversion. (There was a bug in our script that didn't handle an empty list properly.)
<br><br>We fixed the script. If you update "VTK/Utilities/vtkTclTest2Py/vtkConvertTclTestToPy.cmake" you should be good to go...<br><br><br>Thanks for the bug report,<br>David Cole<br><br><br><br><div><span class="gmail_quote">
On 1/8/07, <b class="gmail_sendername">Mike Jackson</b> <<a href="mailto:mike.jackson@imts.us">mike.jackson@imts.us</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Ok. <div> I compiled VTK with Carbon/Testing/Shared Libs/ Python/Tcl with the Intel Compiler. Here are the versions of ICC/ICPC that I have:</div><div><br></div><div>504:[mjackson@Thor:~]$ icc --version</div>
<div>icc (ICC) 9.1 20061101</div><div>Copyright (C) 1985-2006 Intel Corporation. All rights reserved.</div><div><br></div><div>505:[mjackson@Thor:~]$ icpc --version</div><div>icpc (ICC) 9.1 20061101</div><div>Copyright (C) 1985-2006 Intel Corporation. All rights reserved.
</div><div><br></div><div>I also used the default Python that came with OS X 10.4.8. So maybe the problem is the version of Ptython that you are trying to use.</div><div><br></div><div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="margin: 0px;">-- </div><span class="q"><div style="margin: 0px;">Mike Jackson Senior Research Engineer</div><div style="margin: 0px;">Innovative Management & Technology Services</div><br></span></span> </div>
<div><span class="e" id="q_110025a69ca38d06_3"><br><div><div>On Jan 8, 2007, at 9:05 AM, David Cole wrote:</div><br><blockquote type="cite">Intel Mac should also work.<br>Carbon is the default. Python test conversion should work with either carbon or cocoa.
<br><br>There is a python script that runs and converts many of the tcl scripts in the VTK Testing directories into python equivalents... <br><br>If you can figure out what's wrong, or a patch to fix it and send it along, that would be fantastic. If not, if you could at least take the time to enter this as a bug in the bug tracker, that would be the next best thing.
<a href="http://www.vtk.org/Bug/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/Bug/</a><br><br>Thanks,<br>David<br><br><div><span class="gmail_quote">On 1/8/07, <b class="gmail_sendername">
Dan White</b> <<a href="mailto:dan@chalkie.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dan@chalkie.org.uk </a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David,<br><br>the differences are<br><br>I am using and intel mac. (with intel compilers) <br>I am using carbon not cocoa (shouldnt carbon be the default not cocoa?)<br><br>I have tcl wrapping off, so maybe the testing code is expecting to
<br>have tcl wrapping on?<br>Not sure what the<br>Users/bgranger/usr/local/src/VTK-CVS/VTK-build1/Graphics/Testing/ <br>Python/vtkTestsToConvert<br>is all about.... looks like its trying to convert tests from python<br>to tcl or something?
<br><br>Dan<br><br><br><br>On 8 Jan 2007, at 15:42, David Cole wrote:<br><br>> I'm pretty sure that all the Mac dashboards with VTK_WRAP_PYTHON <br>> turned on build/execute this code successfully.<br>><br>> Can you look at the cache for this Mac dashboard and see what
<br>> settings might be different from yours...?<br>> <a href="http://www.vtk.org/Testing/Sites/midworld.kitware/DarwinG5-c++-" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.vtk.org/Testing/Sites/midworld.kitware/DarwinG5-c++-
</a><br>> cocoa/20070107-0300-Nightly/Notes.html<br>><br>> Thanks,<br>> David Cole<br>><br>><br>> On 1/6/07, Dan White <<a href="mailto:dan@chalkie.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
dan@chalkie.org.uk</a>> wrote: Hi Brian,<br>><br>> I also see this ,<br>> so i turn testing off<br>><br>> dont know if its a bug, perhaps specific to OSX?<br>><br>> any clues anyone?<br>> Is this test part of any quality dashboard?
<br>><br>> Dan<br>><br>><br>><br>> On 6 Jan 2007, at 19:00, <a href="mailto:vtkusers-request@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vtkusers-request@vtk.org</a> wrote:
<br>><br>> > Message: 5<br>> > Date: Fri, 5 Jan 2007 11:30:25 -0700 <br>> > From: "Brian Granger" < <a href="mailto:ellisonbg.net@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ellisonbg.net@gmail.com</a>><br>> > Subject: [vtkusers] Problems building CVS VTK on Mac OS X 10.4<br>> > To: <a href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vtkusers@vtk.org</a><br>> > Message-ID:<br>> > < <a href="mailto:6ce0ac130701051030j4bfdb2dep81799cc10efd8d4d@mail.gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">6ce0ac130701051030j4bfdb2dep81799cc10efd8d4d@mail.gmail.com
</a>><br>> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed <br>> ><br>> > I have succesfully built VTK before on my machine, but I wanted<br>> to get<br>> > a more recent release. Most of the build process went fine, but
<br>> > towards the end I got:<br> > ><br>> > [ 98%] Converting Tcl test<br>> > Failed to read list of file to translate<br>> > /Users/bgranger/usr/local/src/VTK-CVS/VTK-build1/Graphics/Testing/
<br>> > Python/vtkTestsToConvert <br>> > list index out of range<br>> > make[2]: *** [Graphics/Testing/Python/conversion_complete] Error 1<br>> > make[1]: *** [Graphics/Testing/Python/CMakeFiles/<br>
> > GraphicsPythonTests.dir /all] <br>> > Error 2<br>> > make: *** [all] Error 2<br>> ><br>> > Any thoughts? Thanks. I am using:<br>> ><br>> > Python 2.4<br>> > RPATH -> no
<br>> > shared libraries -> yes <br>> > no tk support<br>> > python wrapper on<br>> > cocoa<br>> ><br>> > Brian<br>><br>> Dr. Daniel James White BSc. (Hons.) PhD<br>> Bioimaging Coordinator
<br>> Nanoscience Centre and Department of Biological and Environmental <br>> Sciences<br>> Division of Molecular Recognition<br>> Ambiotica C242<br>> PO Box 35<br>> University of Jyväskylä<br>> Jyväskylä
<br>> FIN 40014<br>> Finland<br>><br>> +358 14 260 4183 (work) <br>> +358 468102840 (mobile)<br>> <a href="http://www.bioimagexd.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.bioimagexd.org</a><br>> <a href="http://www.chalkie.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.chalkie.org.uk</a><br>> <a href="mailto:dan@chalkie.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
dan@chalkie.org.uk</a><br>> <a href="mailto:white@cc.jyu.fi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">white@cc.jyu.fi</a><br>><br>><br>><br>> _______________________________________________
<br>> This is the private VTK discussion list.<br>> Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/
</a><br>> Wiki/VTK_FAQ<br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>><br><br>Dr. Daniel James White BSc. (Hons.) PhD<br>Bioimaging Coordinator<br>Nanoscience Centre and Department of Biological and Environmental<br>Sciences<br>Division of Molecular Recognition<br>Ambiotica C242
<br>PO Box 35<br>University of Jyväskylä<br>Jyväskylä<br>FIN 40014<br>Finland<br><br>+358 14 260 4183 (work)<br>+358 468102840 (mobile)<br><a href="http://www.bioimagexd.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.bioimagexd.net</a><br><a href="http://www.chalkie.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.chalkie.org.uk</a><br><a href="mailto:dan@chalkie.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
dan@chalkie.org.uk</a><br><a href="mailto:white@cc.jyu.fi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">white@cc.jyu.fi</a><br><br><br><br></blockquote></div><br><div style="margin: 0px;">_______________________________________________
</div><div style="margin: 0px;">This is the private VTK discussion list.<span> </span></div><div style="margin: 0px;">Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/Wiki/VTK_FAQ</a></div><div style="margin: 0px;">Follow this link to subscribe/unsubscribe:</div><div style="margin: 0px;"><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/mailman/listinfo/vtkusers</a></div> </blockquote></div><br></span></div></div></div>
<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br><br></blockquote></div><br>