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

Application Error. Error: invalid command name {random characters} #2546

Open
m92rizk opened this issue Aug 19, 2024 · 0 comments
Open

Application Error. Error: invalid command name {random characters} #2546

m92rizk opened this issue Aug 19, 2024 · 0 comments

Comments

@m92rizk
Copy link

m92rizk commented Aug 19, 2024

Hello,

Screenshot 2024-08-19 200809
The main issue I am facing with this error (image) is its randomness, as I can't seem to catch how and when it pops up and kills the whole application. Sometimes it appears, and sometimes it doesn't. Hope you can help me!
this is the associated error in terminal:

Traceback (most recent call last):
File "./gui_threaded_ctk_3.py", line 1616, in
app.mainloop()
File "---\Python\Python37\lib\site-packages\customtkinter\windows\ctk_tk.py", line 165, in mainloop
super().mainloop(*args, **kwargs)
File "---\Python\Python37\lib\tkinter_init_.py", line 1283, in mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 22: invalid start byte

I am trying to build a GUI that has the following:

  • tabview
  • popup window
  • buttons
  • segmented buttons
  • scrollbars (that updates appearance and size based on window size and content size)
  • some widgets are stored in lists, to be called later in a for loop to be configured.

that's what I remember for the moment, but i am happy to cooperate to figure this out.

Thank you,

@m92rizk m92rizk changed the title application error. Error: invalid command name {random characters} Application Error. Error: invalid command name {random characters} Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant