Bugs and Issues - LSS

Impossible to start Patroneo on ubuntu 22.04


Hi, I'm trying to use patroneo on fresh ubuntu mate 22.04.
After menu to choose file location I've got this error.
math@atelier:~$ patroneo
[patroneo] ERROR 2022-07-05 13:11:36,313 template.start: Caught crash in execpthook. Trying too execute atexit anyway
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/bin/patroneo/__main__.py", line 18, in <module>
File "/usr/local/bin/patroneo/qtgui/mainwindow.py", line 38, in <module>
File "/usr/local/bin/patroneo/qtgui/pattern_grid.py", line 27, in <module>
ImportError: cannot import name 'QtOpenGL' from 'PyQt5' (/usr/lib/python3/dist-packages/PyQt5/__init__.py)

RSS Only moderators or members can reply to this. Sign-in if you are a moderator or member in order to post.


#1. lss


easy fix. Ubuntu apparently didn't add QtOpenGL to their dependencies.
It's a module of Qt you just have to install through pacakge management.

It should be this https://packages.ubuntu.com/jammy/python3-pyqt5.qtopengl