CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

Release won't run on Ubuntu 22.04

Open atoav opened this issue 2 years ago • 2 comments

Steps to reproduce:

  1. Download the release 0.2
  2. Unzip
  3. chmod +x CQ-editor.sh
  4. Run with ./CQ-editor.sh

Step 4 fails and produces the following output:

[42288] mod is NULL - pyimod02_archiveTraceback (most recent call last):
  File "PyInstaller/loader/pyimod02_archive.py", line 32, in <module>
ModuleNotFoundError: No module named 'zlib'
[42288] mod is NULL - pyimod03_importersTraceback (most recent call last):
  File "PyInstaller/loader/pyimod03_importers.py", line 26, in <module>
ModuleNotFoundError: No module named 'pyimod02_archive'
Traceback (most recent call last):
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 17, in <module>
ModuleNotFoundError: No module named 'pyimod03_importers'
[42288] Failed to execute script pyiboot01_bootstrap

System Details

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy
$ python -V
Python 3.10.6
$ python3 -V
Python 3.10.6

As a Python dev myself I tend not to install any python package outside of virtual environments. That means my systems python should be pretty much vanilla.

atoav avatar Mar 31 '23 14:03 atoav

I stopped with supporting pyinstaller TBH. @jmwright has a pipeline somewhere that produces pyinstaller bundles with the latest version. Maybe try that but YMMV. #386 is the long term solution, but not ETA at this point of time.

adam-urbanczyk avatar Apr 04 '23 20:04 adam-urbanczyk

You could also try the nightly build: https://github.com/CadQuery/CQ-editor/releases/tag/nightly

adam-urbanczyk avatar Jun 03 '23 10:06 adam-urbanczyk