Skip to content

Plugin Manager GUI crash when installing on PyMOL 3.1.0 shipped with PyQt6 #3

Description

@tamir-dingjan

After attempting to add pymol_plugin/init.py to the Plugin Manager, I get the following traceback:

 PyMOL(TM) Molecular Graphics System, Version 3.1.0.
 Copyright (c) Schrodinger, LLC.
 All Rights Reserved.

    Created by Warren L. DeLano, Ph.D.

    PyMOL is user-supported open-source software.  Although some versions
    are freely available, PyMOL is not in the public domain.

    If PyMOL is helpful in your work or study, then please volunteer
    support for our ongoing efforts to create open and affordable scientific
    software by purchasing a PyMOL Maintenance and/or Support subscription.

    More information can be found at "http://www.pymol.org".

    Enter "help" for a list of commands.
    Enter "help <command-name>" for information on a specific command.

 Hit ESC anytime to toggle between text and graphics.

 Detected OpenGL version 2.1. Shaders available.
 Tessellation shaders not available
 Detected GLSL version 1.20.
 OpenGL graphics engine:
  GL_VENDOR:   Apple
  GL_RENDERER: Apple M5
  GL_VERSION:  2.1 Metal - 90.5
 Detected 10 CPU cores.  Enabled multithreaded rendering.

type object 'QFrame' has no attribute 'Sunken'
type object 'QFrame' has no attribute 'Sunken'
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.14/site-packages/pymol/plugins/managergui_qt.py", line 303, in installplugin
    installPlugin(self)
    ~~~~~~~~~~~~~^^^^^^
  File "/opt/homebrew/lib/python3.14/site-packages/pymol/plugins/legacysupport.py", line 68, in installPlugin
    installPluginFromFile(ofile)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/opt/homebrew/lib/python3.14/site-packages/pymol/plugins/installation.py", line 199, in installPluginFromFile
    showinfo = tkMessageBox.showinfo
               ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.14/site-packages/pymol/plugins/legacysupport.py", line 140, in __getattr__
    wrapped = getattr(module, name)
  File "/opt/homebrew/lib/python3.14/site-packages/pmg_qt/mimic_tk.py", line 18, in __getattr__
    'askyesno': ('question', QMB.Yes, QMB.No),
                             ^^^^^^^
AttributeError: type object 'QMessageBox' has no attribute 'Yes'

The Plugin Manager window itself does not update or change to reflect the selected file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions