I updated PyQt from 4.7.1-snapshot-20100120 to snapshot-4.7.1-02f7e71246f9,
and that seemed to fix the issue. Now, I get what looks like a valid history
file. (254 bytes from my modified version of Russel's code)
On Mon, Mar 15, 2010 at 13:54, David Bronke wrote:
> I had already done
I had already done those 2 changes in my version of his script; I've
attached my modified version. With this version, I still get a zero-length
file.
On Mon, Mar 15, 2010 at 13:48, Phil Thompson wrote:
> On Mon, 15 Mar 2010 13:24:21 -0500, Russell Valentine
> wrote:
> > Yes, my fault. How abou
In my example, there is an event loop, and it still gets a zero-length file.
I've modified Russel's example to have an event loop, and it still exhibits
the same behavior.
On Mon, Mar 15, 2010 at 13:09, Phil Thompson wrote:
> On Mon, 15 Mar 2010 12:57:27 -0500, David Bronke
>
tream(f)
> page=QtWebKit.QWebPage()
> page.mainFrame().load(QtCore.QUrl("http://python.org";))
>
> d.__lshift__(page.history())
>
>
>
>
> David Bronke wrote:
>
>> Sorry, I spoke to soon. Using out.__lshift__(view.page().history()) yeilds
>> a
>&
On Mon, Mar 15, 2010 at 10:42, David Bronke wrote:
> That works great, thanks!
>
>
> On Mon, Mar 15, 2010 at 00:45, Russell Valentine
> wrote:
>
>> out.__lshift__(view.page().history())
>>
>> David Bronke wrote:
>>
>>> In the QWebH
That works great, thanks!
On Mon, Mar 15, 2010 at 00:45, Russell Valentine wrote:
> out.__lshift__(view.page().history())
>
> David Bronke wrote:
>
>> In the QWebHistory documentation (both on the main Qt site and at
>>
>> http://www.riverbankcomputin
In the QWebHistory documentation (both on the main Qt site and at
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebhistory.html)
the method for loading and saving history for a QWebPage is described as:
QWebHistory's state can be saved to a QDataStream using
> the >> operator and lo