Opened 4 years ago
Closed 4 years ago
#5987 closed defect (fixed)
AlphaFold prediction with Qt 6: 'QWebEngineDownloadRequest' object has no attribute 'finished'
Reported by: | Tom Goddard | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Structure Prediction | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Could not report this with bug reporter since it is broken. Bug on macOS 10.15.7, home laptop after AlphaFold prediction finishes. Apparently Qt 6 has renamed the "finished" signal and also renamed the QWebEngineDownloadItem class (Qt 5) to QWebEngineDownloadRequest (Qt 6).
Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/alphafold/predict.py", line 124, in _download_requested
item.finished.connect(self._unzip_results)
AttributeError: 'QWebEngineDownloadRequest' object has no attribute 'finished'
Fixed.
Made separate qt 5 and qt 6 download code for alphafold predict.