-
Who's Online 2 Members, 1 Anonymous, 755 Guests (See full list)
-
Topics
-
Posts
-
Just looked it up, and it looks like if you add -y to the pyinstaller command, it will automatically replace the files in the output folder
-
By Grautvornix · Posted
@lilypoppy We will be getting there! Did you run it with the old spec files (delivered with the 0.25.0 package) or with the new ones? Anyway here is a complete update. Please replace the existing scripts in your atlas-tools root folder (where Mercator.py resides) with the attached ones (build.sh script plus the two spec files). Your logs showed also another issue: there are warnings that libxcb-cursor.so.0 is missing. Qt 6 does not open a window on an X11 desktop without it, so the built programs would not have started. So I'd suggest before runing the script you can try this: sudo apt install libxcb-cursor0 Hope it works now! Best regards, Grautvornix Post-Atlas.spec build.sh Mercator.spec -
@Asher I deleted build folder and install sudo apt install python3-venv binutils libpython3.12 atlas-tools build script build script version 1.4.0 =============================================== Collecting libs... Requirement already satisfied: pip in ./.build-venv/lib/python3.12/site-packages (26.3) Requirement already satisfied: pyinstaller in ./.build-venv/lib/python3.12/site-packages (6.22.3) Requirement already satisfied: pyqt6 in ./.build-venv/lib/python3.12/site-packages (6.12.1) Requirement already satisfied: scipy in ./.build-venv/lib/python3.12/site-packages (1.18.1) Requirement already satisfied: Pillow in ./.build-venv/lib/python3.12/site-packages (13.0.0) Requirement already satisfied: pyqtgraph in ./.build-venv/lib/python3.12/site-packages (0.14.0) Requirement already satisfied: PyOpenGL in ./.build-venv/lib/python3.12/site-packages (3.1.10) Requirement already satisfied: altgraph in ./.build-venv/lib/python3.12/site-packages (from pyinstaller) (0.17.5) Requirement already satisfied: packaging>=22.0 in ./.build-venv/lib/python3.12/site-packages (from pyinstaller) (26.3) Requirement already satisfied: pyinstaller-hooks-contrib>=2026.7 in ./.build-venv/lib/python3.12/site-packages (from pyinstaller) (2026.10) Requirement already satisfied: setuptools>=42.0.0 in ./.build-venv/lib/python3.12/site-packages (from pyinstaller) (84.2.1) Requirement already satisfied: PyQt6-sip<14,>=13.13 in ./.build-venv/lib/python3.12/site-packages (from pyqt6) (13.13.1) Requirement already satisfied: PyQt6-Qt6<6.13.0,>=6.12.0 in ./.build-venv/lib/python3.12/site-packages (from pyqt6) (6.12.0) Requirement already satisfied: numpy<2.8,>=2.0.0 in ./.build-venv/lib/python3.12/site-packages (from scipy) (2.5.5) Requirement already satisfied: colorama in ./.build-venv/lib/python3.12/site-packages (from pyqtgraph) (0.4.6) =============================================== Building Mercator... 69 INFO: PyInstaller: 6.22.3, contrib hooks: 2026.10 69 INFO: Python: 3.12.3 71 INFO: Platform: Linux-7.0.0-43-generic-x86_64-with-glibc2.39 71 INFO: Python environment: /home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv 75 INFO: Module search paths (PYTHONPATH): ['/home/felix/Téléchargements/atlas-tools-0.25.0', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages', '/home/felix/Téléchargements/atlas-tools-0.25.0'] 422 INFO: Appending 'datas' from .spec 424 INFO: checking Analysis 424 INFO: Building Analysis because Analysis-00.toc is non existent 424 INFO: Looking for Python shared library... 440 WARNING: Unrecognised line of output 'Cache généré par : ldconfig (Ubuntu GLIBC 2.39-0ubuntu8.12) stable release version 2.39' from ldconfig 441 INFO: Using Python shared library: /lib/x86_64-linux-gnu/libpython3.12.so.1.0 441 INFO: Running Analysis Analysis-00.toc 441 INFO: Target bytecode optimization level: 0 441 INFO: Initializing module dependency graph... 441 INFO: Initializing module graph hook caches... 455 INFO: Analyzing modules for base_library.zip ... 1360 INFO: Processing standard module hook 'hook-heapq.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 1478 INFO: Processing standard module hook 'hook-encodings.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 3110 INFO: Processing standard module hook 'hook-math.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 3396 INFO: Processing standard module hook 'hook-pickle.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 5373 INFO: Caching module dependency graph... 5428 INFO: Analyzing /home/felix/Téléchargements/atlas-tools-0.25.0/Mercator.py 6442 INFO: Processing standard module hook 'hook-PyQt6.QtWidgets.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 6585 INFO: Processing standard module hook 'hook-PyQt6.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 7236 INFO: Processing standard module hook 'hook-PyQt6.QtCore.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 8074 INFO: Processing standard module hook 'hook-PyQt6.QtGui.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 8853 INFO: Processing standard module hook 'hook-_ctypes.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 9071 INFO: Processing standard module hook 'hook-xml.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 9098 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 9408 INFO: Processing standard module hook 'hook-PyQt6.QtNetwork.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 9654 INFO: Processing standard module hook 'hook-PIL.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 9787 INFO: Processing standard module hook 'hook-PIL.Image.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 10049 INFO: Processing standard module hook 'hook-numpy.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 10416 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module' 10417 INFO: SetuptoolsInfo: initializing cached setuptools info... 11198 INFO: Processing standard module hook 'hook-platform.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 11396 INFO: Processing standard module hook 'hook-sysconfig.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 11614 INFO: Processing standard module hook 'hook-webbrowser.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 12926 INFO: Processing standard module hook 'hook-difflib.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 13173 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 15190 INFO: Processing standard module hook 'hook-PIL.ImageFilter.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 16680 INFO: Processing standard module hook 'hook-pyqtgraph.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks' 290 INFO: No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate' 430 WARNING: Failed to collect submodules for 'pyqtgraph.jupyter' because importing 'pyqtgraph.jupyter' raised: ModuleNotFoundError: No module named 'jupyter_rfb' 17597 INFO: hook-pyqtgraph: selected 'PyQt6' as Qt bindings because hook for 'PyQt6' has been run before. 17673 INFO: Processing standard module hook 'hook-PyQt6.uic.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 17923 INFO: Processing standard module hook 'hook-PyQt6.QtSvg.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 17999 INFO: Processing standard module hook 'hook-PyQt6.QtOpenGLWidgets.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 18086 INFO: Processing standard module hook 'hook-PyQt6.QtTest.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 18546 INFO: Processing standard module hook 'hook-scipy.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 19595 INFO: Processing standard module hook 'hook-scipy.special._ufuncs.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 19758 INFO: Processing standard module hook 'hook-scipy.linalg.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 21052 INFO: Processing standard module hook 'hook-scipy.special._ellip_harm_2.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 21838 INFO: Processing standard module hook 'hook-xml.dom.domreg.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 23435 INFO: Processing standard module hook 'hook-OpenGL.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks' 45 INFO: No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate' 27020 INFO: Processing standard module hook 'hook-scipy.spatial._ckdtree.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 27848 INFO: Processing standard module hook 'hook-scipy.spatial.transform.rotation.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 28510 INFO: Processing module hooks (post-graph stage)... 28921 WARNING: Hidden import "scipy.special._cdflib" not found! 29293 INFO: Processing standard module hook 'hook-PyQt6.QtOpenGL.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 29440 INFO: Processing standard module hook 'hook-PyQt6.QtDBus.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 29981 INFO: Processing standard module hook 'hook-PIL.SpiderImagePlugin.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 30976 INFO: Performing binary vs. data reclassification (323 entries) 31196 INFO: Looking for ctypes DLLs 31621 INFO: Analyzing run-time hooks ... 31629 INFO: Including run-time hook 'pyi_rth_inspect.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks' 31633 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks' 31635 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks' 31638 INFO: Including run-time hook 'pyi_rth_pyqtgraph_multiprocess.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/rthooks' 31640 INFO: Including run-time hook 'pyi_rth_pyqt6.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks' 31643 INFO: Processing pre-find-module-path hook 'hook-_pyi_rth_utils.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks/pre_find_module_path' 31645 INFO: Processing standard module hook 'hook-_pyi_rth_utils.py' from '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/hooks' 31690 INFO: Creating base_library.zip... 31720 INFO: Looking for dynamic libraries 35066 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so'. 35066 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so'. 35066 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so'. 35066 WARNING: Library not found: could not resolve 'libxcb-cursor.so.0', dependency of '/home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/libQt6XcbQpa.so.6'. 35131 INFO: Warnings written to /home/felix/Téléchargements/atlas-tools-0.25.0/build/Mercator/warn-Mercator.txt 35248 INFO: Graph cross-reference written to /home/felix/Téléchargements/atlas-tools-0.25.0/build/Mercator/xref-Mercator.html 35305 INFO: checking PYZ 35305 INFO: Building PYZ because PYZ-00.toc is non existent 35305 INFO: Building PYZ (ZlibArchive) /home/felix/Téléchargements/atlas-tools-0.25.0/build/PYZ-00.pyz 36549 INFO: Building PYZ (ZlibArchive) /home/felix/Téléchargements/atlas-tools-0.25.0/build/PYZ-00.pyz completed successfully. 36578 WARNING: Ignoring icon; supported only on Windows and macOS! 36589 INFO: checking PKG 36589 INFO: Building PKG because PKG-00.toc is non existent 36589 INFO: Building PKG (CArchive) Mercator.pkg 36609 INFO: Building PKG (CArchive) Mercator.pkg completed successfully. 36610 INFO: Bootloader /home/felix/Téléchargements/atlas-tools-0.25.0/.build-venv/lib/python3.12/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run 36610 INFO: checking EXE 36610 INFO: Building EXE because EXE-00.toc is non existent 36610 INFO: Building EXE from EXE-00.toc ERROR: The output directory "/home/felix/Téléchargements/atlas-tools-0.25.0/build/Mercator" is not empty. Please remove all its contents or use the -y option (remove output directory without confirmation).
-
Maybe try deleting the build folder itself?
-
I've added a bunch of products, including normal and spec map. Walnuts and almonds are from here: https://opengameart.org/content/free-materials-pack-37-redux (licence CC-BY) Everything else is CC0, the olives are done entirely by me. Also, here are some dancing pears :D Extremely useful for this purpose, blender lets you make objects fall in place using rigid body baking: Textures: Sure, just need a nice 3d object to bake from.
-
