Bug report #15923
2to3 fix_signal issue
Status: | Feedback | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
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 |
Description
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:
self.downloader.replyFinished.connect(self.networkReplyFinished) AttributeError: 'function' object has no attribute 'connect'
Maybe I have to add some modifications manually?
History
#1 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
- Regression? set to No
#2 Updated by Giovanni Manghi over 5 years ago
- Status changed from Open to Feedback
Please check if this issue is still valid on QGIS 3.4.5 or 3.6.