[PyQt] QWebKit issue with certain URLs

Aaron Digulla digulla at hepe.com
Wed Oct 8 21:13:35 BST 2008


alan moore schrieb:
> Hello.
> I was trying to use QWebKit to create a basic browser to use with thin
> clients at our public library.  Everything was looking good, but I have
> found a URL on our server that simply will not load in a QWebview.  I
> have tried this using PyQT4.4 on Ubuntu Hardy Heron and on Windows XP,
> and get the same results.
> 
> The URL in question is: http://library.williamson-tn.org:90/kids
> 
> If you create a simple QWebview browser and try to load this URL,
> nothing happens.  And I mean nothing -- no exceptions raised, no errors,
> no 404.  Just acts like nothing happened.
> 
> I have tried converting this URL to a QUrl object both in one command
> and piecemeal, and in either case it shows as a valid URL.  But if I try
> to load it, or if I load a different page on the site and try to browse
> to that URL, nothing happens.

Try to query the QUrl and the QWebView for their attributes to see what
they made of your input. Maybe there is a bug somewhere?

Regards,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/          http://www.pdark.de/


More information about the PyQt mailing list