artisan-roaster-scope / artisan

artisan: visual scope for coffee roasters
https://artisan-scope.org
GNU General Public License v3.0
927 stars 253 forks source link

Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding #1576

Closed Himes0-0 closed 4 months ago

Himes0-0 commented 4 months ago

Problem Description

Hi there, I am trying to install Artisan on my Arch Linux laptop. I'm just going to run through the steps I did to hopefully help reproduce the problem. I'm not sure if its an environment problem, a PYTHONPATH/HOME thing, missing dependencies, etc. I did see that a bunch of stuff got ignored when running the .sh file? (after ***** lrelease **). I just don't know what I'm looking for.

Let me know what you guys think. Much Appreciated!

Steps To Reproduce

  1. I Started off by Git Cloning the repository:

git clone https://github.com/artisan-roaster-scope/artisan.git Cloning into 'artisan'... remote: Enumerating objects: 57418, done. remote: Counting objects: 100% (1720/1720), done. remote: Compressing objects: 100% (549/549), done. remote: Total 57418 (delta 1256), reused 1626 (delta 1163), pack-reused 55698 Receiving objects: 100% (57418/57418), 689.06 MiB | 4.94 MiB/s, done. Resolving deltas: 100% (45746/45746), done. Updating files: 100% (712/712), done.

  1. Then I cd into /artisan/src/ and I ran build-linux.sh with:

sh build-linux.sh

and that returned:

