username121546434 / pit-mopper

A game I made in Python using tkinter, has some releases!
GNU General Public License v3.0
3 stars 0 forks source link

error in version 2.0.2 updater portable version #7

Open username121546434 opened 3 months ago

username121546434 commented 3 months ago

This is an auto generated bug report

Description

I wanted to update pit mopper but this error popped up

More information

Traceback: <traceback object at 0x000001E536D98F00> Type: <class '_tkinter.TclError'> Value: unknown option "-bg"

Full Traceback:

Traceback (most recent call last):
  File "C:\Users\athar\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1948, in __call__
    return self.func(*args)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\athar\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 861, in callit
    func(*args)
  File "C:\Users\athar\Desktop\Python\pit-mopper\Scripts\updater.py", line 89, in check_for_updates
    timeout 3 /NOBREAK
            ~~^~~~~~~~~
  File "C:\Users\athar\Desktop\Python\pit-mopper\Scripts\functions.py", line 253, in change_theme_of_window
    break
  File "C:\Users\athar\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1702, in configure
    return self._configure('configure', cnf, kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\athar\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1692, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: unknown option "-bg"
Debug Log Output 2024-05-27 21:59:17,237 [INFO]: Loading... 2024-05-27 21:59:17,368 [INFO]: Loading new app instance... 2024-05-27 21:59:17,504 [INFO]: Finished loading
username121546434 commented 1 month ago

I tested this in alpha code, this error didn't occur... I guess it magically fixed itself in the new code...