Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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 Doug Newgard (Scimmia) - Tuesday, 08 December 2020, 14:38 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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.

Loading...