Not compatible with PyQt 5.7 / Qt 5.6

Bug #1609453 reported by groovy
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Fix Released
High
Damon Lynch

Bug Description

I don't know what exactly leads to this error as the installed version worked before. It is maybe related to some recent system updates. This is what I get:

QObject::connect: Cannot connect OffloadManager::downloadFolders(PyQt_PyObject) to (null)::folders_generated(PyQt_PyObject)
ERROR An unhandled exception occurred
ERROR Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/raphodo/rapid.py", line 983, in initStage3
    self.offloadmq.downloadFolders.connect(self.folder_preview_manager.folders_generated)
TypeError: connect() failed between OffloadManager.downloadFolders[FoldersPreview] and folders_generated()

--detailed-version:

Rapid Photo Downloader: 0.9.0a4
Platform: Linux-4.6.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-2.2
Python: 3.4.5
Qt: 5.6.1
PyQt: 5.7
ZeroMQ: 4.1.4
Python ZeroMQ: 15.2.0
gPhoto2: 2.5.10
Python gPhoto2: 1.4.0
ExifTool: 10.24
pymediainfo: 2.1.5
GExiv2: 0.10.03
psutil: 4.3.0
Exiv2: 0.25.0

Related branches

Revision history for this message
Damon Lynch (dlynch3) wrote :

My initial reaction is that you're running into problems with PyQt 5.7, which is very bleeding edge. I have not tested it at all myself. Can you easily drop back down to PyQt 5.6 on Gentoo?

Plus I'd recommend Python ZeroMQ 15.1.0, as I've seen problems with the main process not exiting when using Python ZeroMQ 15.2.0. It might be different on your system however.

Revision history for this message
groovy (paessler) wrote :

Thanks for the quick reply.
I will have a look at downgrading these packages and report back here.

Revision history for this message
groovy (paessler) wrote :

You are right. Downgrading PyQt to 5.6 makes it work again.

Damon Lynch (dlynch3)
summary: - error on startup: Cannot connect OffloadManager
+ Not compatible with PyQt 5.7 / Qt 5.6
Changed in rapid:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Damon Lynch (dlynch3)
Revision history for this message
Damon Lynch (dlynch3) wrote :

I've fixed the bug, which relates to more strict enforcement of the Qt signal/slot mechanism by PyQt starting with PyQt 5.7. It was a two line fix, thankfully.

Changed in rapid:
importance: Medium → High
milestone: none → 0.9.0a5
status: Triaged → In Progress
Revision history for this message
compul (compul) wrote :

I am on debian and cannot downgrade. When will this fix be out?

Revision history for this message
Damon Lynch (dlynch3) wrote :

Whenever alpha 5 is ready to release. Hopefully this month.

Damon Lynch (dlynch3)
Changed in rapid:
status: In Progress → Fix Committed
Damon Lynch (dlynch3)
Changed in rapid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.