scyther icon indicating copy to clipboard operation
scyther copied to clipboard

Update Scyther to support wxPython 4.0

Open Thomas-Fleming opened this issue 6 years ago • 3 comments

Fix wxPython SpashScreen error at startup. Fix deprecated class usage and function calls.

Thomas-Fleming avatar Nov 09 '18 22:11 Thomas-Fleming

FYI there's some additional calls that don't work for me This is the error I get when pressing CMD+S to save the file:

$ ./scyther-gui.py
Traceback (most recent call last):
  File "scyther-mac-v1.1.3/Gui/Mainwindow.py", line 281, in OnSave
    return self.OnSaveAs(event)
  File "scyther-mac-v1.1.3/Gui/Mainwindow.py", line 301, in OnSaveAs
    if self.askUserForFilename(defaultFile=self.filename, style=wx.SAVE,
AttributeError: 'module' object has no attribute 'SAVE'

maerten avatar Nov 10 '18 10:11 maerten

Thanks, Maerten. I'll take a look when I get a spare minute.

Thomas-Fleming avatar Nov 10 '18 10:11 Thomas-Fleming

Thanks a lot for the effort, it's really appreciated! Two suggestions that would help but I can't get round to them myself in the next weeks:

  • Perhaps an explicit check for the allowed versions of wxpython, and
  • a corresponding warning that explains if a condition is not met (and mentions in the install readmes perhaps?).

cascremers avatar Nov 20 '19 13:11 cascremers

This issue should have been resolved now in current versions of Scyther's code. Will be closing this issue in the near future unless someone objects.

cascremers avatar Mar 26 '23 21:03 cascremers