Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"About" and "Notes" Windows Only Load on First Opening Attempt #3

Open
DavidBerdik opened this issue Mar 31, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@DavidBerdik
Copy link
Owner

The "About" and "Notes" windows only load on the first opening attempt. Closing and attempting to reopen them at a later time does not work, and instead an error message prints to the terminal.

To reproduce:

  1. Open the "About" window from the PyGAAP GUI.
  2. Close it.
  3. Attempt to reopen it again.
  4. An error message will print to the terminal and no visible change will occur to the GUI.

This is the error that prints in the terminal when replicating this behavior with the "About" window. A similar error prints when doing it using the "Notes" window.

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Program Files\Python 3.10\lib\tkinter\__init__.py", line 1921, in __call__
    return self.func(*args)
  File "C:\PyGAAP\backend\GUI.py", line 711, in displayAbout
    About_page.lift()
  File "C:\Program Files\Python 3.10\lib\tkinter\__init__.py", line 1055, in tkraise
    self.tk.call('raise', self._w, aboveThis)
_tkinter.TclError: bad window path name ".!toplevel"

@Michaeljfang

@DavidBerdik DavidBerdik added the bug Something isn't working label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant