-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plr_z.sh has not enough permision or file/directory created #1
Comments
Reinstall Gcode Shell Command with Kiauh, update the script and let me know if issue persists. Remember to set [save_variables] |
Do I need to have my RPI named "pi" ? or where is it trying to find the file plr.sh? i was following your manual where tu put it but some of these files alredy not exist or are in .cfg and not in .sh. Can you please revise your instructions on website? |
OK i got it working by changing this to path to the .sh file. But now I got PLR.gcode only like copy of the file printing before. PLR is attached. |
Hi,
my problem is that the plr_z.sh can´t find these files because they are not present or created in my PI.
cp /home/lukaso1/printer_data/gcodes/.thumbs/${4}.png /home/lukaso1/printer_data/gcodes/.thumbs/plr.png
cp /home/lukaso1/printer_data/gcodes/.thumbs/${4}-32x32.png /home/lukaso1/printer_data/gcodes/.thumbs/plr-32x32.png
cp /home/lukaso1/printer_data/gcodes/.thumbs/${4}-400x400.png /home/lukaso1/printer_data/gcodes/.thumbs/plr-400x400.png
and also any gcode_macro from power-loss-recovery.cfg does not seem to use saved variables to create plr.gcode.
And this is in Klippy.LOG
shell_command: Command {POWER_LOSS_RESUME_Z} failed
Traceback (most recent call last):
File "/home/lukaso1/klipper/klippy/extras/gcode_shell_command.py", line 53, in cmd_RUN_SHELL_COMMAND
proc = subprocess.Popen(
File "/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/home/lukaso1/printer_data/config/scripts/plr_z.sh'
Error running command {POWER_LOSS_RESUME_Z}
The text was updated successfully, but these errors were encountered: