Before opening an issue, being a totally newbie, I’d like to have your opinion on the following issue.
I was asked to do some maintenance on a python software that used a very old version on wxPython.
I did my job and now everything seems OK under debian/linux with py 3.9.2 and wxPy 4.1.1.
I just tried to execute the same software within an equivalent environment under Win10 but it looks like it won’t run. I get the error:
Traceback (most recent call last):
File “C:\Users\xxx\Desktop\stable-4.8-py3\GTB.py”, line 9, in
frame = XrcFrameSubClass()
File “C:\Users\xxx\Desktop\stable-4.8-py3\MinuitFIT.py”, line 57, in init
xrcMAINFRAME.init(self, parent=None)
File “C:\Users\xxx\Desktop\stable-4.8-py3\MinuitFIT_xrc.py”, line 51, in init
self.mnuSave = self.GetMenuBar().FindItemById(xrc.XRCID(“mnuSave”)).GetSubMenu()
AttributeError: ‘NoneType’ object has no attribute ‘GetSubMenu’
Before going through the analysis of the specific errors, I wonder whether it is normal to get this error only under win10 and not in linux.
Thanks for your patience.
augh