FS#53654 - [pymol] Iterate command fails with Python 3

Attached to Project: Community Packages
Opened by Leonhard (heleon) - Wednesday, 12 April 2017, 15:22 GMT
Last edited by Evgeniy Alexeev (arcan1s) - Friday, 14 April 2017, 18:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evgeniy Alexeev (arcan1s)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi!

I recently updated PyMol to package version 1.8.6.0-1. It uses Python 3 now instead of Python 2.
On my system essential scripting functions like iterate, alter, etc. stopped working after the update.

Steps to reproduce:
* Open PyMol
* Load some structure:
PyMol> fetch 1xyz
* Print Residue numbers using iterate:
PyMOL>iterate 1xyz, print(resi)
Traceback (most recent call last):
File "", line 1, in <module>
SystemError: error return without exception set

Is anyone having similar issues?
Thanks!

regards,
Leonhard



This task depends upon

Closed by  Evgeniy Alexeev (arcan1s)
Friday, 14 April 2017, 18:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.8.6.0-2
Comment by Evgeniy Alexeev (arcan1s) - Friday, 14 April 2017, 18:51 GMT
Hello,

Unfortunately I didnt use enough functions to realize these errors (some other functions became broken too). And as soon as no one reported about problems until it was in [community-testing] I moved the package to [community] without any changes. At the moment I rollback to python2, will discuss found issues with upstream first. Sorry again :(

Loading...