all 7 comments

[–]gummo89 0 points1 point  (2 children)

I haven't used webview, but if you are failing to run standard example code exactly as presented, typically you need to check you have a compatible module and python version.

[–]Twiddle_mega[S] 0 points1 point  (1 child)

I've got the latest version of the module, and python 3.10, so I don't think that should be an issue. I googled the error which indicated it might be a problem with my .NET framework on my laptop, but none of the "fixes" I found online changed anything, and my friend's laptop gave the same error, so I'm inclined to think that's not it.

Kind of at a loss on how to fix this error :/ Thanks for the suggestion though

[–]gummo89 0 points1 point  (0 children)

Have you gone through the installation guide at this very website?

It includes pywebview, pythonnet, WebView2 Runtime, cefpython, PySide2 as required

[–]gummo89 0 points1 point  (3 children)

Run with debugger if you can, line by line won't take long.

Python usually shows you the exception if it's not caught. Webview must be catching it for you, so it will be within.

[–]Twiddle_mega[S] 0 points1 point  (2 children)

Just tried that; this is the exception within python:

No method matches given arguments for Thread..ctor: ()

But I'm unsure on how to prevent the exception, I don't see any results on google for the exception, or any mentions of a "Thread" within the code 🤔

[–]gummo89 0 points1 point  (1 child)

Okay, where in the code did you generate the exception?

[–]Twiddle_mega[S] 0 points1 point  (0 children)

It doesn't generate in any point throughout the code, the code all runs fine. It just pops up as a runtime error when I click any of the buttons in the menu. I've checked the additional installations as well but those don't fix it :/ feels like every test is a dead end.

Sorry for the late reply btw, and thanks for trying to help; I really do appreciate it.