``` ************* build derived files ************** build-derived.sh ************* help files ************** eventbuttons.xlsx Buttons 10 rows 2 columns Options 12 rows 2 columns Labels 30 rows 2 columns Commands 153 rows 3 columns transposer.xlsx Transposer 2 rows 1 columns Ex1 Adjust Total Roast Time 2 rows 1 columns Ex2 Map Between Two Roasting Ma 2 rows 1 columns autosave.xlsx Autosave 9 rows 2 columns Autosave Fields 103 rows 3 columns Examples 9 rows 2 columns eventsliders.xlsx Sliders 12 rows 2 columns Commands 133 rows 3 columns alarms.xlsx Alarms 14 rows 2 columns Options 15 rows 2 columns Actions 24 rows 3 columns keyboardshortcuts.xlsx Keyboard Shortcuts 37 rows 2 columns Addl Shortcuts 40 rows 4 columns Menu Shortcuts 21 rows 3 columns energy.xlsx Intro 10 rows 2 columns Details 4 rows 2 columns Loads 20 rows 2 columns Protocol 18 rows 2 columns symbolic.xlsx Symbolic Variables 34 rows 3 columns Shifted Symbolic Variables 11 rows 2 columns Indexed Symbolic 3 rows 2 columns Axis Mapping 5 rows 2 columns Event Index 6 rows 2 columns AUC 5 rows 2 columns Predictions 9 rows 2 columns Ambient 6 rows 2 columns Roast Properties 5 rows 2 columns Expressions 3 rows 2 columns Math Formulas 17 rows 2 columns Constants 4 rows 2 columns Plotter Extensions 5 rows 2 columns modbus.xlsx Modbus 11 rows 1 columns s7.xlsx Modbus 10 rows 1 columns eventannotations.xlsx Annotations 26 rows 3 columns Examples 10 rows 2 columns Notes 11 rows 1 columns programs.xlsx Programs 34 rows 1 columns ** Success ************* ui/uic ************** ** Success ************* pylupdate ************** ** pylupdate6pro.py is executing *** pylupdate6pro.py completed successfully ** Success ************* lrelease ************** *** compiling translations *** using env QT_SRC_PATH: /bin/lrelease Updating 'translations/artisan_ar.qm'... Generated 3333 translation(s) (3331 finished and 2 unfinished) Ignored 11 untranslated source text(s) Updating 'translations/artisan_da.qm'... Generated 2910 translation(s) (2759 finished and 151 unfinished) Ignored 434 untranslated source text(s) Updating 'translations/artisan_de.qm'... Generated 3344 translation(s) (3344 finished and 0 unfinished) Updating 'translations/artisan_el.qm'... Generated 3317 translation(s) (3313 finished and 4 unfinished) Ignored 27 untranslated source text(s) Updating 'translations/artisan_es.qm'... Generated 3320 translation(s) (3316 finished and 4 unfinished) Ignored 24 untranslated source text(s) Updating 'translations/artisan_fa.qm'... Generated 3148 translation(s) (2628 finished and 520 unfinished) Ignored 196 untranslated source text(s) Updating 'translations/artisan_fi.qm'... Generated 3059 translation(s) (2906 finished and 153 unfinished) Ignored 285 untranslated source text(s) Updating 'translations/artisan_fr.qm'... Generated 3343 translation(s) (3343 finished and 0 unfinished) Ignored 1 untranslated source text(s) Updating 'translations/artisan_gd.qm'... Generated 2921 translation(s) (2766 finished and 155 unfinished) Ignored 423 untranslated source text(s) Updating 'translations/artisan_he.qm'... Generated 3080 translation(s) (2585 finished and 495 unfinished) Ignored 264 untranslated source text(s) Updating 'translations/artisan_hu.qm'... Generated 3062 translation(s) (2715 finished and 347 unfinished) Ignored 282 untranslated source text(s) Updating 'translations/artisan_id.qm'... Generated 3109 translation(s) (2531 finished and 578 unfinished) Ignored 235 untranslated source text(s) Updating 'translations/artisan_it.qm'... Generated 3344 translation(s) (3344 finished and 0 unfinished) Updating 'translations/artisan_ja.qm'... Generated 3328 translation(s) (3326 finished and 2 unfinished) Ignored 16 untranslated source text(s) Updating 'translations/artisan_ko.qm'... Generated 3207 translation(s) (2498 finished and 709 unfinished) Ignored 137 untranslated source text(s) Updating 'translations/artisan_lv.qm'... Generated 2980 translation(s) (2806 finished and 174 unfinished) Ignored 364 untranslated source text(s) Updating 'translations/artisan_nl.qm'... Generated 2996 translation(s) (2600 finished and 396 unfinished) Ignored 348 untranslated source text(s) Updating 'translations/artisan_no.qm'... Generated 3084 translation(s) (2344 finished and 740 unfinished) Ignored 260 untranslated source text(s) Updating 'translations/artisan_pl.qm'... Generated 3308 translation(s) (3303 finished and 5 unfinished) Ignored 36 untranslated source text(s) Updating 'translations/artisan_pt_BR.qm'... Generated 3328 translation(s) (3326 finished and 2 unfinished) Ignored 16 untranslated source text(s) Updating 'translations/artisan_pt.qm'... Generated 3159 translation(s) (2381 finished and 778 unfinished) Ignored 185 untranslated source text(s) Updating 'translations/artisan_ru.qm'... Generated 3105 translation(s) (2363 finished and 742 unfinished) Ignored 239 untranslated source text(s) Updating 'translations/artisan_sk.qm'... Generated 2927 translation(s) (2765 finished and 162 unfinished) Ignored 417 untranslated source text(s) Updating 'translations/artisan_sv.qm'... Generated 2941 translation(s) (2716 finished and 225 unfinished) Ignored 403 untranslated source text(s) Updating 'translations/artisan_th.qm'... Generated 3232 translation(s) (2688 finished and 544 unfinished) Ignored 112 untranslated source text(s) Updating 'translations/artisan_tr.qm'... Generated 3318 translation(s) (3312 finished and 6 unfinished) Ignored 26 untranslated source text(s) Updating 'translations/artisan_uk.qm'... Generated 3309 translation(s) (3304 finished and 5 unfinished) Ignored 35 untranslated source text(s) Updating 'translations/artisan_vi.qm'... Generated 3250 translation(s) (3185 finished and 65 unfinished) Ignored 94 untranslated source text(s) Updating 'translations/artisan_zh_CN.qm'... Generated 3328 translation(s) (3324 finished and 4 unfinished) Ignored 16 untranslated source text(s) Updating 'translations/artisan_zh_TW.qm'... Generated 3328 translation(s) (3326 finished and 2 unfinished) Ignored 16 untranslated source text(s) Updating 'translations/qtbase_el.qm'... Generated 1245 translation(s) (1201 finished and 44 unfinished) Ignored 254 untranslated source text(s) Updating 'translations/qtbase_pt.qm'... Generated 505 translation(s) (0 finished and 505 unfinished) Ignored 1267 untranslated source text(s) Updating 'translations/qtbase_sv.qm'... Generated 498 translation(s) (0 finished and 498 unfinished) Ignored 1274 untranslated source text(s) ** Success ************* zip generated files ************** ** Argument supplied: linux ./build-derived.sh: line 87: zip: command not found ** Finished build-derived.sh 366 INFO: PyInstaller: 6.7.0, contrib hooks: 2024.7 367 INFO: Python: 3.12.3 369 INFO: Platform: Linux-6.9.3-arch1-1-x86_64-with-glibc2.39 374 INFO: Extending PYTHONPATH with paths ['/home/usr/artisan/src', '/home/usr/artisan/src'] 1094 INFO: Appending 'binaries' from .spec 1153 INFO: checking Analysis 1153 INFO: Building Analysis because Analysis-00.toc is non existent 1154 INFO: Running Analysis Analysis-00.toc 1154 INFO: Target bytecode optimization level: 0 1154 INFO: Initializing module dependency graph... 1158 INFO: Caching module graph hooks... 1182 INFO: Analyzing base_library.zip ... 3383 INFO: Loading module hook 'hook-encodings.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 7181 INFO: Loading module hook 'hook-pickle.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 9312 INFO: Loading module hook 'hook-heapq.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 10326 INFO: Caching module dependency graph... 10521 INFO: Looking for Python shared library... 10600 INFO: Using Python shared library: /usr/lib/libpython3.12.so.1.0 10601 INFO: Analyzing /home/usr/artisan/src/artisan.py 10715 INFO: Loading module hook 'hook-platform.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 10734 INFO: Loading module hook 'hook-PyQt6.QtWidgets.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 11157 INFO: Loading module hook 'hook-PyQt6.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 11160 INFO: Loading module hook 'hook-PyQt6.QtCore.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 11913 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 15559 INFO: Loading module hook 'hook-numpy.py' from '/usr/lib/python3.12/site-packages/numpy/_pyinstaller'... 17572 INFO: Loading module hook 'hook-difflib.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 18002 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 18202 INFO: Loading module hook 'hook-xml.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 20133 INFO: Loading module hook 'hook-psutil.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 25077 INFO: Processing pre-safe import module hook six.moves from '/usr/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'. 25762 INFO: Loading module hook 'hook-PyQt6.QtGui.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 27733 INFO: Loading module hook 'hook-PyQt6.QtPrintSupport.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 27905 INFO: Loading module hook 'hook-PyQt6.QtNetwork.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 28465 INFO: Loading module hook 'hook-matplotlib.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 30013 INFO: Loading module hook 'hook-packaging.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 30224 INFO: Processing pre-safe import module hook gi from '/usr/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.py'. 30359 INFO: Loading module hook 'hook-gi.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 30485 INFO: Processing pre-safe import module hook gi.repository.GLib from '/usr/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-gi.repository.GLib.py'. 30486 INFO: Loading module hook 'hook-gi.repository.GLib.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 30690 INFO: Loading module hook 'hook-PIL.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 30927 INFO: Loading module hook 'hook-PIL.Image.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 31831 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 32154 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 33069 INFO: Loading module hook 'hook-pycparser.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 34676 INFO: Loading module hook 'hook-setuptools.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 36307 INFO: Processing pre-safe import module hook distutils from '/usr/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-distutils.py'. 37280 INFO: Loading module hook 'hook-distutils.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 37288 INFO: Loading module hook 'hook-distutils.util.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 37410 INFO: Loading module hook 'hook-jaraco.text.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 39233 INFO: Loading module hook 'hook-pkg_resources.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 40540 INFO: Loading module hook 'hook-platformdirs.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 42074 INFO: Loading module hook 'hook-PIL.ImageFilter.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 43541 INFO: Loading module hook 'hook-jinja2.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 50522 INFO: Loading module hook 'hook-matplotlib.backends.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 51014 INFO: Loading module hook 'hook-certifi.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 51046 INFO: Loading module hook 'hook-matplotlib.backends.backend_qtagg.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 51072 INFO: Loading module hook 'hook-matplotlib.backends.qt_compat.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 51073 INFO: hook-matplotlib.backends.qt_compat: selected 'PyQt6' as Qt bindings because hook for 'PyQt6' has been run before. 51078 INFO: Loading module hook 'hook-shiboken6.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 51560 INFO: Loading module hook 'hook-shelve.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 51710 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from '/usr/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py'. 53402 INFO: Loading module hook 'hook-charset_normalizer.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 55653 INFO: Loading module hook 'hook-cryptography.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 59607 INFO: Loading module hook 'hook-PyQt6.QtBluetooth.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 60074 INFO: Loading module hook 'hook-prettytable.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 60371 INFO: Loading module hook 'hook-wcwidth.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 61424 INFO: Loading module hook 'hook-openpyxl.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 61560 INFO: Loading module hook 'hook-lxml.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 62130 INFO: Loading module hook 'hook-lxml.etree.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 72225 INFO: Loading module hook 'hook-pydantic.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 76678 INFO: Analyzing hidden import 'matplotlib.backends.backend_pdf' 82910 INFO: Analyzing hidden import 'matplotlib.backends.backend_svg' 83021 INFO: Processing module hooks... 84175 INFO: Loading module hook 'hook-lxml.isoschematron.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 84192 WARNING: Hidden import "charset_normalizer.md__mypyc" not found! 84194 INFO: Loading module hook 'hook-lxml.objectify.py' from '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... 84762 INFO: Loading module hook 'hook-PIL.SpiderImagePlugin.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 84922 INFO: Loading module hook 'hook-setuptools.msvc.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 85763 INFO: Loading module hook 'hook-setuptools._distutils.command.check.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 86121 INFO: Loading module hook 'hook-gi.repository.GLib.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 91549 INFO: Loading module hook 'hook-PyQt6.QtDBus.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 91925 WARNING: Hidden import "pkg_resources._vendor.jaraco.functools" not found! 91925 WARNING: Hidden import "pkg_resources._vendor.jaraco.context" not found! 91925 WARNING: Hidden import "pkg_resources._vendor.jaraco.text" not found! 91926 INFO: Loading module hook 'hook-matplotlib.backends.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 91926 INFO: Matplotlib backend selection method: automatic discovery of used backends 93288 INFO: Trying determine the default backend as first importable candidate from the list: ['QtAgg', 'Qt5Agg', 'Gtk4Agg', 'Gtk3Agg', 'TkAgg', 'WxAgg'] 94523 INFO: Selected matplotlib backends: ['QtAgg'] 94543 INFO: Loading module hook 'hook-distutils.command.check.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 94781 INFO: Performing binary vs. data reclassification (555 entries) 96133 INFO: Looking for ctypes DLLs 96315 WARNING: Library user32 required via ctypes not found 96536 WARNING: Library Cfgmgr32 required via ctypes not found 96568 WARNING: Library Advapi32 required via ctypes not found 96607 WARNING: Library setupapi required via ctypes not found 96615 WARNING: Ignoring /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation imported from /usr/lib/python3.12/site-packages/serial/tools/list_ports_osx.py - only basenames are supported with ctypes imports! 96616 WARNING: Ignoring /System/Library/Frameworks/IOKit.framework/IOKit imported from /usr/lib/python3.12/site-packages/serial/tools/list_ports_osx.py - only basenames are supported with ctypes imports! 96999 INFO: Analyzing run-time hooks ... 97028 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py' 97095 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py' 97122 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py' 97146 INFO: Processing pre-find module path hook _pyi_rth_utils from '/usr/lib/python3.12/site-packages/PyInstaller/hooks/pre_find_module_path/hook-_pyi_rth_utils.py'. 97157 INFO: Loading module hook 'hook-_pyi_rth_utils.py' from '/usr/lib/python3.12/site-packages/PyInstaller/hooks'... 97160 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py' 97195 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt6.py' 97215 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_glib.py' 97218 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_gi.py' 97220 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_mplconfig.py' 97235 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_setuptools.py' 97238 INFO: Including run-time hook '/usr/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/hooks/rthooks/pyi_rth_cryptography_openssl.py' 97316 INFO: Compiling collected GLib schema files in '/home/usr/artisan/src/build/artisan-linux/_pyi_gschema_compilation'... 97407 INFO: Looking for dynamic libraries 105243 WARNING: Library not found: could not resolve 'libusb-1.0.so.0', dependency of '/home/usr/.local/lib/python3.12/site-packages/yoctopuce/cdll/libyapi-i386.so'. 105243 WARNING: Library not found: could not resolve 'libQt6Bluetooth.so.6', dependency of '/usr/lib/python3.12/site-packages/PyQt6/QtBluetooth.abi3.so'. 105408 INFO: Warnings written to /home/usr/artisan/src/build/artisan-linux/warn-artisan-linux.txt 105618 INFO: Graph cross-reference written to /home/usr/artisan/src/build/artisan-linux/xref-artisan-linux.html 105753 INFO: checking PYZ 105753 INFO: Building PYZ because PYZ-00.toc is non existent 105753 INFO: Building PYZ (ZlibArchive) /home/usr/artisan/src/build/artisan-linux/PYZ-00.pyz 109576 INFO: Building PYZ (ZlibArchive) /home/usr/artisan/src/build/artisan-linux/PYZ-00.pyz completed successfully. 109647 INFO: checking PKG 109648 INFO: Building PKG because PKG-00.toc is non existent 109648 INFO: Building PKG (CArchive) artisan.pkg 109695 INFO: Building PKG (CArchive) artisan.pkg completed successfully. 109696 INFO: Bootloader /usr/lib/python3.12/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run 109696 INFO: checking EXE 109696 INFO: Building EXE because EXE-00.toc is non existent 109696 INFO: Building EXE from EXE-00.toc 109697 INFO: Copying bootloader EXE to /home/usr/artisan/src/build/artisan-linux/artisan 109700 INFO: Appending PKG archive to custom ELF section in EXE 109785 INFO: Building EXE from EXE-00.toc completed successfully. 109807 INFO: checking COLLECT 109807 INFO: Building COLLECT because COLLECT-00.toc is non existent 109808 INFO: Building COLLECT COLLECT-00.toc 111600 INFO: Building COLLECT COLLECT-00.toc completed successfully. ```
  1. Next I ran the Artisan file under artisan/src/build/artisan-linux/ through Konsole:

