Fixes errors from Click about ASCII encoding:
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment
This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the follow
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
15 lines
293 B
Desktop File
15 lines
293 B
Desktop File
[Unit]
|
|
Description=The snappy web interface for your 3D printer
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Environment="LC_ALL=C.UTF-8"
|
|
Environment="LANG=C.UTF-8"
|
|
Type=simple
|
|
User=pi
|
|
ExecStart=/home/pi/OctoPrint/venv/bin/octoprint
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|