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

Browser doesn't work #27

Open
PartehDev opened this issue Apr 30, 2023 · 2 comments
Open

Browser doesn't work #27

PartehDev opened this issue Apr 30, 2023 · 2 comments

Comments

@PartehDev
Copy link

Whenever I use the "web browser" I get this error:
K:\Python-OS>python os.py Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 839, in callit func(*args) File "K:\Python-OS\System\shell\Boot\Bootloader.py", line 66, in update_os_loader self.loading.configure(image=frame) File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1675, in configure return self._configure('configure', cnf, kw) File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1665, in _configure self.tk.call(_flatten((self._w, cmd)) + self._options(cnf)) _tkinter.TclError: invalid command name ".!label4" Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 839, in callit func(*args) File "K:\Python-OS\System\shell\Boot\Bootloader.py", line 38, in update_vmw_loader self.loader_bar.configure(width=ind) File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1675, in configure return self._configure('configure', cnf, kw) File "C:\Users\Owner\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1665, in _configure self.tk.call(_flatten((self._w, cmd)) + self._options(cnf)) _tkinter.TclError: invalid command name ".!label2"...

@CerebralSeed
Copy link

I'm having a similar issue with the OS crashing upon opening the browser.

@WinFan3672
Copy link

This is an issue with Tkinterweb, the python module that runs the web browser. A fix would be to use requests to download the web page and use a HTML rendering library to render the downloaded page.

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

3 participants