Error code when using M471
-
So I'm in the trying to make a backup of my old bed mesh to reference. The issue I'm having isnt with the function but it spits out error code when doing it.
Like it does rename the file heightmap_00 to .bak, but it spits out the error code underneath. Am I doing something wrong?
Tried using the command in the console and in a macro but same result. It renames the file but spits out the same error codeUsing this command:
M471 S"/sys/heightmap_00.csv" T"/sys/heightmap_00.csv.bak" D1Error code:
M471 S"/sys/heightmap_00.csv" T"/sys/heightmap_00.csv.bak" D1
Error: M471: Failed to rename file or directory /sys/heightmap_00.csv to /sys/heightmap_00.csv.bak: Unable to find the specified file.Using duetweb on a raspberry 4 8gb
Board: Duet 3 6HC
DSF 3.4.3 -
@ApTix one for @chrishamm
what you're trying to do looks ok to me -
Do your DSF and Duet firmware versions match?
-
@Phaedrux
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 3.4.3
Firmware: RepRapFirmware for Duet 3 MB6HC 3.4.3 (2022-10-05) -
Can you try renaming, but keep the csv extension?
-
@Phaedrux I tried to rename the file to heightmap_00.bak.csv and heightmap_00_bak.csv with or without D1 in M471 but still the same result…it renames the file but gets the same error code.
-
Sounds like maybe a permissions issue, but @chrishamm would know more.
Is this with a stock Duet Pi image? Might not be a bad time to try a fresh image download and update to 3.4.4.
-
@Phaedrux its running mjpg-streamer beside the duet application for a camera stream. maybe updating would help...but it seems more like a bug than permission issues since it does change the name of the file? like it does work but error codes pops out?
-
@ApTix Thanks for reporting this, it will be fixed in the next version.