You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I was trying to start the tutorial1d and when I start the run.py file, the following error occurs:" AttributeError: 'NoneType' object has no attribute 'debug' ". After digging into fife and debugging I notice that the following function must be called : pychan.init() which initialise pychan, before calling any pychan function like pychan.loadXML(). Thus I added a call to that function (pychan.init(self.engine) ) inside the Tutorial1Application class and exactly before pychan.loadXML("...") in the tutorial1.py of the tutorial1d. By initialising pychan the tutorial runs perfectly.
Is this right, or there are something else I didn't notice?
Hi all,
I was trying to start the tutorial1d and when I start the run.py file, the following error occurs:" AttributeError: 'NoneType' object has no attribute 'debug' ". After digging into fife and debugging I notice that the following function must be called : pychan.init() which initialise pychan, before calling any pychan function like pychan.loadXML(). Thus I added a call to that function (pychan.init(self.engine) ) inside the Tutorial1Application class and exactly before pychan.loadXML("...") in the tutorial1.py of the tutorial1d. By initialising pychan the tutorial runs perfectly.
Is this right, or there are something else I didn't notice?