Slic3r Prusa Edition Duet Upload

  • Hey,

    Following the latest release from Prusa, they've added support to upload/print to a Duet board from the slicer itself. However, I'm getting the following error code...


    I don't know whether this is a problem with my DuetWifi firmware or the slicer (hence why I'm asking on this forum rather than the Prusa forum!). Any suggestions?

    Duet 2 Wifi
    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 2.01(RTOS) (2018-07-26b2)
    WiFi Server Version: 1.21
    Web Interface Version: 1.21.2-dc42

  • Hi,

    There is a known problem in 1.41.0 when using whitespaces in filenames. But this has been already fixed in master with

    Can you confirm that your filename contains whitespaces?

  • administrators

    Are you by any chance trying to upload a file whose name includes spaces? I think a heard that there was a bug in the upload code in Slic3r PE when the name of the file to upload contains spaces, and I can see why that might give rise to this error.

    [Edit: @mloidl beat me to it.]

  • I've also had problems uploading do directories other than the root directory.

  • @LHelge Have you tried to separate the folder and the filename with a "/"?
    When implementing the upload feature i've tested with a lot of folder / filename combinations. The folder was created every time. Also subfolders were created successfully.

    Do you have an example folder/filename?
    Also, which version of DWC and RRF are you running?

  • Moderator

    @mloidl feature request? The is a check box to start the print on upload, could one be added to start simulation as well?

  • @Phaedrux I'll have a look into it.
    This would need to be a second checkbox added which is locked against the start print mode. Means either simulation / print / none is selected, but not both.

  • Moderator

    @mloidl maybe a radio button or drop-down to select the default?

  • @Phaedrux I thought about it. Since the Upload dialog is the same for OctoPrint and for Duet i would not like to change to a radio button or to a dropdown because this would add a 3rd option (None).
    I'll give the second checkbox a try. This would mean the dialog would look the same for OctoPrint as for now. For Duet upload there would be two checkboxes. When ticking one the other one will be deselected automatically.

    Unforunately i'm currently not able to compile the source. Will need to investigate.

  • @mloidl I don't remember exactly what I tried, I'll see if I can recreate it tonight. I may have it confused with crashes I used to have when storing the Slic3r configuration files on a write protected network drive.

  • @LHelge Thanks. That would be fine.

  • @Phaedrux Seems that there is currently a large refactoring in progress. So i'll have to wait until this is finished, otherwise i'm not able to merge it.
    This is the commit (not on master yet)

    When the refactoring is done i'll try to implement the start simulation action.

Log in to reply