OV stops responding in python script

Making & changing box plugins and external apps
Post Reply
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: OV stops responding in python script

Post 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,

Post Reply