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

Cannot Install GPX plugin in OctoPtint 1.7.2 #91

Open RayLSmith opened 2 years ago

RayLSmith commented 2 years ago

Hi,

I'm running Octoprint v1.7.2 on Android.

I can install other plugins but cannot install the GPX plugin which I need for my FFCP.

System and error details as below.

I hope you'll be able to help.

Thanks,

Ray

OctoPrint Version Details OctoPrint: 1.7.2 File Check Plugin: 2021.2.23 Firmware Check Plugin: 2021.10.11

Plugin Version Details AGPLv3 2015-04-23 492 89 2020-12-01 2.6.8 (2020-12-05)

Plugin Manager Console Log 2021-12-29 17:04:31,427 /usr/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmpas965iml/OctoPrint-GPX.tgz --no-cache-dir 2021-12-29 17:04:42,607 > Processing /tmp/tmpas965iml/OctoPrint-GPX.tgz 2021-12-29 17:04:49,765 > Using legacy 'setup.py install' for OctoPrint-GPX, since package 'wheel' is not installed. 2021-12-29 17:04:51,248 > Installing collected packages: OctoPrint-GPX 2021-12-29 17:04:51,250 > Running setup.py install for OctoPrint-GPX: started 2021-12-29 17:04:58,344 > Running setup.py install for OctoPrint-GPX: finished with status 'error' 2021-12-29 17:04:58,355 ! ERROR: Command errored out with exit status 1: 2021-12-29 17:04:58,356 ! command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-et574k5y/setup.py'"'"'; file='"'"'/tmp/pip-req-build-et574k5y/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-ivjsk4ro/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/OctoPrint-GPX 2021-12-29 17:04:58,358 ! cwd: /tmp/pip-req-build-et574k5y/ 2021-12-29 17:04:58,359 ! Complete output (40 lines): 2021-12-29 17:04:58,360 ! running install 2021-12-29 17:04:58,361 ! running build 2021-12-29 17:04:58,362 ! got version from file /tmp/pip-req-build-et574k5y/octoprint_GPX/_version.py {'version': '2.6.8', 'full': '8b8ad893d6d4c4ae3cc8d1df526e62aa9f175458'} 2021-12-29 17:04:58,363 ! running build_py 2021-12-29 17:04:58,363 ! creating build 2021-12-29 17:04:58,364 ! creating build/lib.linux-armv7l-3.9 2021-12-29 17:04:58,365 ! creating build/lib.linux-armv7l-3.9/octoprint_GPX 2021-12-29 17:04:58,366 ! copying octoprint_GPX/init.py -> build/lib.linux-armv7l-3.9/octoprint_GPX 2021-12-29 17:04:58,367 ! copying octoprint_GPX/_version.py -> build/lib.linux-armv7l-3.9/octoprint_GPX 2021-12-29 17:04:58,367 ! copying octoprint_GPX/gpxprinter.py -> build/lib.linux-armv7l-3.9/octoprint_GPX 2021-12-29 17:04:58,368 ! copying octoprint_GPX/iniparser.py -> build/lib.linux-armv7l-3.9/octoprint_GPX 2021-12-29 17:04:58,369 ! running egg_info 2021-12-29 17:04:58,372 ! creating OctoPrint_GPX.egg-info 2021-12-29 17:04:58,373 ! writing OctoPrint_GPX.egg-info/PKG-INFO 2021-12-29 17:04:58,376 ! writing dependency_links to OctoPrint_GPX.egg-info/dependency_links.txt 2021-12-29 17:04:58,377 ! writing entry points to OctoPrint_GPX.egg-info/entry_points.txt 2021-12-29 17:04:58,378 ! writing top-level names to OctoPrint_GPX.egg-info/top_level.txt 2021-12-29 17:04:58,378 ! writing manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt' 2021-12-29 17:04:58,379 ! reading manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt' 2021-12-29 17:04:58,380 ! writing manifest file 'OctoPrint_GPX.egg-info/SOURCES.txt' 2021-12-29 17:04:58,380 ! creating build/lib.linux-armv7l-3.9/octoprint_GPX/static 2021-12-29 17:04:58,381 ! creating build/lib.linux-armv7l-3.9/octoprint_GPX/static/css 2021-12-29 17:04:58,381 ! copying octoprint_GPX/static/css/gpx.css -> build/lib.linux-armv7l-3.9/octoprint_GPX/static/css 2021-12-29 17:04:58,382 ! creating build/lib.linux-armv7l-3.9/octoprint_GPX/static/js 2021-12-29 17:04:58,383 ! copying octoprint_GPX/static/js/gpx.js -> build/lib.linux-armv7l-3.9/octoprint_GPX/static/js 2021-12-29 17:04:58,384 ! creating build/lib.linux-armv7l-3.9/octoprint_GPX/static/less 2021-12-29 17:04:58,385 ! copying octoprint_GPX/static/less/Makefile -> build/lib.linux-armv7l-3.9/octoprint_GPX/static/less 2021-12-29 17:04:58,385 ! copying octoprint_GPX/static/less/gpx.less -> build/lib.linux-armv7l-3.9/octoprint_GPX/static/less 2021-12-29 17:04:58,386 ! creating build/lib.linux-armv7l-3.9/octoprint_GPX/templates 2021-12-29 17:04:58,387 ! copying octoprint_GPX/templates/GPX_settings.jinja2 -> build/lib.linux-armv7l-3.9/octoprint_GPX/templates 2021-12-29 17:04:58,387 ! running build_ext 2021-12-29 17:04:58,388 ! building 'gcodex3g' extension 2021-12-29 17:04:58,388 ! creating build/temp.linux-armv7l-3.9 2021-12-29 17:04:58,389 ! creating build/temp.linux-armv7l-3.9/GPX 2021-12-29 17:04:58,390 ! creating build/temp.linux-armv7l-3.9/GPX/src 2021-12-29 17:04:58,390 ! creating build/temp.linux-armv7l-3.9/GPX/src/gpx 2021-12-29 17:04:58,391 ! creating build/temp.linux-armv7l-3.9/GPX/src/pymodule 2021-12-29 17:04:58,391 ! creating build/temp.linux-armv7l-3.9/GPX/src/shared 2021-12-29 17:04:58,392 ! gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/python3.9 -c GPX/src/gpx/gpx-main.c -o build/temp.linux-armv7l-3.9/GPX/src/gpx/gpx-main.o -DGPX_VERSION="\"OctoPrint\"" -DSERIAL_SUPPORT -fvisibility=hidden -IGPX/build/src/shared -IGPX/src/shared -IGPX/src/gpx 2021-12-29 17:04:58,392 ! error: command 'gcc' failed: No such file or directory 2021-12-29 17:04:58,393 ! ---------------------------------------- 2021-12-29 17:04:58,393 ! ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-et574k5y/setup.py'"'"'; file='"'"'/tmp/pip-req-build-et574k5y/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-ivjsk4ro/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/OctoPrint-GPX Check the logs for full command output.