[PyQt] QNetworkReply pyQt

Christopher Probst christop.probst at gmail.com
Wed May 3 21:06:43 BST 2017


Thanks for everybody's help. It does work. The error eventually was that
the Download object that was doing all this stuff in a constructor was
destroyed because it was stored in a local variable.

I decided to fix it by keeping it around with something like this
self.download = Download()

I know, I know, this is a newbie mistake, thank-you for your patience.

Thanks,
Christopher

On Wed, May 3, 2017 at 2:51 PM, Baz Walter <bazwal at ftml.net> wrote:

> On 03/05/17 17:15, Christopher Probst wrote:
>
>> For some odd reason the finished signal is never received.
>>
>>     def __init__(self, parent=None):
>>         QObject(parent)
>>
>
> ???
>
>
>>     manager.get(QNetworkRequest(QUrl("http://qt.nokia.com")));
>>
>
> Hmm... nokia...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170503/4c3459d6/attachment-0001.html>


More information about the PyQt mailing list