Pymol-Scripts / Pymol-script-repo

Collected scripts for Pymol
http://www.pymolwiki.org/index.php/Git_intro
435 stars 257 forks source link

dssp plugin #115

Closed biotech70 closed 5 months ago

biotech70 commented 3 years ago

What is the cause of the following error in dssp plugin?

dssp_stride.py", line 113, in <lambda>
    command=lambda s=self: DSSPPlugin(s))
  File "/home/proteininstitute/.pymol/startup/dssp_stride.py", line 261, in __init__
    self.notebook = Pmw.NoteBook(self.dialog.interior())
  File "/usr/local/lib/python3.8/dist-packages/Pmw/Pmw_2_0_1/lib/PmwNoteBook.py", line 60, in __init__
    Pmw.Color.bordercolors(self, self['hull_background'])
  File "/usr/local/lib/python3.8/dist-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
speleo3 commented 3 years ago

https://sourceforge.net/p/pmw/bugs/51/

https://github.com/schrodinger/pmw-patched

biotech70 commented 3 years ago

https://sourceforge.net/p/pmw/bugs/51/

https://github.com/schrodinger/pmw-patched

Thanks for your tips. I downloaded the files in the https://github.com/schrodinger/pmw-patched address and put them in path of Python3.6, 3.7, and 3.8 but got the error again.

biotech70 commented 3 years ago

Thanks for your tips. I downloaded the files in the https://github.com/schrodinger/pmw-patched address and put them in path of Python3.6, 3.7, and 3.8 but got the error again.

speleo3 commented 3 years ago

You probably need to remove the /usr/local/lib/python3.8/dist-packages/Pmw folder.

biotech70 commented 3 years ago

its my python 3.8 directory content Untitled

speleo3 commented 5 months ago

Duplicate of https://github.com/Pymol-Scripts/Pymol-script-repo/issues/122