Bug report #15923

2to3 fix_signal issue

Added by dr - about 6 years ago. Updated almost 4 years ago.

Category:Python plugins
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23840


With 2to3 fix_signal I've got the following code changes:

-        QObject.connect(self.downloader, SIGNAL("replyFinished(QString, int, int)"), self.networkReplyFinished)
+        self.downloader.replyFinished.connect(self.networkReplyFinished)

But when I run plugin I get an error:

AttributeError: 'function' object has no attribute 'connect'

Maybe I have to add some modifications manually?


#1 Updated by Giovanni Manghi over 5 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Giovanni Manghi almost 4 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF