Hi Evan,
 indeed you're right, there's no 64-bit version. Actually, we had 
one but there were problems with it and we never released it.

I nailed it. It's a bug in the Windows version of vmtk and apparently
it has been there forever.

In your vmtk Windows installation folder, look for this file

lib/vmtk/vmtk/vtkvmtk.py

and replace it with the one attached. That should solve it.

Long story short: we have to re-release asap!


Luca

""" This module loads all the classes from the vtkVmtk library into its
namespace.  This is a required module."""

import os
import vtk

if os.name == 'posix':
    from libvtkvmtkCommonPython import *
    from libvtkvmtkComputationalGeometryPython import *
    from libvtkvmtkDifferentialGeometryPython import *
    from libvtkvmtkIOPython import *
    from libvtkvmtkMiscPython import *
    from libvtkvmtkRenderingPython import *
    from libvtkvmtkSegmentationPython import *
    from libvtkvmtkITKPython import *
else:
    from vtkvmtkCommonPython import *
    from vtkvmtkComputationalGeometryPython import *
    from vtkvmtkDifferentialGeometryPython import *
    from vtkvmtkIOPython import *
    from vtkvmtkMiscPython import *
    from vtkvmtkRenderingPython import *
    from vtkvmtkSegmentationPython import *
    from vtkvmtkITKPython import *
    


On Feb 5, 2013, at 11:44 PM, Evan Kao wrote:

Hello Luca,

This seems to the first script that failed, but I will keep track of others.

Also, just to be clear, are you suggesting that I compile vmtk myself or to just get download the 32-bit binary installer?  Because I am already using the 32-bit version, since there is no 64-bit Win XP version available on Sourceforge.

Thanks,
Evan

On Mon, Feb 4, 2013 at 2:53 AM, Luca Antiga <luca.ant...@gmail.com> wrote:
Hi Evan,
 this is tricky because I couldn't replicate the issue on our Windows box.
I remember, however, that when we did our release XP 64bit was the trickiest,
for some reason.

Do you know if there are other scripts that fail?

Also, can you try with the 32 bit version of the vmtk installers?

Thanks for any feedback.


Luca


On Jan 31, 2013, at 6:21 PM, Evan Kao wrote:

Hello Luca,

I am using the binaries.

On Thu, Jan 31, 2013 at 7:13 AM, Luca Antiga <luca.ant...@gmail.com> wrote:
Hi Evan,
 are you using Windows binaries or did you compile vmtk yourself?

Luca

On Jan 31, 2013, at 1:18 AM, Evan Kao wrote:

> Hello,
>
> I have just been running through the vmtk tutorials (using our own imaging data), but hit a snag during mesh generation.  The command seems straightforward:
>
> vmtkmeshgeneration -ifile *.stl -ofile *.vtu -edgelength 0.5
>
> However, an error seems to occur during capping.  The Python command window gives the error:
>
> "Error from pype: 'module' object has no attribute 'vtkvmtkSimpleCapPolyData'."
>
> A similar message occurs if I use the option -cappingmethod Annular or if just try to cap with vmtksurfacecapper.
>
> How do I fix this?  Here is some info about the related software I am using:
>
> OS: Windows XP 64-bit SP2
> Python 2.7
> Microsoft Visual Studio 2010 Express (recommended for SP3, but there is no 64-bit SP3)
>
> Thank you for your time,
> Evan
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users





------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to