[vtk-developers] Need the eyes of a python expert

Bill Lorensen bill.lorensen at gmail.com
Mon Feb 18 12:56:47 EST 2013


BTW, that fruit was hanging so low I hurt myself.

On Mon, Feb 18, 2013 at 12:56 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> David,
>
> That did it.
>
> I just push a gerrit topic
>
> Thanks,
>
> Bill
>
> On Mon, Feb 18, 2013 at 12:35 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>> It should work if it calls "sys.exit" instead of just "exit".
>>
>> iRen.AddObserver("ExitEvent", sys.exit)
>>
>> You'll also have to add "import sys" near the top of the file,
>> i.e. around the same place as the "import vtk" line.
>>
>>  - David
>>
>>
>> On Mon, Feb 18, 2013 at 10:08 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>> Folks,
>>>
>>> The TestInteractorEventRecorder python test fails on a windows platform:
>>> http://open.cdash.org/testDetails.php?test=163279306&build=2816982
>>>
>>> It complains that this line:
>>> iRen.AddObserver("ExitEvent", exit)
>>> TypeError: a callable object is required
>>>
>>> It passes on other windows systems. This one is a VS71. Perhaps there
>>> is a more portable way to accomplish the same thing?
>>>
>>> Bill
>>>
>>> --
>>> Unpaid intern in BillsBasement at noware dot com
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list