<div dir="ltr"><br><div>new to pyQt and I am stumped. I am trying to get the QNetworkAccessManager class to work with these lines<br></div><div><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt"><pre style="font-family:"dejavu sans mono";font-size:11.4pt"><span style="color:rgb(0,0,128);font-weight:bold">class </span>Download(QNetworkAccessManager):</pre><pre style="font-family:"dejavu sans mono";font-size:11.4pt">..</pre></pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt"><span style="color:rgb(148,85,141)">self</span>.m_reply = <span style="color:rgb(148,85,141)">self</span>.get(QNetworkRequest(QUrl(<span style="color:rgb(0,128,128);font-weight:bold">"<a href="http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz">http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz</a>"</span>)))<br><span style="color:rgb(148,85,141)"><br></span></pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt"><span style="color:rgb(148,85,141)">self</span>.m_reply.readyRead.connect(<span style="color:rgb(148,85,141)">self</span>.debugging)<br><span style="color:rgb(148,85,141)">self</span>.m_reply.error.connect(<span style="color:rgb(148,85,141)">self</span>.debugging)<br><span style="color:rgb(148,85,141)">self</span>.m_reply.finished.connect(<span style="color:rgb(148,85,141)">self</span>.debugging)<br></pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt">..</pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt"><br></pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt">where debugging is a slot</pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt"><pre style="font-family:"dejavu sans mono";font-size:11.4pt">@<span style="color:rgb(0,0,178)">pyqtSlot</span>()<br><span style="color:rgb(0,0,128);font-weight:bold">def </span>debugging(<span style="color:rgb(148,85,141)">self</span>):<br> <span style="color:rgb(0,0,128)">print</span>(<span style="color:rgb(0,128,128);font-weight:bold">"downloadProgress"</span>)</pre><pre style="font-family:"dejavu sans mono";font-size:11.4pt"><br></pre><pre style="font-family:"dejavu sans mono";font-size:11.4pt">Problem is, it looks as if the readyRead, error or finished signal are never emitted. What am I doing wrong?</pre><pre style="font-family:"dejavu sans mono";font-size:11.4pt"><br></pre><pre style="font-family:"dejavu sans mono";font-size:11.4pt">Thanks,
Christopher</pre></pre><pre style="color:rgb(0,0,0);font-family:"dejavu sans mono";font-size:11.4pt"><br></pre></div></div>