danielhrisca / asammdf

Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
GNU Lesser General Public License v3.0
633 stars 224 forks source link

Fix Group Activation from ContextMenu #901

Closed tov101 closed 1 year ago

tov101 commented 1 year ago

Package QtPy (dependency of pyqtlet) was freezed to 2.3.1. It seems that with newer one (2.4.0), pyinstaller cannot build binary:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.12/x64/bin/pyinstaller", line 8, in <module>
    sys.exit(run())
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/PyInstaller/__main__.py", line [124](https://github.com/danielhrisca/asammdf/actions/runs/6047454325/job/16410940716?pr=901#step:5:125), in run
    run_build(pyi_config, spec_file, **vars(args))
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/PyInstaller/__main__.py", line 58, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/PyInstaller/building/build_main.py", line 803, in main
    build(specfile, distpath, workpath, clean_build)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/PyInstaller/building/build_main.py", line 725, in build
    exec(code, spec_namespace)
  File "asammdf.spec", line 20, in <module>
    import pyqtlet2
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/pyqtlet2/__init__.py", line 8, in <module>
    from .mapwidget import MapWidget
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/pyqtlet2/mapwidget.py", line 5, in <module>
    from qtpy.QtWebEngineWidgets import QWebEngineView, QWebEnginePage
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/qtpy/QtWebEngineWidgets.py", line 64, in <module>
    from PySide6.QtWebEngineCore import (
ImportError: cannot import name 'QWebEngineScrip' from 'PySide6.QtWebEngineCore' (/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/PySide6/QtWebEngineCore.abi3.so)