guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.45k stars 367 forks source link

OctoPi 1.0.0 RC1 Status #770

Closed guysoft closed 1 year ago

guysoft commented 2 years ago

First release candidate for OctoPi 1.0.0

There are both 32bit and 64bit images available. Which give support to new Raspberry Pi 4B hardware pis that have been shipping out there. The 64bit image is based on Ubuntu 20.04.4, since it seemed more stable than RaspberryPi OS when testing 64bit, it might improve later on.

Raspsberrypi 3 and up can try the 64bit version. No performance gain in normal OctoPi is expected. It might help future plugins.

Please try the release candidate so we know it works.

32bit armf: Download it at: https://unofficialpi.org/Distros/OctoPi/nightly/2022-02-27_2022-01-28-octopi-bullseye-armhf-lite-1.0.0.zip

Md5: 672cc74db5c863e8378d994b8ef25504.

64bit arm64/aarch64: Download it at: https://unofficialpi.org/Distros/OctoPi/nightly-arm64/2022-02-27_octopi-20.04.4-preinstalled-server-arm64+raspi-1.0.0.zip

Md5: a78e25bda751e0253981020d2ddf4298.

Changes in the image

cp2004 commented 2 years ago

I will admit I'm still not completely sold on the version number being 1.0.0. We get enough people already confusing OctoPi and OctoPrint, I feel like this might make it worse?

What about just 'OctoPi 19.0' - there's no API involved, and it's not possible to update it, so the SemVer type versioning doesn't need to apply? Just specifying that it's the release after 0.18.

guysoft commented 2 years ago

@cp2004 I had a talk about this, which I can't seem to find anywhere now. The argument is people confuse OctoPi and OctoPrint anyway. So it doesn't really change the situation. And I don't want to that already existing confusion effect version naming. Worst case if it goes crazy (which I doubt, but open to be corrected), wWe can jump to version 2 or 3. But it seems to me to remain at 0.x for this long is just too much. Also its shorter. We could have named OctoPi differently, but its too of a good pun IMHO. None the less, thanks for sharing your thoughts and feelings :)

Taomyn commented 2 years ago

Great news and really want to try it - will backup my current 0.18 on an RPi-4 and restore it to a new SD card to see how it goes.

Will we be able to upgrade to the full release once it's out, or will we have to install/restore it again?

foosel commented 2 years ago

Reflash and restore, there's no way to upgrade from one version of OctoPi to another.

wlayher commented 2 years ago

Why are 32-bit and 64-bit links pointing to the same file? Talking about confusion ... :-)

ytwytw commented 2 years ago

And 32bits and 64 bits are the same MD5 as well

wlayher commented 2 years ago

Yes, and all the talk about bullseye, and then Ubuntu in the name of the image ...

matonb commented 2 years ago

I would hope so, they're pointing at the same file

wlayher commented 2 years ago

Yes, I can see that. But the text that led me here looks like false advertising then about bullseye ... :-)

guysoft commented 2 years ago

My bad fixing the links for 32bit. Pasting error Fixed

QuinnDamerell commented 2 years ago

Congrats on 1.0! Well deserved! πŸ₯³

wlayher commented 2 years ago

Thanks! :-) I'm looking forward to testing the new version with my PiCam HQ. I had switched to ustreamer on my old install, because with mjpegstreamer I had frequent freezes of the livestream in higher res. That problem went away with ustreamer. But with ustreamer octolapse would not sync correctly. So I want to test that on the new version.

x40-Community commented 2 years ago

I just tested the 32bit distribution with the Weedo X40 printer. As with all previous distributions, the connection will not be established due to the outdated CH340 driver. Please update the CH340 driver. Have a look at: https://www.weedo3dprinter.com/doku.php/x40/updatech340

Thanks

eblieb commented 2 years ago

Tried to restore a backup and got Installing plugin "PrintTimeGenius"...

