cascremers / scyther

The Scyther Tool for the symbolic analysis of security protocols
https://cispa.saarland/group/cremers/scyther/index.html
96 stars 38 forks source link

Update Scyther to support wxPython 4.0 #18

Closed Thomas-Fleming closed 1 year ago

Thomas-Fleming commented 5 years ago

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

maerten commented 5 years ago

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'
Thomas-Fleming commented 5 years ago

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

cascremers commented 4 years ago

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:

cascremers commented 1 year ago

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.