FS#74152 - [pymol] missing dependencies: pyside2, python-pyqt5

Attached to Project: Community Packages
Opened by SodiumAluminate (NaAlOH4) - Friday, 18 March 2022, 03:23 GMT
Last edited by Caleb Maclennan (alerque) - Monday, 02 May 2022, 09:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

* pkg version: `pymol 2.5.0-3`
* error output:
```
sodiumaluminate@alsbook~$ pymol
Qt not available (pymol.Qt), using GLUT/Tk interface
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pymol/__init__.py", line 73, in <module>
sys.exit(pymol.launch(args))
File "/usr/lib/python3.10/site-packages/pymol/__init__.py", line 429, in launch
_cmd.runpymol(None, block_input_hook)
NotImplementedError: compile with --glut
sodiumaluminate@alsbook~$
```

Steps to reproduce:
install pymol package and try to open it(error and pymol not working).
try `sudo pacman -S pyside2 python-pyqt5` and open it(it works).
This task depends upon

Closed by  Caleb Maclennan (alerque)
Monday, 02 May 2022, 09:13 GMT
Reason for closing:  Not a bug
Comment by Caleb Maclennan (alerque) - Monday, 02 May 2022, 09:12 GMT
This report is incorrect. Pyside2 is not required at all, the GUI runs without it.

As for python-pyqt5, that is already listed as an optional dependency. Pymol can be used in a batch mode without the GUI, so listing the GUI dependencies as hard requirements would force people using this in remote/CI environments to install a bunch of things they may not need. If you want the GUI, you need to install the relevant optdepends yourself.

Loading...