/home/pi/oprint/bin/python -m pip install https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip --no-cache-dir < Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple < Collecting https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip < Downloading https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip (7.8 MB) Removing temporary unpacked folder Error while running restore Traceback (most recent call last): File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 1260, in _restore_backup on_install_plugins(known_plugins) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 292, in on_install_plugins self.class._install_plugin( File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 914, in _install_plugin cls._pip_caller.execute(*pip) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 208, in execute return self.call(command, **kwargs) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 244, in call all_stdout += process_stdout(p.stdout.readlines(timeout=0.5)) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 236, in process_stdout return process_lines(lines, self._log_stdout) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 229, in process_lines processed = self._preprocess_lines( File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines return list(map(self._preprocess, lines)) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 517, in _preprocess return to_unicode(clean_ansi(text)) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1") UnicodeEncodeError: 'latin-1' codec can't encode characters in position 5-44: ordinal not in range(256)

Restore failed! Check the above output and octoprint.log for reasons as to why.

rerickson1 commented 2 years ago

Same as @eblieb restoring a backup does not working correctly. I am restoring a backup made from a 32-bit installation, maybe this has something to do with it.

I get the same latin-1 error, but with a different plugin.

output: https://pastebin.com/zNcXtnqP

robness commented 2 years ago

For plugins you have to reinstall some of them because of the differences in Python versions: https://community.octoprint.org/t/pios-bullseye-killed-octoprint/38790

Basically restore the backup to the plugin error point. install the plugin manually and then restore the backup again after the reboot and rinse and repeat for each failed plugin.

robness commented 2 years ago

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

rerickson1 commented 2 years ago

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

Sounds like a windows issue. I used Raspberry Pi Imager tool on macOS with the 64-bit .img and SSH was setup and works just fine.

cp2004 commented 2 years ago

Tried to restore a backup and got Installing plugin "PrintTimeGenius"...

/home/pi/oprint/bin/python -m pip install https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip --no-cache-dir < Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple < Collecting https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip < Downloading https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip (7.8 MB) Removing temporary unpacked folder Error while running restore Traceback (most recent call last): File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 1260, in _restore_backup on_install_plugins(known_plugins) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 292, in on_install_plugins self.class._install_plugin( File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 914, in _install_plugin cls._pip_caller.execute(*pip) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 208, in execute return self.call(command, **kwargs) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 244, in call all_stdout += process_stdout(p.stdout.readlines(timeout=0.5)) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 236, in process_stdout return process_lines(lines, self._log_stdout) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 229, in process_lines processed = self._preprocess_lines( File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines return list(map(self._preprocess, lines)) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 517, in _preprocess return to_unicode(clean_ansi(text)) File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1") UnicodeEncodeError: 'latin-1' codec can't encode characters in position 5-44: ordinal not in range(256)

Restore failed! Check the above output and octoprint.log for reasons as to why.

This UnicodeDecodeError is a problem with compatibility between Pip 22.0 and OctoPrint at the moment. It's been fixed in 1.8.0 which will be starting release candidate soon as well. When that's released this issue won't happen anymore.

guysoft commented 2 years ago

@robness The issue that was linked about dealing with an upgraded version of python is not relevant in this case, because it talks about having an existing python environment, and then upgrading it and fixing all the paths. But the case here is a brand new python environment that was built. So the path changes should not be an issue. Python has been upgraded to 3.9 on 32bit, but that is not supposed to break compatibility (unless there is something new I am not aware of).

guysoft commented 2 years ago

@x40-Community Is there some move to get that driver in to mainline kernel or raspberrypi/linux? I can't seem to find any, that would be the appropriate channel before we patch it on top with OctoPi. Another issue is the driver linked is just code in a .zip file without any version control. I can't see what has been changed and why. So shipping it could cause other issues.

foosel commented 2 years ago

No license attached to this arbitrary driver either, so it can't be included.

robness commented 2 years ago

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

Sounds like a windows issue. I used Raspberry Pi Imager tool on macOS with the 64-bit .img and SSH was setup and works just fine.

It was with Etcher. No problems using the imager tool. I need to figure out how to get that working with another PI project I am involved with. So convenient to use.

eblieb commented 2 years ago

I have never had an issue with Rufus.

On Tue, Mar 1, 2022, 06:42 robness @.***> wrote:

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

Sounds like a windows issue. I used Raspberry Pi Imager tool on macOS with the 64-bit .img and SSH was setup and works just fine.

It was with Etcher. No problems using the imager tool. I need to figure out how to get that working with another PI project I am involved with. So convenient to use.

β€” Reply to this email directly, view it on GitHub https://github.com/guysoft/OctoPi/issues/770#issuecomment-1055340065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4D4LI75XQPQT6Z2FK4DVLU5X7BPANCNFSM5POZVWTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

robness commented 2 years ago

Arc Welder also had the UnicodeDecodeError, but when I tried to install it manually I got the following error:

Installing plugin "Arc Welder" from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip... /home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip --no-cache-dir Processing /tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: OctoPrint>1.3.8 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.7.3) Requirement already satisfied: setuptools>=6.0 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (44.0.0) Requirement already satisfied: six in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.16.0) Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0) Requirement already satisfied: feedparser<7,>=6.0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.0.8) Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.11) Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.8) Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.6) Requirement already satisfied: psutil<6,>=5.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.9.0) Requirement already satisfied: pathvalidate<3,>=2.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.5.0) Requirement already satisfied: websocket-client<1,>=0.59 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.59.0) Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.4) Requirement already satisfied: immutabledict<3,>=2.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.2.1) Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.10) Requirement already satisfied: unidecode in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.3.3) Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.10.4) Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.18.2) Requirement already satisfied: emoji<2,>=1.4.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.6.3) Requirement already satisfied: netifaces<1,>=0.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.11.0) Requirement already satisfied: zeroconf<0.34,>=0.33 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.33.4) Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.8.0) Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.0) Requirement already satisfied: tornado<7,>=6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.1) Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.1) Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (7.1.2) Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.1) Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.28) Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.1.1) Requirement already satisfied: Jinja2<3,>=2.11.3 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.11.3) Requirement already satisfied: colorlog<6,>=5.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.0.1) Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.4.1) Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.1) Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.2.23) Requirement already satisfied: requests<3,>=2.26.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.27.1) Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0) Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.2.0) Requirement already satisfied: sentry-sdk<2,>=1.3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.5.6) Requirement already satisfied: regex in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2022.1.18) Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.5.0) Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.0) Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.12.1) Requirement already satisfied: flask<2,>=1.1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.4) Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.5) Requirement already satisfied: pkginfo<2,>=1.7.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.8.2) Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python3.8/site-packages (from watchdog==0.10.4->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.2) Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.8/site-packages (from feedparser<7,>=6.0.8->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0) Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0) Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.1) Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.3) Requirement already satisfied: idna<4,>=2.5 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.3) Requirement already satisfied: charset-normalizer~=2.0.0 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.26.8) Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.8) Requirement already satisfied: ifaddr>=0.1.7 in /home/pi/oprint/lib/python3.8/site-packages (from zeroconf<0.34,>=0.33->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.7) Building wheels for collected packages: Arc-Welder Building wheel for Arc-Welder (setup.py): started Building wheel for Arc-Welder (setup.py): finished with status 'error' Running setup.py clean for Arc-Welder Error! Could not install plugin from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip, see the log for more details

robness commented 2 years ago

Arc Welder also had the UnicodeDecodeError, but when I tried to install it manually I got the following error:

Installing plugin "Arc Welder" from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip... /home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip --no-cache-dir Processing /tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: OctoPrint>1.3.8 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.7.3) Requirement already satisfied: setuptools>=6.0 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (44.0.0) Requirement already satisfied: six in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.16.0) Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0) Requirement already satisfied: feedparser<7,>=6.0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.0.8) Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.11) Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.8) Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.6) Requirement already satisfied: psutil<6,>=5.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.9.0) Requirement already satisfied: pathvalidate<3,>=2.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.5.0) Requirement already satisfied: websocket-client<1,>=0.59 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.59.0) Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.4) Requirement already satisfied: immutabledict<3,>=2.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.2.1) Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.10) Requirement already satisfied: unidecode in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.3.3) Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.10.4) Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.18.2) Requirement already satisfied: emoji<2,>=1.4.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.6.3) Requirement already satisfied: netifaces<1,>=0.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.11.0) Requirement already satisfied: zeroconf<0.34,>=0.33 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.33.4) Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.8.0) Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.0) Requirement already satisfied: tornado<7,>=6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.1) Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.1) Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (7.1.2) Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.1) Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.28) Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.1.1) Requirement already satisfied: Jinja2<3,>=2.11.3 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.11.3) Requirement already satisfied: colorlog<6,>=5.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.0.1) Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.4.1) Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.1) Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.2.23) Requirement already satisfied: requests<3,>=2.26.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.27.1) Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0) Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.2.0) Requirement already satisfied: sentry-sdk<2,>=1.3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.5.6) Requirement already satisfied: regex in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2022.1.18) Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.5.0) Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.0) Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.12.1) Requirement already satisfied: flask<2,>=1.1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.4) Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.5) Requirement already satisfied: pkginfo<2,>=1.7.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.8.2) Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python3.8/site-packages (from watchdog==0.10.4->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.2) Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.8/site-packages (from feedparser<7,>=6.0.8->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0) Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0) Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.1) Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.3) Requirement already satisfied: idna<4,>=2.5 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.3) Requirement already satisfied: charset-normalizer~=2.0.0 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.26.8) Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.8) Requirement already satisfied: ifaddr>=0.1.7 in /home/pi/oprint/lib/python3.8/site-packages (from zeroconf<0.34,>=0.33->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.7) Building wheels for collected packages: Arc-Welder Building wheel for Arc-Welder (setup.py): started Building wheel for Arc-Welder (setup.py): finished with status 'error' Running setup.py clean for Arc-Welder Error! Could not install plugin from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip, see the log for more details

Still a Latin-1 error from logs: 2022-03-01 07:26:25,739 - octoprint.plugins.pluginmanager - ERROR - Reason: UnicodeEncodeError('latin-1', ' β”‚ exit code: 1\n', 2, 3, 'ordinal not in range(256)') Traceback (most recent call last): File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/init.py", line 900, in _command_install_archive returncode, stdout, stderr = self._call_pip(pip_args) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/init.py", line 1631, in _call_pip return self._pip_caller.execute(*args, kwargs) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 208, in execute return self.call(command, kwargs) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 243, in call all_stderr += process_stderr(p.stderr.readlines(timeout=0.5)) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 239, in process_stderr return process_lines(lines, self._log_stderr) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 229, in process_lines processed = self._preprocess_lines( File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines return list(map(self._preprocess, lines)) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 517, in _preprocess return to_unicode(clean_ansi(text)) File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1") UnicodeEncodeError: 'latin-1' codec can't encode character '\u2502' in position 2: ordinal not in range(256)

cp2004 commented 2 years ago

@robness As I explained above it is not an issue with specific plugins it's a problem with the current version of OctoPrint and the new version of pip released a few weeks ago, already fixed but not released, and it will impact any plugin that requires downloading dependencies.

robness commented 2 years ago

@robness As I explained above it is not an issue with specific plugins it's a problem with the current version of OctoPrint and the new version of pip released a few weeks ago, already fixed but not released, and it will impact any plugin that requires downloading dependencies.

I figured that, but for this one, even trying to manually install it, it wasn't working. It was meant more as a heads up that the plugin wouldn't even work in a manual install because of the newer version of pip.

Thanks for everything that you do to support the project.

JoveToo commented 2 years ago

Would it be possible to copy the octopi-wpa-supplication.txt file to /etc/wpa_supplication, restrict access and then delete the file from boot?

It is not good policy to have files with passwords readable by everyone.

guysoft commented 2 years ago

@JoveToo This is unrelated to the release candidate. It has OctoPi has been behaving sinc Aug 2016: https://github.com/guysoft/OctoPi/commit/326bbdfa73093bc9afe82737e733386c457a4fd6 . Its not going to change in this release.

Grey-Sheep commented 2 years ago

Same problem as eblieb and others when trying to use the 64 bit image and restore from a backup of the 32 bit version.

On trying to install the plugins first and then restore (as suggested) most were OK but Octolapse failed with the message below.

The UI also had the error

Cannot check for throttling OctoPrint cannot check for throttling situations reported by your Pi. vcgencmd doesn't work as expected. Make sure the system user OctoPrint is running under is a member of the "video" group.

Octolapse error:-

octolapse_error.txt

rerickson1 commented 2 years ago

Same problem as eblieb and others when trying to use the 64 bit image and restore from a backup of the 32 bit version.

On trying to install the plugins first and then restore (as suggested) most were OK but Octolapse failed with the message below.

The UI also had the error

Cannot check for throttling OctoPrint cannot check for throttling situations reported by your Pi. vcgencmd doesn't work as expected. Make sure the system user OctoPrint is running under is a member of the "video" group.

Octolapse error:-

octolapse_error.txt

I used the approach mentioned above to get the restore to go all the way through.

  1. When you get a restore error, reboot the Pi and then reconnect to web UI.
  2. Run restore again and it will get further or finish. Repeat step 1 if necessary until restore gets all the way through.
foosel commented 2 years ago

Cannot check for throttling OctoPrint cannot check for throttling situations reported by your Pi. vcgencmd doesn't work as expected. Make sure the system user OctoPrint is running under is a member of the "video" group.

That indicates that the 64bit build is still missing a working vcgencmd, either it's not there at all (which would be bad) or the user is missing some permissions (which could be fixed)

@guysoft do you know if the vcgencmd family is available on the Ubuntu images you use? If not, that's a big issue as that's the only way OctoPrint (or rather the PiSupport plugin) can currently check for undervoltage issue, which are sadly so common that they have caused a ridiculous support overhead in the past before this check was introduced. An image without the ability of OctoPrint to check for throttling is something that is going to cause us significant support overhead again while hunting down ghosts of issues that actually are due to the Pi browning out.

edit According to https://2byt.es/post/vcgencmd/ it should be as easy as

  1. sudo apt-get install libraspberrypi-bin
  2. sudo usermod -aG video pi (if not already done)

if building against an Ubuntu base image.

Grey-Sheep commented 2 years ago

Cannot check for throttling OctoPrint cannot check for throttling situations reported by your Pi. vcgencmd doesn't work as expected. Make sure the system user OctoPrint is running under is a member of the "video" group.

That indicates that the 64bit build is still missing a working vcgencmd, either it's not there at all (which would be bad) or the user is missing some permissions (which could be fixed)

@guysoft do you know if the vcgencmd family is available on the Ubuntu images you use? If not, that's a big issue as that's the only way OctoPrint (or rather the PiSupport plugin) can currently check for undervoltage issue, which are sadly so common that they have caused a ridiculous support overhead in the past before this check was introduced. An image without the ability of OctoPrint to check for throttling is something that is going to cause us significant support overhead again while hunting down ghosts of issues that actually are due to the Pi browning out.

edit According to https://2byt.es/post/vcgencmd/ it should be as easy as

  1. sudo apt-get install libraspberrypi-bin
  2. sudo usermod -aG video pi (if not already done)

if building against an Ubuntu base image.

Thanks for the speedy reply. It fixed the issueπŸ‘

The package appears to be there, but not the permissions from the outputs.

Reading package lists... Done Building dependency tree Reading state information... Done libraspberrypi-bin is already the newest version (0~20200520+git2fe4ca3-0ubuntu3~20.04). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. pi@octopi:~$ sudo usermod -aG video pi

rerickson1 commented 2 years ago

One downside of using Ubuntu as the base image for 64-bit is that it is not as easy to add a shutdown button, compared to using this on Raspberry Pi OS:

sudo nano /boot/config.txt

Add this to the file:

# shutdown with GPIO3 low
dtoverlay=gpio-shutdown,gpiopin=3,active_low="y",gpio_pull="up",debounce=2000

I tried getting a python script going, but didn't have luck auto launching the script at startup from /etc/rc.local.

yasars commented 2 years ago

I have the same problem with the backup and restore on new.1.0 i have downgrage pip.after that restore is working , after then reboot make update pip ... :)

wlayher commented 2 years ago

I just updated successfully from my previous version (already with Python 3) to the new version (32-bit). Normally, if you do the same thing repeatedly, like installing an update or a plugin, but each time expect a different result, that is considered a sign of insanity! :-) But hey, don't knock it if it works! :-) The webcam stream still freezes frequently for my HQ PiCam at FullHD, same as on the last version. I guess I have to change to ustreamer again.

guysoft commented 2 years ago

Just an update, Ubuntu 64bit will surely get an RC2 and likely OctoPi 32bit might also (didn't decide what to do in the case of only one image that needs to be update). Due to missing vcgencmd permissions

guysoft commented 2 years ago

@rerickson1 Is there any difference between the 32bit and 64bit that requires you to add that line for a shutdown button?

eblieb commented 2 years ago

Guessing you mean OctoPi 64 bit

On Wed, Mar 2, 2022 at 1:31 PM Guy Sheffer @.***> wrote:

Just an update, Ubuntu 64bit will surely get an RC2 and likely OctoPi 32bit might also (didn't decide what to do in the case of only one image that needs to be update). Due to missing vcgencmd permissions

β€” Reply to this email directly, view it on GitHub https://github.com/guysoft/OctoPi/issues/770#issuecomment-1057247621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4D4LKN5KGF32KQHWXVS4DU56XW7ANCNFSM5POZVWTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

eblieb commented 2 years ago

Is it possible to downgrade PIP in the images so restore can function smoothly and then PIP can be upgraded?

On Wed, Mar 2, 2022 at 1:32 PM Eric Lieberman @.***> wrote:

Guessing you mean OctoPi 64 bit

On Wed, Mar 2, 2022 at 1:31 PM Guy Sheffer @.***> wrote:

Just an update, Ubuntu 64bit will surely get an RC2 and likely OctoPi 32bit might also (didn't decide what to do in the case of only one image that needs to be update). Due to missing vcgencmd permissions

β€” Reply to this email directly, view it on GitHub https://github.com/guysoft/OctoPi/issues/770#issuecomment-1057247621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4D4LKN5KGF32KQHWXVS4DU56XW7ANCNFSM5POZVWTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

b-morgan commented 2 years ago

I'm confused about how to configure WiFi. Should I use ctrl-shift-x on the RPi imager or should I edit octopi-wpa-supplicant.txt?

foosel commented 2 years ago

Recommended way by OctoPrint's setup guide is to use rpi imager.

About the latin-1 encoding error on restore, as already said I'm currently fully focusing on getting 1.8.0rc1 out of the door which will contain a fix for that. But based on past experiences it will be at least a month until stable 1.8.0 gets released (we have seen 4 weeks at least of RC phase for the past years now). So IF the wait for that is too long I suggest to roll pip back to version 21 for the second OctoPi RC (both 32 and 64 bit) to get that going ASAP.

guysoft commented 2 years ago

So IF the wait for that is too long I suggest to roll pip back to version 21 for the second OctoPi RC (both 32 and 64 bit) to get that going ASAP.

@foosel I can wait, though if others voice something different here I could speed it up. I have other work on FullPageOS, RealtimePi and others that I can do in the meantime. Possible release a new CustomPiOS stable.

eblieb commented 2 years ago

Guy... any chance you want to make a custom program to compile marlin firmware on the RPI in a simple to use interface :)

On Wed, Mar 2, 2022 at 3:06 PM Guy Sheffer @.***> wrote:

So IF the wait for that is too long I suggest to roll pip back to version 21 for the second OctoPi RC (both 32 and 64 bit) to get that going ASAP.

@foosel https://github.com/foosel I can wait, though if others voice something different here I could speed it up. I have other work on FullPageOS, RealtimePi and others that I can do in the meantime. Possible release a new CustomPiOS stable.

β€” Reply to this email directly, view it on GitHub https://github.com/guysoft/OctoPi/issues/770#issuecomment-1057330676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4D4LPO45YO3A3UJZVGF4LU57C3DANCNFSM5POZVWTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

rerickson1 commented 2 years ago

@rerickson1 Is there any difference between the 32bit and 64bit that requires you to add that line for a shutdown button?

@guysoft On the 64-bit Ubuntu based build, /boot/config.txt didn't exist so I assumed setting the DT overlay for a shutdown button wasn't supported in Ubuntu. Maybe my assumption is incorrect? On the 32-bit Raspberry Pi OS build, that file is there so you can setup a shutdown IO very easily.

guysoft commented 2 years ago

@eblieb I see no reason how that is related to current RC1 status. aka not sure why you asked it in this issue and not in a separate issue. or the community pages, or in a private email asking to hire me :)

eblieb commented 2 years ago

Sorry was a bad joke because you were talking about other things you can do in the meantime.

On Wed, Mar 2, 2022 at 3:11 PM Guy Sheffer @.***> wrote:

@eblieb https://github.com/eblieb I see no reason how that is related to current RC1 status. aka not sure why you asked it in this issue and not in a separate issue. or the community pages, or in a private email asking to hire me :)

β€” Reply to this email directly, view it on GitHub https://github.com/guysoft/OctoPi/issues/770#issuecomment-1057334731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4D4LIXKWU77MWVCH25ZS3U57DPXANCNFSM5POZVWTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

guysoft commented 2 years ago

@eblieb Gotcha. Its kinda hard to tell apart due to Poe's law. I actually got people asking me to do stuff because they need it for their jobs before.

JeremyLaurenson commented 2 years ago

Also seeing the Unicode error; suggest we wait till thats fixed and incorporate that fix into the image and not publish as-is.