Re: OV stops responding in python script
Posted: Mon Mar 09, 2015 8:29 am
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
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,
Jussi
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):
OVBox.__init__(self)
def initialize(self):
# nop
return
def process(self):
# print something
print("hello")
def uninitialize(self):
# nop
return
box = MyOVBox()
Happy hacking,
Jussi