-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyQt-related bug causing Tree.render() to fail #635
Comments
I am having the same error on the same ete3 version. |
Second this. Adding
|
Came across this same issue, applying the changes in #617 fixed it for me. |
…ttps://www.riverbankcomputing.com/static/Docs/PyQt5/incompatibilities.html\#pyqt-v5-12. Setting PyQt5.sip.enableoverflowchecking(False) had no effect, so many calls to drawing directives have been reviewed. closes #684 #667 #617 #635
I'm rendering a tree in ete3 (v3.1.2):
And getting an error:
Following the suggestion in #616 , I provide ints to
h
andw
, but get a related error, which I think is caused by the failure to cast the result ofdpi / 0.0254
as anint
.The PyQt version I am using is 5.12.9. I think this problem is related to the incompatibility introduced in pyqt v5.12 mentioned here. I was able to fix this problem by switching to a conda environment with the same version of ete3 (v3.1.2) but different versions of pyqt / qt (5.9.7).
There might be a quick solution if the line
PyQt5.sip.enableoverflowchecking(False)
is added totreeview/qt.py
, but I haven't been able to test this myself. Attached are the specs for the environment where this issue occurred, the specs of the environment where rendering worked, my newick tree file (as txt). The code to test for this error is above.broken_environment_spec.txt
functional_environment_spec.txt
test_file.txt
The text was updated successfully, but these errors were encountered: