Update fails from 1.6.1 to 1.7.2

What is the problem?

2021-12-17 03:05:04,218   /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
2021-12-17 03:05:07,432 > Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2021-12-17 03:05:07,435 > Collecting https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip
2021-12-17 03:05:08,440 > Downloading https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip (6.6 MB)
2021-12-17 03:05:23,693 > 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)
2021-12-17 03:05:23,694 > Collecting OctoPrint-FirmwareCheck>=2021.10.11
2021-12-17 03:05:23,695 > Downloading OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl (33 kB)
2021-12-17 03:05:23,695 > 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)
2021-12-17 03:05:23,695 > 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)
2021-12-17 03:05:23,696 > 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)
2021-12-17 03:05:23,700 > Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2018.2.21)
2021-12-17 03:05:23,700 > 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)
2021-12-17 03:05:23,701 > Collecting flask<2,>=1.1.4
2021-12-17 03:05:23,702 > Downloading Flask-1.1.4-py2.py3-none-any.whl (94 kB)
2021-12-17 03:05:24,706 > Collecting Jinja2<3,>=2.11.3
2021-12-17 03:05:24,708 > Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
2021-12-17 03:05:24,710 > 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)
2021-12-17 03:05:24,710 > 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)
2021-12-17 03:05:24,711 > Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2.0)
2021-12-17 03:05:24,712 > 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)
2021-12-17 03:05:24,712 > 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)
2021-12-17 03:05:24,713 > Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.1)
2021-12-17 03:05:26,131 > Collecting PyYAML<6,>=5.4.1
2021-12-17 03:05:26,133 > Downloading PyYAML-5.4.1.tar.gz (175 kB)
2021-12-17 03:05:27,301 > Installing build dependencies: started
2021-12-17 03:05:58,792 > Installing build dependencies: finished with status 'done'
2021-12-17 03:05:58,793 > Getting requirements to build wheel: started
2021-12-17 03:06:14,123 > Getting requirements to build wheel: finished with status 'done'
2021-12-17 03:06:14,123 > Preparing wheel metadata: started
2021-12-17 03:06:16,441 > Preparing wheel metadata: finished with status 'error'
2021-12-17 03:06:16,445 ! ERROR: Command errored out with exit status 1:
2021-12-17 03:06:16,446 ! command: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpLD40S6
2021-12-17 03:06:16,447 ! cwd: /tmp/pip-install-2KnhaG/pyyaml
2021-12-17 03:06:16,447 ! Complete output (2 lines):
2021-12-17 03:06:16,448 ! running dist_info
2021-12-17 03:06:16,448 ! error: 'egg_base' must be a directory name (got `/tmp/pip-modern-metadata-_YDIwG`)
2021-12-17 03:06:16,449 ! ----------------------------------------
2021-12-17 03:06:16,449 ! ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpLD40S6 Check the logs for full command output.

What did you already try to solve it?

disabling logging

Have you tried running in safe mode?

yes

Did running in safe mode solve the problem?

no

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20211217030805.zip (56.9 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
OctoPrint Version 1.6.1
OctoPi Version 0.15.1, running on Raspberry Pi 3 Model B Rev 1.2
browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
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: 917016576
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.15.1
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.3.4
env.python.version: 2.7.13
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.6.1
printer.firmware: Marlin 1.1.8 (Github)
systeminfo.generator: systemapi

Never Mind. I did a backup and flashed the SD card from scratch. solved

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.