Description of problem: PyMOL cannot load plugins. PyMOL crashes when the "About PyMOL" window is opened. Using latest release of PyMOL on Fedora 26 from updates-testing repository does not help: pymol-1.9.0-1.20180224svn4178.fc26.x86_64 Version-Release number of selected component (if applicable): $ rpm -q pymol python3-tkinter python3-pmw pymol-1.8.6-4.20170314svn4170.fc26.x86_64 python3-tkinter-3.6.4-2.fc26.x86_64 python3-pmw-2.0.0-7.fc26.noarch How reproducible: 100% Steps to Reproduce: 1. $ pymol either: 2a. Plugin -- APBS Tools2.1... or: 2b. Help -- About PyMOL Actual results: 2a) TypeError Exception in Tk callback Function: <function __init__.<locals>.<lambda> at 0x14ba37251510> (type: <class 'function'>) Args: () Traceback (innermost last): File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwBase.py", line 1760, in __call__ return self.func(*args) File "/usr/lib64/python3.6/site-packages/pmg_tk/startup/apbs_tools.py", line 320, in <lambda> command = lambda s=self: APBSTools2(s)) File "/usr/lib64/python3.6/site-packages/pmg_tk/startup/apbs_tools.py", line 615, in __init__ self.notebook = Pmw.NoteBook(self.dialog.interior()) File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwNoteBook.py", line 60, in __init__ Pmw.Color.bordercolors(self, self['hull_background']) File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwColor.py", line 359, in bordercolors '#%04x%04x%04x' % (lightRGB[0], lightRGB[1], lightRGB[2]), TypeError: %x format: an integer is required, not float 2b) /usr/bin/pymol: line 3: 5623 Segmentation fault (core dumped) /usr/bin/python3 /usr/lib64/python3.6/site-packages/pymol/__init__.py "$@" Expected results: no error message Additional info: The problem can be reproduced on Fedora 27 and 28. The problem cannot be reproduced with the latest upstream version 2.0.7: https://pymol.org/installers/PyMOL-2.0.7_0-Linux-x86_64.tar.bz2 I have not tried this version: https://pymol.org/edu/?q=educational/ I used "python-pmw" package to file the bug against because the file in the output belongs to "python3-pmw" package. Maybe PyMOL is at fault. I am not sure.
PyMOL-2.0.7_0-Linux-x86_64.tar.bz2 is nonfree and ships its own Python 2.7 environment according to `ldd pymol/bin/python` after extracting the archive. The latest free version is 1.9.0 as shipped by updates-testing repositories.
pymol-2.1.0-1.20180321svn4187.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e781e12add
pymol-2.1.0-1.20180321svn4187.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1eb431f403
pymol-2.1.0-1.20180321svn4187.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4eb0987cf7
(In reply to René Genz from comment #0) > Description of problem: > PyMOL cannot load plugins. > PyMOL crashes when the "About PyMOL" window is opened. > > Using latest release of PyMOL on Fedora 26 from updates-testing repository > does not help: > pymol-1.9.0-1.20180224svn4178.fc26.x86_64 > > > Version-Release number of selected component (if applicable): > $ rpm -q pymol python3-tkinter python3-pmw > pymol-1.8.6-4.20170314svn4170.fc26.x86_64 > python3-tkinter-3.6.4-2.fc26.x86_64 > python3-pmw-2.0.0-7.fc26.noarch > > > How reproducible: > 100% > > Steps to Reproduce: > 1. $ pymol > either: > 2a. Plugin -- APBS Tools2.1... > or: > 2b. Help -- About PyMOL > > Actual results: > 2a) > TypeError Exception in Tk callback > Function: <function __init__.<locals>.<lambda> at 0x14ba37251510> (type: > <class 'function'>) > Args: () > Traceback (innermost last): > File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwBase.py", line > 1760, in __call__ > return self.func(*args) > File "/usr/lib64/python3.6/site-packages/pmg_tk/startup/apbs_tools.py", > line 320, in <lambda> > command = lambda s=self: APBSTools2(s)) > File "/usr/lib64/python3.6/site-packages/pmg_tk/startup/apbs_tools.py", > line 615, in __init__ > self.notebook = Pmw.NoteBook(self.dialog.interior()) > File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwNoteBook.py", > line 60, in __init__ > Pmw.Color.bordercolors(self, self['hull_background']) > File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwColor.py", > line 359, in bordercolors > '#%04x%04x%04x' % (lightRGB[0], lightRGB[1], lightRGB[2]), > TypeError: %x format: an integer is required, not float > > > > 2b) > /usr/bin/pymol: line 3: 5623 Segmentation fault (core dumped) > /usr/bin/python3 /usr/lib64/python3.6/site-packages/pymol/__init__.py "$@" > > Expected results: > no error message > > Additional info: > The problem can be reproduced on Fedora 27 and 28. > > The problem cannot be reproduced with the latest upstream version 2.0.7: > https://pymol.org/installers/PyMOL-2.0.7_0-Linux-x86_64.tar.bz2 > I have not tried this version: > https://pymol.org/edu/?q=educational/ > > I used "python-pmw" package to file the bug against because the file in the > output belongs to "python3-pmw" package. Maybe PyMOL is at fault. I am not > sure. Hi Rene - I've updated the pymol to 2.1.0, which also switches the UI to PyQt - see if this fixes the issue and let me know. I'm separately working on updating the apbs package, but thats a little more work.
pymol-2.1.0-1.20180321svn4187.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1eb431f403
pymol-2.1.0-1.20180321svn4187.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4eb0987cf7
pymol-2.1.0-1.20180321svn4187.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e781e12add
(In reply to Tim Fenn from comment #5) Thank you very much. I am looking forward to the apbs package update. With the new packages: "2a. Plugin -- APBS Tools2.1..." gives a slightly different output: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/pmg_tk/startup/apbs_tools.py", line 321, in <lambda> command = lambda s=self: APBSTools2(s)) File "/usr/lib64/python3.6/site-packages/pmg_tk/startup/apbs_tools.py", line 616, in __init__ self.notebook = Pmw.NoteBook(self.dialog.interior()) File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwNoteBook.py", line 60, in __init__ Pmw.Color.bordercolors(self, self['hull_background']) File "/usr/lib/python3.6/site-packages/Pmw/Pmw_2_0_0/lib/PmwColor.py", line 359, in bordercolors '#%04x%04x%04x' % (lightRGB[0], lightRGB[1], lightRGB[2]), TypeError: %x format: an integer is required, not float and PyMOL creates a pop-up window too: --8<-- Error --- %x format: an integer is required, not float --8<-- "2b. Help -- About PyMOL" does not crash anymore.
pymol-2.1.0-1.20180321svn4187.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
pymol-2.1.0-1.20180321svn4187.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
pymol-2.1.0-1.20180321svn4187.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.