Cura: Update profile resets changes

Created on 1 May 2018  路  12Comments  路  Source: Ultimaker/Cura

Application Version
Cura Version 3.3.1

Platform
Windows 10 64bit

Printer
Custom China printer (3KU) profile based on Kossel Pro

Steps to Reproduce
Actual Results
Expected results
I just created a custom profile. Then I changed Infill Density from 20 to 10 and clicked on "Update profile with current settings/overrides" and the value changed back to 20 again.

This happens with a lot of other settings as well e.g. print temperature. I expect the value to be saved to the profile

According to the log this seems to be the error:
2018-05-01 11:41:56,265 - ERROR - [MainThread] UM.Settings.ContainerRegistry.setProperty [687]: Setting property material_print_temperature of container empty which should remain empty

But what does it mean?
cura.zip

FixeSolved Bug

All 12 comments

Please fill out the issue template with details of your system and Cura version otherwise this issue will be ignored for a few days and then deleted - thanks.

Thanks for the hint. I updated the original post

Hi @adras, thanks for updating your issue - that gives people something to work on.

This error is coming from the Uranium project Uranium-masterUMSettingsContainerRegistry.py

It seems like my settings are in an _EmptyInstanceContainer for some reason

I think you can remove the Needs Info label now

@adras I think I am experiencing the same thing over here trying to simplify some of my configurations. I'm the creator of https://github.com/spacesuitdiver/cr-10-cura-profiles and am wanting to refactor this stuff to simplify these configurations and cant seem to update any settings anymore.

Nothing is saving to the .cfg for various items such as ironing, etc. also calculated values seem broken.

From what I can tell the software is saving to the wrong extruder or something is wrong with all the extruder updates. A simple test to reproduce:

  1. Make a custom profile based off coarse
  2. Check "Enable Ironing"
  3. Update profile based on changes, ironing ends up unchecking (resetting)
  4. Note bug

An interesting find, any why I think this is related to the extruder updates:

  1. Make a custom profile based of coarse
  2. Check "Enable Ironing"
  3. Create new profile based on changes, note that ironing ends up disabling
  4. Two .cfg files end up getting created
  5. Note unpredicted results in profile directory

First is creality_cr-10_fdmextruder_pla_%232.inst.cfg which includes position = 0 and ONLY the change, in this case ironing_enabled = True
Second is the new creality_cr10_pla_%232.inst.cfg which is just all the old changes, no ironing_enabled = True setting.

I think the cloned configurations are missing position = 0 OR old printer configs are busted?

Any updates on this?

Ok, I just deleted the cura folders in AppData local and roaming.

Then I created a new profile based of the 0.2mm profile. I made some changes to various settings and tried to update it. It did NOT work.

Then I duplicated that profile. Made some changes and it WORKED.

Seems like the first profile you create doesn't work, but any duplicated one works.

Edit: Some wild guessing. I assume the settings inherit from each other. When you create a new profile, based on one of the default profiles the "parent" profile doesn't get set properly and you end up with an EmptyInstanceContainer. If you however base a profile on one of those you created everything is fine.

Hmmm I see it, at least for the CR-10. I'll discuss in the team.

We're going to fix it.
Devs: CURA-5453

I'm really glad to say that this issue is now fixed and it will be added to the 3.4 release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

probonopd picture probonopd  路  3Comments

rudowinger picture rudowinger  路  3Comments

wi1k1n picture wi1k1n  路  3Comments

DamianSepczuk picture DamianSepczuk  路  3Comments

mubarak111nsu picture mubarak111nsu  路  3Comments