[vtkusers] Cocoa error using VTK from Python on OS X

Sean McBride sean at rogue-research.com
Mon Dec 1 12:39:42 EST 2008


On 11/28/08 2:56 PM, Arve Knudsen said:

>I'm developing a scientific visualization framework in Python, called
>Viper (http://www.fenics.org/wiki/Viper), which is based on VTK. On OS
>X (10.5) I am running into certain errors, which seem to be caused by
>VTK. In one of the Viper demos, an error is reported after returning
>from vtkRenderWindowInteractor.Start for the first time and another
>('[...] vtkCocoaServer autoreleased with no pool in place[...]') after
>calling it for the second time.

What are 'certain errors'?

Which version of VTK?

Any 'autoreleased with no pool in place' messages are most likely harmless.

> After the last error the application
>just hangs.

Have you looked with gdb (or python equivalent) to see what the code is
doing when it is hung?

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list