Trying to import a config and keep getting an error
 
Notifications
Clear all

Trying to import a config and keep getting an error  

  RSS
lizg
 lizg
(@lizg)
Active Member
Trying to import a config and keep getting an error

I'm trying to import a config into PrusaSlicer and I keep getting this error:

ConfigBase::set_deserialize() failed

I got the file from a friend who created it in PrusaSlicer so I don't understand why I can't import it.  Anyone else run into this and know what's causing it and how to fix it?

 

Posted : 10/03/2021 9:09 am
Antonio
(@antonio)
Member Moderator
RE: Trying to import a config and keep getting an error

Is it possible you have a previous version of PS compared to your friend's?

i'm really not sure, just trying to guess.

 

I'm not an expert. Ma parlo anche italiano 😉

Posted : 10/03/2021 11:12 am
Neophyl
(@neophyl)
Illustrious Member
RE: Trying to import a config and keep getting an error

Trying to load a 2.3 config into 2.2 will give you that.  Also if the config was created with an alpha or beta then its also possible.

That error I believe is thrown up when the configuration/config/project file contains a settings that it doesnt know how to deal with.  As the configurations are basically just text files you can edit them.  If you can figure out which setting it doesnt like then you could modify it and then import it.

Maybe if you zipped it up and posted it here someone could help you further.

Posted : 10/03/2021 11:47 am
lizg
 lizg
(@lizg)
Active Member
Topic starter answered:
RE: Trying to import a config and keep getting an error

Here's the zip file.  I don't know which setting it doesn't like or how to go about finding it.  Any advice would be appreciated.  Thanks.

hilt_0.2mm_PLA_MINI_12m

Posted : 15/03/2021 7:41 am
Neophyl
(@neophyl)
Illustrious Member
RE: Trying to import a config and keep getting an error

I'm afraid your zip file just contains gcode.  That only contains a copy of any settings used to generate the gcode. (not all gcode does have the settings in but that generated from PS saves them at the end of the file).  Its not the configuration files that Prusa Slicer uses, although you can import settings from gcode like I did.

Prusa Slicer uses 2-3 methods.  Firstly you can save a project file from within PS.  That project will contain the model, placement, modifiers and a copy of the Print, Filament and Printer that were active when the project was saved.  This is so that a project is 'portable' from one computer to another.

PS also has the ability to Save and import either the currently active configuration profiles (basically whats saved with a project) or a Configuration Bundle.  A config bundle contains ALL of that installations custom print, filament and printer profiles (so any that are non system).  This is how you would generally backup and copy your settings from one machine or instance to another.

 

I loaded in a model and then used the File>Import>import configuration option to import the settings from your gcode file and they imported in  fine.  So theres nothing wrong with it from what I can see.  The settings imported look like a slightly modified Mini profile that has retract at layer change turned off, the filament imported in as Generic PLA, and the print settings are a modified 0.2mm Quality MINI profile with a couple of changes on the speed and detect thin walls turned on.

You weren't trying to load the gcode file into Prusa Slicer were you ?  You cant do that.  Gcode is the final output commands that are sent to a printer.  Those are specific to the printer they are created for and are basically just simple move commands.  They basically say move the extruder from  here to there at this speed.  Extrude XXmm of filament while moving this way etc.

Prusa Slicer works by loading in a model (stl/obj etc) and then using profiles to determine how its sliced and for what machine.  Those choices result in the gcode you zipped up.  You cant load that back into Prusa Slicer.  You can load it into prusa-gcodeviewer to see a preview of the sliced model, which does work with your gcode file , I checked. 

If transferring models its normal to use either the original stl file or if you want specific settings to go with it then the saved .3mf project file is the best way.  The gcode is what you send to the printer.  Your gcode is designed for the MINI and should work directly for that when PLA is used.  

Get your friend to send you a saved project file and not a gcode file.  

 

 

Posted : 15/03/2021 11:20 am
lizg
 lizg
(@lizg)
Active Member
Topic starter answered:
RE: Trying to import a config and keep getting an error

Oops, I zipped the wrong file, here's the 3MF file, I'm still getting the same error.

hilt

Posted : 25/03/2021 12:53 am
bobstro
(@bobstro)
Illustrious Member
RE: Trying to import a config and keep getting an error

I can import the gcode as a config and open the 3MF without errors running PrusaSlicer 2.3.0 on MacOS.

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 25/03/2021 4:26 am
Neophyl
(@neophyl)
Illustrious Member
RE: Trying to import a config and keep getting an error

Same here, I had no trouble opening the 3mf file on PS2.3 running on Windows 64.

It loaded a modified Mini profile with retraction length and retract on layer change different to the default (as those settings are shown in orange).
The filament profile is a modified Hatchybox PLA with the extrusion multiplier changed to 0.98 and the density set to 1.24.
The print profile is a 0.2mm Quality Mini profile modified with changes to the number of perimeters=4, Detect thin wall =on and seam set to aligned.  The speed setting for Support Material has also been changed to 100% but as supports are turned off the setting is greyed out.

I also tried the import config from project option and that also loaded the settings in without a problem.

Posted : 25/03/2021 7:12 am
lizg
 lizg
(@lizg)
Active Member
Topic starter answered:
RE: Trying to import a config and keep getting an error

Thank you everyone for the responses.  I checked and it looks like I have PS2.2 so I'm guessing that's what's causing the issue.  However, I checked for updates and it says there aren't any available so how did you all get version 2.3?

Posted : 29/03/2021 12:42 am
Neophyl
(@neophyl)
Illustrious Member
RE: Trying to import a config and keep getting an error

2.3 was released months ago.  Its available from the Prusa website.  However I get my releases from github directly.  That way I can also try out new pre-release versions too.

https://www.prusa3d.com/prusaslicer/

https://github.com/prusa3d/PrusaSlicer/releases

There were reported problems with the initial windows stand alone installer from the website but I think they have fixed those now.  Wasnt a problem with the github version though.

Posted : 29/03/2021 10:32 am
lizg
 lizg
(@lizg)
Active Member
Topic starter answered:
RE: Trying to import a config and keep getting an error

Thanks, I installed 2.3 and it loads fine now.

Posted : 30/03/2021 9:04 am
Share: