FS#68895 - [pymol] Refuses to start, complains about 'setcheckinterval'

Attached to Project: Community Packages
Opened by Roger Bunivot (Roger B) - Tuesday, 08 December 2020, 13:29 GMT
Last edited by Toolybird (Toolybird) - Sunday, 30 April 2023, 06:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
trying to start pymol rise the error:
AttributeError: module 'sys' has no attribute 'setcheckinterval'
pymol doesn't start

Additional info:
* package version(s)
x86_64 Community pymol 2.3.0-4 Molecular visualization system on an Open Source foundation 2020-12-02 2019-05-27

Steps to reproduce:
sudo pacman -Suy pymol
pymol

I commented the line 572 from the file
/usr/lib/python3.9/site-packages/pymol/__init__.py

since the sys.setcheckinterval seems to be deprecated
https://bugs.python.org/issue37392

Then pymol start.

There is still some warning about libtk8.6.so but doesn't seems to be a problem and related.
Maybe the package extra/tk should be a dependency (once installed pymol doesn't complain anymore about libtk8.6)





This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 30 April 2023, 06:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by Mefistofeles (mefistofeles) - Friday, 11 December 2020, 03:57 GMT
This should be solved in the new PyMol version (v2.4.0), as per https://github.com/schrodinger/pymol-open-source/commit/deabfe3f92610a613a6e65e8b462c0dc349e8871
Comment by Filipe Laíns (FFY00) - Sunday, 24 January 2021, 19:39 GMT
Hi, I have pushed pymol 2.4.0 a few days ago. Can you confirm it fixes your problem? I tried it on my machine when I bumped it and it started fine.

Loading...