wrong file details in DWC [SBC]
-
DWC is showing the wrong details in the web browser if the file changes but name stays the same as a previous file, when the file is uploaded from PrusaSlicer.
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 3.4.2
Firmware: RepRapFirmware for Duet 3 MB6HC 3.4.2 (2022-09-13)
It's running with a Raspberry Pi SBC
It's a my-own-design delta, but I don't think that's relevant.I have gcode file called 'tabletop_Delta 0.2 slow_Delta PLA_Delta 0.6 - blue.gcode'. I uploaded and printed it. It used about 1300mm of filament. All OK so far.
I changed the file, so it now used about four times as much filament. The new file has exactly the same filename. I uploaded and printed it, which it did correctly. However, in the web interface it still shows the old details:
In that list, the size and 'last modified' is correct - that's the second version of the file was uploaded, but the thumbnail, filament usage and 'generated by' are all the data from the previous version of the file.This was uploaded using the 'upload and print' functionality in PrusaSlicer.
If I download the file from the printer, rename the downloaded file to something new and upload it again (using the web interface), I get the correct details:
That's with no changes to the file, literally download it from DWC, renamed it foobar.gcode, uploaded it.It seems DWC is caching the details the first time a filename occurs, and then doesn't update them, even if the file content changes.
If I reboot the Pi and the Duet (a full power off and on again) it still shows the wrong data (i.e. shows the data for a previous version of the file, that no longer exists).
However, if I upload the file by dropping it onto the Upload Gcode button in DWC, it does change the details in the file list. It seems this display of old details only occurs when uploaded from PrusaSlicer.
-
@achrn said in wrong file details in DWC:
3.4.2 (2022-09-13)
Your firmware and DWC etc are a year old at this point. Latest stable release is 3.4.6. Consider updating with
sudo apt update && sudo apt upgrade
on the pi console. -
@Phaedrux OK, thanks. I'm part way through a run of identical prints and don't want to change firmware (even minor version) midway (just in case), so it will be a week at least before I will do that.