markwal / OctoPrint-GPX

An OctoPrint plug-in to use GPX as the protocol layer underneath rather than replacing g-code to talk to s3g/x3g machines, for example, a FlashForge.
GNU Affero General Public License v3.0
104 stars 25 forks source link

Issue installing plugin on v1.8.6 #96

Open eternalevelyn opened 1 year ago

eternalevelyn commented 1 year ago

Installing plugin "GPX" from https://markwal.github.io/octoprint-download/OctoPrint-GPX.tgz.../volume1/@appstore/octoprint/env/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmpjxps4s2w/OctoPrint-GPX.tgz --no-cache-dirProcessing /tmp/tmpjxps4s2w/OctoPrint-GPX.tgzPreparing metadata (setup.py): startedPreparing metadata (setup.py): finished with status 'done'Building wheels for collected packages: OctoPrint-GPXBuilding wheel for OctoPrint-GPX (setup.py): startedBuilding wheel for OctoPrint-GPX (setup.py): finished with status 'error'Running setup.py clean for OctoPrint-GPXFailed to build OctoPrint-GPXerror: subprocess-exited-with-error× python setup.py bdist_wheel did not run successfully.│ exit code: 1╰─> [144 lines of output]running bdist_wheelrunning buildgot version from file /tmp/pip-req-build-o4g19t2n/octoprint_GPX/_version.py {'version': '2.6.8', 'full': '8b8ad893d6d4c4ae3cc8d1df526e62aa9f175458'}running build_pycreating buildcreating build/lib.linux-x86_64-cpython-310creating build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/iniparser.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/gpxprinter.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/_version.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/init.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXrunning egg_infocreating OctoPrint_GPX.egg-infowriting OctoPrint_GPX.egg-info/PKG-INFOwriting dependency_links to OctoPrint_GPX.egg-info/dependency_links.txtwriting entry points to OctoPrint_GPX.egg-info/entry_points.txtwriting top-level names to OctoPrint_GPX.egg-info/top_level.txtwriting manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt'reading manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt'writing manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt'/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.static.css' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.static.css' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.static.css' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.static.css' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.static.js' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.static.js' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.static.js' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.static.js' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.static.less' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.static.less' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.static.less' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.static.less' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.templates' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.templates' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.templates' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.templates' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)creating build/lib.linux-x86_64-cpython-310/octoprint_GPX/staticcreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/csscopying octoprint_GPX/static/css/gpx.css -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/csscreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/jscopying octoprint_GPX/static/js/gpx.js -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/jscreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/lesscopying octoprint_GPX/static/less/Makefile -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/lesscopying octoprint_GPX/static/less/gpx.less -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/lesscreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/templatescopying octoprint_GPX/templates/GPX_settings.jinja2 -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/templatesrunning build_extbuilding 'gcodex3g' extensioncreating build/temp.linux-x86_64-cpython-310creating build/temp.linux-x86_64-cpython-310/GPXcreating build/temp.linux-x86_64-cpython-310/GPX/srccreating build/temp.linux-x86_64-cpython-310/GPX/src/gpxcreating build/temp.linux-x86_64-cpython-310/GPX/src/pymodulecreating build/temp.linux-x86_64-cpython-310/GPX/src/shared/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include -I/github/workspace/spk/python310/work-x64-7.0/install//var/packages/python310/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/lib -I /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/include -I/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include -I/github/workspace/spk/python310/work-x64-7.0/install//var/packages/python310/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/lib -I /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/include -fPIC -I/volume1/@appstore/octoprint/env/include -I/var/packages/python310/target/include/python3.10 -c GPX/src/gpx/gpx-main.c -o build/temp.linux-x86_64-cpython-310/GPX/src/gpx/gpx-main.o -DGPX_VERSION=\"\\"OctoPrint\\"\" -DSERIAL_SUPPORT -fvisibility=hidden -IGPX/build/src/shared -IGPX/src/shared -IGPX/src/gpxerror: command '/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc' failed: No such file or directory[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for OctoPrint-GPXInstalling collected packages: OctoPrint-GPXRunning setup.py install for OctoPrint-GPX: startedRunning setup.py install for OctoPrint-GPX: finished with status 'error'error: subprocess-exited-with-error× Running setup.py install for OctoPrint-GPX did not run successfully.│ exit code: 1╰─> [144 lines of output]running install/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.warnings.warn(running buildgot version from file /tmp/pip-req-build-o4g19t2n/octoprint_GPX/_version.py {'version': '2.6.8', 'full': '8b8ad893d6d4c4ae3cc8d1df526e62aa9f175458'}running build_pycreating buildcreating build/lib.linux-x86_64-cpython-310creating build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/iniparser.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/gpxprinter.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/_version.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXcopying octoprint_GPX/init.py -> build/lib.linux-x86_64-cpython-310/octoprint_GPXrunning egg_infowriting OctoPrint_GPX.egg-info/PKG-INFOwriting dependency_links to OctoPrint_GPX.egg-info/dependency_links.txtwriting entry points to OctoPrint_GPX.egg-info/entry_points.txtwriting top-level names to OctoPrint_GPX.egg-info/top_level.txtreading manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt'writing manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt'/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.static.css' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.static.css' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.static.css' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.static.css' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.static.js' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.static.js' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.static.js' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.static.js' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.static.less' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.static.less' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.static.less' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.static.less' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)/volume1/@appstore/octoprint/env/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'octoprint_GPX.templates' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'octoprint_GPX.templates' as an importable package,but it is not listed in the packages configuration of setuptools.'octoprint_GPX.templates' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'octoprint_GPX.templates' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)creating build/lib.linux-x86_64-cpython-310/octoprint_GPX/staticcreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/csscopying octoprint_GPX/static/css/gpx.css -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/csscreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/jscopying octoprint_GPX/static/js/gpx.js -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/jscreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/lesscopying octoprint_GPX/static/less/Makefile -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/lesscopying octoprint_GPX/static/less/gpx.less -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/static/lesscreating build/lib.linux-x86_64-cpython-310/octoprint_GPX/templatescopying octoprint_GPX/templates/GPX_settings.jinja2 -> build/lib.linux-x86_64-cpython-310/octoprint_GPX/templatesrunning build_extbuilding 'gcodex3g' extensioncreating build/temp.linux-x86_64-cpython-310creating build/temp.linux-x86_64-cpython-310/GPXcreating build/temp.linux-x86_64-cpython-310/GPX/srccreating build/temp.linux-x86_64-cpython-310/GPX/src/gpxcreating build/temp.linux-x86_64-cpython-310/GPX/src/pymodulecreating build/temp.linux-x86_64-cpython-310/GPX/src/shared/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include -I/github/workspace/spk/python310/work-x64-7.0/install//var/packages/python310/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/lib -I /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/include -I/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include -I/github/workspace/spk/python310/work-x64-7.0/install//var/packages/python310/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/lib -I /github/workspace/spk/python310/work-x64-7.0/install/var/packages/python310/target/include -fPIC -I/volume1/@appstore/octoprint/env/include -I/var/packages/python310/target/include/python3.10 -c GPX/src/gpx/gpx-main.c -o build/temp.linux-x86_64-cpython-310/GPX/src/gpx/gpx-main.o -DGPX_VERSION=\"\\"OctoPrint\\"\" -DSERIAL_SUPPORT -fvisibility=hidden -IGPX/build/src/shared -IGPX/src/shared -IGPX/src/gpxerror: command '/github/workspace/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc' failed: No such file or directory[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.error: legacy-install-failure× Encountered error while trying to install package.╰─> OctoPrint-GPXnote: This is an issue with the package mentioned above, not pip.hint: See above for output from the failure.Error!Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

I'm not entirely sure how to fix this, and I use a FlashForge Creator Pro.