Skip to content

App start failed on macOS 11.1 big sur #56

@madmadcat

Description

@madmadcat

It works on Windows but my macOS.

heres are error messages

  File "/Users/doyouhike/project/WANDTEC/Tools/SignalIntegrity-master/SignalIntegrity/App/SignalIntegrityApp.py", line 1097, in main
    SignalIntegrityApp(projectFileName,external=external)
  File "/Users/doyouhike/project/WANDTEC/Tools/SignalIntegrity-master/SignalIntegrity/App/SignalIntegrityApp.py", line 326, in __init__
    self.UpdateRecentProjectsMenu()
  File "/Users/doyouhike/project/WANDTEC/Tools/SignalIntegrity-master/SignalIntegrity/App/SignalIntegrityApp.py", line 453, in UpdateRecentProjectsMenu
    self.FileMenu.entryconfigure(1,state='disabled')
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 2933, in entryconfigure
    return self._configure(('entryconfigure', index), cnf, kw)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 1476, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: unknown option "-state"

And I've tried to comment line 452 to line 455 in SingalIntegrityApp.py

        if all(r is None for r in recentFileList):
            self.FileMenu.entryconfigure(1,state='disabled')
        else:
            self.FileMenu.entryconfigure(1,state='normal')

the App start normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions