Page 1 of 1

Re: OV stops responding in python script

Posted: Mon Mar 09, 2015 8:29 am
by jtlindgren
Hi Oettam,

one suspicious thing I see is that you're calling init from process(). This likely shouldn't be done.

To debug this, what I'd do is that I'd take the hello world example script

Code: Select all

class MyOVBox(OVBox):
        def __init__(self):

        def initialize(self):
                # nop

        def process(self):
                # print something

        def uninitialize(self):
                # nop

box = MyOVBox()
and check that it runs properly. Then, line by line, start modifying it towards your script and see where the problem appears for the first time.

Happy hacking,