-
-
Notifications
You must be signed in to change notification settings - Fork 560
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
Load html triggers error - resolve_url() missing 1 required positional argument: 'should_serve' #562
Comments
I'm getting the same error! Spent 2 hours around this, thinking I was doing something wrong! :/ Thanks for posting the issue. |
Same Error for me. I was trying multi-window example. |
Yes, i can also use url with no problems for web urls (ex: google.com), but if I try to parse a local HTML ( C:\teste.html ) in the URL parameter i'm also getting an error. It's a diferent one and i'm still checking if it's note bad programing on my part, i don't think its related to this issue. |
I pushed a fix to the master. Could someone verify it? |
Hi, I just copy and paste the script from the api's "load html example". I installed the latest version via zip 5h ago |
I pushed a fix into the master. A throughout testing is needed and appreciated. @astronouth7303 |
@r0x0r Added comments to the commit directly. |
The latter commit fixes this issue. I am closing this issue and will release a new version soon. |
I have to re-open this issue because I have the issue. I paste the example from the documentation site, I try to put add empty URL, try to force cef GUI , I try to disable http_server, and it still don't work. I also try to load the google url then load html, the load html method has the same error as the html attribute :
|
@qaniere Which example are you referring to? Are you using the latest version? |
It's strange, because the 3.3.3 version was producing the issue and I uninstall and install again pywebview and it seem to work even if pip logs tell me that is also the 3.3.3 version. Sorry for the inconvenience. |
Specification
Description
Trying to load html in a pywebview window triggers an exception. Let me know if you need further info, I can also help with debugging.
Sample run (taken from examples in documentation)
Exception
Practicalities
YES I am willing to work on this issue myself.
NO I am prepared to support this issue financially.
The text was updated successfully, but these errors were encountered: