; Script based on an original created by tjjfvi (https://github.com/tjjfvi)
; An up-to-date version of the tjjfvi's original script can be found
; here: https://csi.t6.fyi/
; Note - This script will only work in Cura V4.2 and above!
; --- Global Settings
; layer_height = {layer_height}
; smooth_spiralized_contours = {smooth_spiralized_contours}
; magic_mesh_surface_mode = {magic_mesh_surface_mode}
; machine_extruder_count = {machine_extruder_count}
; --- Single Extruder Settings
; speed_z_hop = {speed_z_hop}
; retraction_amount = {retraction_amount}
; retraction_hop = {retraction_hop}
; retraction_hop_enabled = {retraction_hop_enabled}
; retraction_enable = {retraction_enable}
; retraction_speed = {retraction_speed}
; retraction_retract_speed = {retraction_retract_speed}
; retraction_prime_speed = {retraction_prime_speed}
; speed_travel = {speed_travel}
Installing plugin "Octolapse" from https://github.com/FormerLurker/Octolapse/archive/master.zip...
/home/pi/OctoPrint/venv/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp3a5qsf8o/Octolapse-master.zip --no-cache-dir
Processing /tmp/tmp3a5qsf8o/Octolapse-master.zip
Requirement already satisfied: pillow>=6.2.0<7.0.0 in /home/pi/OctoPrint/venv/lib/python3.6/site-packages (from Octolapse==0.4.1) (8.1.0)
...(中略)...
Requirement already satisfied: zipp>=0.4 in /home/pi/OctoPrint/venv/lib/python3.6/site-packages (from importlib-resources->netaddr<1,>=0.7.19->OctoPrint>1.3.8->Octolapse==0.4.1) (3.4.0)
Using legacy 'setup.py install' for Octolapse, since package 'wheel' is not installed.
Installing collected packages: Octolapse
Running setup.py install for Octolapse: started
エラー!
Could not install plugin from https://github.com/FormerLurker/Octolapse/archive/master.zip, see the log for more details
…(前略)…
Requirement already satisfied: zipp>=0.4 in /home/pi/OctoPrint/venv/lib/python3.6/site-packages (from importlib-resources->netaddr<1,>=0.7.19->OctoPrint>1.3.8->Octolapse==0.4.1) (3.4.0)
Building wheels for collected packages: Octolapse
Building wheel for Octolapse (setup.py): started
Building wheel for Octolapse (setup.py): finished with status 'error'
Running setup.py clean for Octolapse
エラー!
Could not install plugin from https://github.com/FormerLurker/Octolapse/archive/master.zip, see the log for more details
Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is ‘C.UTF8′ but it is not supported
そっか!ということで、
[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"
Environment="LC_ALL=ja_JP.UTF8"
Environment="LANG=ja_JP.UTF8"
Type=simple
User=pi
ExecStart=/home/pi/OctoPrint/venv/bin/octoprint serve
[Install]
WantedBy=multi-user.target
$ sudo systemctl daemon-reload
$ sudo systemctl stat octoprint
$ sudo systemctl status octoprint
● octoprint.service - The snappy web interface for your 3D printer
Loaded: loaded (/etc/systemd/system/octoprint.service; enabled; vendor preset: disabled)
Active: active (running) since 土 2021-02-06 16:17:23 JST; 5min ago
Main PID: 1717 (octoprint)
Tasks: 18
CGroup: /system.slice/octoprint.service
mq1717 /home/pi/OctoPrint/venv/bin/python3 /home/pi/OctoPrint/venv/bin/octoprint serve