Starting wxGlade produces:
Traceback (most recent call last): File "wxglade.py", line 49, in <module> import common File "/home/....", line 24, in <module> import config, compat, plugins File "/home/.../compat.py", line 222, in <module> wx_ToolTip_SetAutoPop = wx.ToolTip_SetAutoPop AttributeError: 'module' object has no attribute 'ToolTip_SetAutoPop'
I semi-fixed this by:
def dummy(*args): # <--- pass if len(wx.VERSION)==5: # wxPython Classic IS_CLASSIC = True IS_PHOENIX = False EVT_GRID_CELL_CHANGE = wx.grid.EVT_GRID_CELL_CHANGE wx_SystemSettings_GetFont = wx.SystemSettings_GetFont wx_SystemSettings_GetColour = wx.SystemSettings_GetColour wx_ArtProviderPush = wx.ArtProvider.PushProvider wx_ArtProvider_GetBitmap = wx.ArtProvider_GetBitmap wx_ToolTip_SetDelay = wx.ToolTip_SetDelay wx_ToolTip_SetAutoPop = dummy #<---- wx_Tree_InsertItemBefore = wx.TreeCtrl.InsertItemBefore def SetToolTip(c, s): c.SetToolTipString(s)
However, I am not sure this fixes anything. wxGlade seems to crash horrible when closing. We probarbly need some better solution.
-- Jonas
Hi Jonas,
it's strange that SetAutoPop is not available on your installation. Replacing it with dummy should be fine, though.
I have only Windows for testing.
Would you mind testing the current version of branch DEV_DS_2016 on your installation and also with Python 3.4 or 3.5 with a recent snapshot of Phoenix?
Does the crash always occur or only when you did load and edit certain files?
Regards,
Dietmar
Last edit: Dietmar Schwertberger 2016-11-02
On 2016-11-02 21:44, Dietmar Schwertberger wrote:
Otherwise I like wxGlade a lot!
-- Jonas
Related
Bugs:
#197Regards,
Dietmar
Hi Jonas,
I've implemented the current bug report dialog to simplify the reporting the bugs.
The dialog should raised for major errors only. The dialog should never raised if the error can be ignored. That would be a fail and will be fixed.
Please report errors told by the dialog. You can open a ticket, send a mail to the mailing list or to me directly.
Regards,
Carsten
I just tried with a Phoenix snapshot and Python 3.5.
Startup seems to work.
For Classic, I've added your workaround.
Last edit: Dietmar Schwertberger 2017-02-15