Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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


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

I commented the line 572 from the file

since the sys.setcheckinterval seems to be deprecated

Then pymol start.

There is still some warning about 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 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.