What is the problem?
Octoprint failed to update to version 1.7.2. I initially went to raise a topic and found a help guide on how to fix the nullhandler error as shown here: My OctoPrint update fails with "ImportError: cannot import name NullHandler"
Unfortunately i have now come across another error with it updating. Here is the output from the update Window.
Updating, please wait.
+++++++++++++++++++++++++++++++
Now updating OctoPrint to 1.7.2
+++++++++++++++++++++++++++++++
/home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip
Downloading https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip (6.6MB)
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2021.2.23)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2021.10.11)
Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2021.10.28)
Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.1)
Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (3.1.1)
Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2019.8.19)
Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.12.1)
Requirement already satisfied: flask<2,>=1.1.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.4)
Requirement already satisfied: Jinja2<3,>=2.11.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2.11.3)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.5.0)
Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.0.0)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2.0)
Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.0.1)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.0)
Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.1)
Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (5.4.1)
Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (3.4)
Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.8.0)
Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.10.4)
Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.1.6)
Collecting netifaces<1,>=0.11
Downloading https://files.pythonhosted.org/packages/a6/91/86a6eac449ddfae239e93ffc1918cf33fd9bab35c04d1e963b311e347a73/netifaces-0.11.0.tar.gz
Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.2.0)
Collecting pkginfo<2,>=1.7.1
Downloading https://www.piwheels.org/simple/pkginfo/pkginfo-1.7.1-py2.py3-none-any.whl
Collecting requests<3,>=2.26.0
Downloading https://www.piwheels.org/simple/requests/requests-2.26.0-py2.py3-none-any.whl (62kB)
Requirement already satisfied: semantic_version<3,>=2.8.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2.8.5)
Collecting psutil<6,>=5.8
Downloading https://files.pythonhosted.org/packages/e1/b0/7276de53321c12981717490516b7e612364f2cb372ee8901bd4a66a000d7/psutil-5.8.0.tar.gz (470kB)
Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (7.1.2)
Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.18.2)
Collecting websocket-client<1,>=0.59
Downloading https://www.piwheels.org/simple/websocket-client/websocket_client-0.59.0-py2.py3-none-any.whl (67kB)
Collecting emoji<2,>=1.4.2
Downloading https://files.pythonhosted.org/packages/17/f0/7db2f4d8651951ff4a51ee77f0ffe0b3d015cd963c941c7390b3ba9fb302/emoji-1.6.1.tar.gz (170kB)
Collecting sentry-sdk<2,>=1.3.1
Downloading https://www.piwheels.org/simple/sentry-sdk/sentry_sdk-1.4.3-py2.py3-none-any.whl (141kB)
Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.0.7)
Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.8)
Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.4)
Requirement already satisfied: feedparser<6,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (5.2.1)
Requirement already satisfied: tornado==5.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (5.1.1)
Requirement already satisfied: futures<4,>=3.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (3.3.0)
Collecting monotonic<2,>=1.6
Downloading https://files.pythonhosted.org/packages/9a/67/7e8406a29b6c45be7af7740456f7f37025f0506ae2e05fb9009a53946860/monotonic-1.6-py2.py3-none-any.whl
Requirement already satisfied: scandir<2,>=1.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.10.0)
Requirement already satisfied: chainmap<2,>=1.0.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.0.3)
Requirement already satisfied: typing<4,>=3.10.0.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (3.10.0.0)
Requirement already satisfied: enum34<1.2,>=1.1.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.10)
Requirement already satisfied: frozendict==1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.2)
Collecting colorlog<5
Downloading https://files.pythonhosted.org/packages/51/62/61449c6bb74c2a3953c415b2cdb488e4f0518ac67b35e2b03a6d543035ca/colorlog-4.8.0-py2.py3-none-any.whl
Requirement already satisfied: unidecode<1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.4.21)
Requirement already satisfied: setuptools>=36 in /home/pi/oprint/lib/python2.7/site-packages (from markdown<3.2,>=3.1->OctoPrint==1.7.2) (41.5.1)
Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint==1.7.2) (2.7.0)
Requirement already satisfied: pytz in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint==1.7.2) (2019.3)
Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets<3,>=2.0->OctoPrint==1.7.2) (2.0)
Requirement already satisfied: importlib-resources; python_version < "3.7" in /home/pi/oprint/lib/python2.7/site-packages (from netaddr<0.9,>=0.8->OctoPrint==1.7.2) (3.3.1)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog==0.10.4->OctoPrint==1.7.2) (0.1.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.26.0->OctoPrint==1.7.2) (1.25.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.26.0->OctoPrint==1.7.2) (2019.9.11)
Requirement already satisfied: idna<3,>=2.5; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.26.0->OctoPrint==1.7.2) (2.8)
Requirement already satisfied: chardet<5,>=3.0.2; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.26.0->OctoPrint==1.7.2) (3.0.4)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from websocket-client<1,>=0.59->OctoPrint==1.7.2) (1.12.0)
Requirement already satisfied: backports-abc>=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==5.1.1->OctoPrint==1.7.2) (0.5)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==5.1.1->OctoPrint==1.7.2) (3.4.0.3)
Requirement already satisfied: contextlib2; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from importlib-resources; python_version < "3.7"->netaddr<0.9,>=0.8->OctoPrint==1.7.2) (0.6.0.post1)
Requirement already satisfied: pathlib2; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from importlib-resources; python_version < "3.7"->netaddr<0.9,>=0.8->OctoPrint==1.7.2) (2.3.6)
Requirement already satisfied: zipp>=0.4; python_version < "3.8" in /home/pi/oprint/lib/python2.7/site-packages (from importlib-resources; python_version < "3.7"->netaddr<0.9,>=0.8->OctoPrint==1.7.2) (1.2.0)
Building wheels for collected packages: OctoPrint, netifaces, psutil, emoji
Building wheel for OctoPrint (setup.py): started
Building wheel for OctoPrint (setup.py): finished with status 'done'
Created wheel for OctoPrint: filename=OctoPrint-1.7.2-py2.py3-none-any.whl size=3883614 sha256=1c938d47a7c34eb2a71874e7964894dd70a303bdafbc59275ac382d8c5407dac
Stored in directory: /tmp/pip-ephem-wheel-cache-9sNw8Q/wheels/5c/5e/da/4234856dba2c849eb4766dec298de7023abd54fafe3150c0ae
Building wheel for netifaces (setup.py): started
Building wheel for netifaces (setup.py): still running...
Building wheel for netifaces (setup.py): finished with status 'error'
Running setup.py clean for netifaces
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z8sVg_/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z8sVg_/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-oLNhop --python-tag cp27
cwd: /tmp/pip-install-z8sVg_/netifaces/
Complete output (19 lines):
running bdist_wheel
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h netrose/rose.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un rose ash ec ll atmpvc atmsvc dn llc.
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DNETIFACES_VERSION=0.11.0 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_NETROSE_ROSE_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ROSE=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_LLC=1 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-armv7l-2.7/netifaces.o
netifaces.c:1:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for netifaces
Building wheel for psutil (setup.py): started
Building wheel for psutil (setup.py): finished with status 'error'
Running setup.py clean for psutil
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z8sVg_/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z8sVg_/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-VVu6YV --python-tag cp27
cwd: /tmp/pip-install-z8sVg_/psutil/
Complete output (45 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/psutil
copying psutil/_common.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_pssunos.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_psposix.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_pswindows.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_psosx.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_compat.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/__init__.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_psaix.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_pslinux.py -> build/lib.linux-armv7l-2.7/psutil
copying psutil/_psbsd.py -> build/lib.linux-armv7l-2.7/psutil
creating build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/runner.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/__init__.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-armv7l-2.7/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-armv7l-2.7/psutil/tests
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/psutil
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-armv7l-2.7/psutil/_psutil_common.o
psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for psutil
Building wheel for emoji (setup.py): started
Building wheel for emoji (setup.py): finished with status 'done'
Created wheel for emoji: filename=emoji-1.6.1-cp27-none-any.whl size=169295 sha256=f3aba0a02f05ccb98529afee8b84a2f5c49cb8e5d4f27613f089226ac1d7ff9b
Stored in directory: /tmp/pip-ephem-wheel-cache-9sNw8Q/wheels/84/b8/d1/9f6225ae43fac1910166a0f53f5679a0f01295513637fe2331
Successfully built OctoPrint emoji
Failed to build netifaces psutil
Installing collected packages: netifaces, pkginfo, requests, psutil, websocket-client, emoji, sentry-sdk, monotonic, colorlog, OctoPrint
Found existing installation: netifaces 0.10.9
Uninstalling netifaces-0.10.9:
Successfully uninstalled netifaces-0.10.9
Running setup.py install for netifaces: started
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z8sVg_/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z8sVg_/netifaces/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-USQtSW/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/netifaces
cwd: /tmp/pip-install-z8sVg_/netifaces/
Complete output (19 lines):
running install
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h netrose/rose.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un rose ash ec ll atmpvc atmsvc dn llc.
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DNETIFACES_VERSION=0.11.0 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_NETROSE_ROSE_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ROSE=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_LLC=1 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-armv7l-2.7/netifaces.o
netifaces.c:1:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z8sVg_/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z8sVg_/netifaces/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-USQtSW/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/netifaces Check the logs for full command output.
Running setup.py install for netifaces: finished with status 'error'
Rolling back uninstall of netifaces
Moving to /home/pi/oprint/lib/python2.7/site-packages/netifaces-0.10.9.dist-info/
from /home/pi/oprint/lib/python2.7/site-packages/~etifaces-0.10.9.dist-info
Moving to /home/pi/oprint/lib/python2.7/site-packages/netifaces.so
from /tmp/pip-uninstall-6t_DOu/netifaces.so
The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details.
What did you already try to solve it?
Turned off all plugins other than logging and updating ones.
Have you tried running in safe mode?
Update still fails in safemode
Did running in safe mode solve the problem?
Update still fails in safemode
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
browser.user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1200
env.hardware.ram: 780967936
env.os.bits: 32
env.os.id: linux
env.os.platform: linux2
env.plugins.pi_support.model: Raspberry Pi 3 Model B Rev 1.2
env.plugins.pi_support.octopi_version: 0.17.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 19.3.1
env.python.version: 2.7.16
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.6.1
printer.firmware: Marlin bugfix-2.0.x (Jun 26 2021 19:45:57)
systeminfo.generator: systemapi
octoprint-systeminfo-20211110222632.zip (17.5 KB)
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
- 1.6.1 Stable Installed
- The ready-to-go Raspberry Pi image with OctoPrint! Version 0.17.0, running on Raspberry Pi 3 Model B Rev 1.2
- Ender 3 Pro
- Firmware below
- Chrome for Mac 95.0.4638.69 (latest version at time of writing
- macOS 11.6.1 (20G224)
Send: M115
Recv: FIRMWARE_NAME:Marlin bugfix-2.0.x (Jun 26 2021 19:45:57) SOURCE_CODE_URL:github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Ender-3 Pro EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Recv: Cap:SERIAL_XON_XOFF:0
Recv: Cap:BINARY_FILE_TRANSFER:0
Recv: Cap:EEPROM:1
Recv: Cap:VOLUMETRIC:1
Recv: Cap:AUTOREPORT_POS:0
Recv: Cap:AUTOREPORT_TEMP:1
Recv: Cap:PROGRESS:0
Recv: Cap:PRINT_JOB:1
Recv: Cap:AUTOLEVEL:1
Recv: Cap:RUNOUT:0
Recv: Cap:Z_PROBE:1
Recv: Cap:LEVELING_DATA:1
Recv: Cap:BUILD_PERCENT:1
Recv: Cap:SOFTWARE_POWER:0
Recv: Cap:TOGGLE_LIGHTS:0
Recv: Cap:CASE_LIGHT_BRIGHTNESS:0
Recv: Cap:EMERGENCY_PARSER:1
Recv: Cap:HOST_ACTION_COMMANDS:1
Recv: Cap:PROMPT_SUPPORT:1
Recv: Cap:SDCARD:1
Recv: Cap:REPEAT:0
Recv: Cap:SD_WRITE:0
Recv: Cap:AUTOREPORT_SD_STATUS:0
Recv: Cap:LONG_FILENAME:1
Recv: Cap:THERMAL_PROTECTION:1
Recv: Cap:MOTION_MODES:0
Recv: Cap:ARCS:0
Recv: Cap:BABYSTEPPING:1
Recv: Cap:CHAMBER_TEMPERATURE:0
Recv: Cap:COOLER_TEMPERATURE:0
Recv: Cap:MEATPACK:0
Recv: ok
Send: M155 S2
Recv: ok
Send: M876 P1
Recv: ok
LOGS
octoprint-logs.zip (47.2 KB)
Instance ID 5ebfe0ef-f236-4c76-8ba8-3860f7293fbc Error Tracking was enabled to get more info.