Regarding Pmw: pip uninstall Pmw and install Pmw-2.0.1-py3-none-any.whl from <https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol-open-source>

Christoph


On 5/2/2021 11:43 AM, Marko Hyvonen wrote:
Hello PyMOLers

Just installed open source 2.4 with Python 3.9 and all seems ok apart from the mouse scroll wheel not doing anything when I move PyMOL to the external screen of my laptop,  ie. I get no slabbing in viewing mode. Moving PyMOL back to the laptop screen restores scrolling and it seems to happen only when I used extended desktop - duplicate screen or external only work fine. Any idea what could be the issue? A bit of a pain as I prefer the external screen for mol graphics.

My old version 1.8.2 works correctly.

Also Plugin manager does seem to work. Seem to get a lot of errors related to Pmw (which is up to date). Any ideas? Errors below.

cheers, Marko


TypeError Exception in Tk callback
  Function: <function addPluginManagerMenuItem.<locals>.plugin_manager at 0x00000234B6DCDCA0> (type: <class 'function'>)
   Args: ()
Traceback (innermost last):
  File "C:\Python39\lib\site-packages\Pmw\Pmw_2_0_1\lib\PmwBase.py", line 1776, in __call__
     return self.func(*args)
  File "C:\Python39\lib\site-packages\pymol\plugins\legacysupport.py", line 87, in plugin_manager
     managergui.manager_dialog()
  File "C:\Python39\lib\site-packages\pymol\plugins\managergui.py", line 47, in manager_dialog
     dialog = PluginManager(get_tk_root())
  File "C:\Python39\lib\site-packages\pymol\plugins\managergui.py", line 129, in __init__
     notebook = Pmw.NoteBook(master)
  File "C:\Python39\lib\site-packages\Pmw\Pmw_2_0_1\lib\PmwNoteBook.py", line 60, in __init__
     Pmw.Color.bordercolors(self, self['hull_background'])
  File "C:\Python39\lib\site-packages\Pmw\Pmw_2_0_1\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

--

Marko Hyvonen
Department of Biochemistry, University of Cambridge
mh...@cam.ac.uk
+44 (0)1223 766 044
@HyvonenGroup
http://hyvonen.bioc.cam.ac.uk


_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe



_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to