[42908] Error loading Python lib '/home/usr/artisan/src/build/artisan-linux/_internal/libpython3.12.so.1.0': dlopen: /home/usr/artisan/src/build/artisan-linux/_internal/libpython3.12.so.1.0: cannot open shared object file: No such file or directory

  1. So then I created a folder called "_internal" and copied the ibpython3.12.so.1.0 file from /lib/

  2. I ran the artisan file again and this is what returned

`Python path configuration: PYTHONHOME = '/home/usr/artisan/src/build/artisan-linux/_internal' PYTHONPATH = (not set) program name = '/home/usr/artisan/src/build/artisan-linux/artisan' isolated = 1 environment = 0 user site = 0 safe_path = 1 import site = 0 is in build tree = 0 stdlib dir = '' sys._base_executable = '/home/usr/artisan/src/build/artisan-linux/artisan' sys.base_prefix = '/home/usr/artisan/src/build/artisan-linux/_internal' sys.base_exec_prefix = '/home/usr/artisan/src/build/artisan-linux/_internal' sys.platlibdir = 'lib' sys.executable = '/home/adausrmk/artisan/src/build/artisan-linux/artisan' sys.prefix = '/home/usr/artisan/src/build/artisan-linux/_internal' sys.exec_prefix = '/home/usr/artisan/src/build/artisan-linux/_internal' sys.path = [ '/home/usr/artisan/src/build/artisan-linux/_internal/base_library.zip', '/home/usr/artisan/src/build/artisan-linux/_internal/lib-dynload', '/home/usr/artisan/src/build/artisan-linux/_internal', ] [43331] Failed to start embedded python interpreter! Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings'

Current thread 0x000079e0274af740 (most recent call first):

` ### Artisan Version Other - include in Description ### Computer OS and Version EndevourOS Kernal Version: 6.9.3-arch1-1 (64-bit) ### Connected devices or roasting machine N/A ### Files - [ ] A sample profile *.alog file, renamed to *.alog.txt is attached. - [ ] A settings file (Help>> Save Settings) *.aset, renamed to *.aset.txt is attached. - [ ] Screenshots are attached. - [X] No files are attached.
MAKOMO commented 4 months ago

Please see How to build Artisan install packages from source on GitHub and How to run Artisan from source