Cura icon indicating copy to clipboard operation
Cura copied to clipboard

[4.7.0] Profiles missing and cannot be created

Open kelaymon opened this issue 5 years ago • 102 comments

Application version 4.7.0

Platform Windows 10

Printer Ender 3 Pro

Reproduction steps Opened Cura and checked for profiles. My default 0.2 mm profile settings are there but when I click on "Update profile with current settings", it appears to not create a profile.

Screenshot(s) image

Actual results "Manage profiles" shows no entries either for previously created profiles in 4.6.2 or for the newly updated settings.

Expected results Profiles should be there

Project file

Log file (See https://github.com/Ultimaker/Cura#logging-issues to find the log file to upload, or copy a relevant snippet from it.) cura.log

Additional information Upgraded from 4.6.2

kelaymon avatar Aug 25 '20 12:08 kelaymon

After restarting the program several times, now my profiles are showing up. Nothing additional was done.

kelaymon avatar Aug 25 '20 12:08 kelaymon

Do you perhaps have a custom material active? Cura 4.6.0 used to have a bug where the wrong user profiles would be visible. Since that has been fixed in 4.7.0, that might be what you're seeing.

nallath avatar Aug 25 '20 13:08 nallath

Yes, I have 4 materials created due to slight differences in print temps and diameters. One of those was active when all this happened, but it's still active and has not been changed. I restarted Cura about 6 times during all this and it finally started displaying profiles. In the image below, the items dotted red were all missing. The blue dotted item was there but would not appear in the profiles list in the settings.

image

kelaymon avatar Aug 25 '20 13:08 kelaymon

I don't see a whole lot in the logs. Could you share your 4.6.2 configuration folder?

nallath avatar Aug 25 '20 13:08 nallath

FWIW, I have this problem as well. I just upgraded from 4.6.1 -> 4.7.0. I have a number of custom profile and materials created. When selected, all of my profiles disappear and am unable to select any old profiles. The Profile selection drop down just says "Not Supported"

Screen Shot 2020-08-25 at 8 37 22 AM

Screen Shot 2020-08-25 at 8 37 32 AM

jjtk88 avatar Aug 25 '20 13:08 jjtk88

What is the typical path to the folder you need? I have a 4.6 folder under %appdata%\cura but when I try to zip it up to send it, it's 26 MB.

kelaymon avatar Aug 25 '20 13:08 kelaymon

Wanted to add one more comment.

The material I had loaded when I initially launched Cura 4.7 seems to still be there, and Cura auto-selects "Standard Quality" by default. However when I select any other Material from the dropdown, the profile menu options disappear.

Screen Shot 2020-08-25 at 8 40 55 AM

jjtk88 avatar Aug 25 '20 13:08 jjtk88

So I just discovered I have a similar issue to jjtk88. I have 4 custom materials. When I select 2 of them, it appears that my profiles are working including the defaults. When I select 2 other ones, I get the "Not supported" message as well and no profiles are shown, not even the built in defaults.

kelaymon avatar Aug 25 '20 13:08 kelaymon

That's probably because those materials have a different type. So if you changed your custom PLA to be of type PLA+, it doesn't have built in default ones. It was actually a bug in previous cura versions that it was showing them.

If you can send me the config folder (either by stripping out the plugins or just uploading it somewhere), I can verify if this is the case or not.

nallath avatar Aug 25 '20 13:08 nallath

@nallath ah, I see that now. I changed my "PLA2" override -> "PLA" and it seems to all work now.

Is it not possible to specify material types other than the "common" ones?

jjtk88 avatar Aug 25 '20 13:08 jjtk88

https://drive.google.com/file/d/1naxC-B_bht6KmETrS47-gWeHoLwcMFK_/view?usp=sharing

I modified the Material Type field from "PLA+" to "PLA" and that seems to have resolved it.

kelaymon avatar Aug 25 '20 13:08 kelaymon

How it should work:

  1. Select Generic PLA
  2. Open profile dropdown window; notice a number of profiles (Super, dynamic, standard, low, & custom profiles).
  3. Create a new material
  4. Change type of the material to "FOO"
  5. Material selection becomes yellow (since there isn't a quality profile for a material of type "FOO"
  6. Only profiles created on this not-supported state should be visible.

It is possible to create new types, but we also need to know what qualities are actually supported by that material. For a slew of materials we have some pretty sane defaults. But it uses the type to figure out with what it needs to match.

So it's perfectly okay to make "My custom PLA", as long as its type is PLA (so that Cura knows what material category it is!). If it doesn't find it, well, it just goes in this "warning" state (telling you: Hey, you can play around with settings, but the defaults for this might not be good).

nallath avatar Aug 25 '20 13:08 nallath

I never would've thought that was the reason why the material showed up as yellow! I always noticed that a handful of my profiles showed up as yellow, but after poking through the "Print Setting" menu I could never find any setting that appeared to cause the material to be yellow. I (erroneously) figured that the "Material Type" input box was there for tagging/organization purposes. This solves a mystery for me!

As an aside, would a drop down menu be more appropriate under "Material Type" to make it more obvious?

jjtk88 avatar Aug 25 '20 14:08 jjtk88

No problem. Not having the "+" on the end of it is not the end of the world. I can just put it in the Display Name field. The only reason I put it in there to begin with is Inland has PLA and PLA+.

I agree with jjtk88 that a drop down for material type would be nice if it's going to be a field that is expecting a certain input.

kelaymon avatar Aug 25 '20 14:08 kelaymon

I (erroneously) figured that the "Material Type" input box was there for tagging/organization purposes. This solves a mystery for me!

That's what the label is for. But yeah, we probably should think about how to fix this.

I agree with jjtk88 that a drop down for material type would be nice if it's going to be a field that is expecting a certain input.

We've been debating solutions for this for quite some time now. I don't think anyone came up with the dropdown. I sure as hell feel a bit stupid for not coming up with it.

nallath avatar Aug 25 '20 15:08 nallath

How it should work:

  1. Select Generic PLA
  2. Open profile dropdown window; notice a number of profiles (Super, dynamic, standard, low, & custom profiles).
  3. Create a new material
  4. Change type of the material to "FOO"
  5. Material selection becomes yellow (since there isn't a quality profile for a material of type "FOO"
  6. Only profiles created on this not-supported state should be visible.

It is possible to create new types, but we also need to know what qualities are actually supported by that material. For a slew of materials we have some pretty sane defaults. But it uses the type to figure out with what it needs to match.

So it's perfectly okay to make "My custom PLA", as long as its type is PLA (so that Cura knows what material category it is!). If it doesn't find it, well, it just goes in this "warning" state (telling you: Hey, you can play around with settings, but the defaults for this might not be good).

I still dont get it :(

is this the only workaround? im going back to 4.6.2

RaabenF avatar Aug 28 '20 14:08 RaabenF

It's not a workaround. The situation in 4.6.2 is flat out wrong. You will not get the correct settings (or settings that depend on what configuration you had previously active).

nallath avatar Aug 28 '20 15:08 nallath

thanks @nallath i see, but it worked. so there's actually no way migrating the old profiles? i had custom materials created, that shoud mach my print profiles, but still only the PLA based ones are visible.

BTW didnt even know that cura is opensource, is it? can one contribute, i dont see stuff in the wiki about that thanks for the response anyway. cluddering configurationthings hmm... thats how it is

RaabenF avatar Aug 28 '20 15:08 RaabenF

BTW didnt even know that cura is opensource, is it? can one contribute, i dont see stuff in the wiki about that thanks for the response anyway. cluddering configurationthings hmm... thats how it is

Cura is open source (because you can see its source code) and free (as in "freedom", because you can contribute). Although free software is not black-and-white, we do our best to incorporate contributions through bug reports, feature requests and pull requests, and Cura's license allows you to make modifications and publish them, which makes Cura "free software". That doesn't mean that it's easy to make code changes though. Cura is still a very big system, with a complex structure, especially the profile system.

i see, but it worked. so there's actually no way migrating the old profiles? i had custom materials created, that shoud mach my print profiles, but still only the PLA based ones are visible.

The easy workaround is to change the material type to something that has supported quality profiles.

Cura can't migrate these profiles automatically because it's missing information. In particular, these profiles don't have the information as to which built-in quality profile they were based upon. In Cura 4.6, we were not filtering custom profiles correctly, which made custom profiles appear regardless of what built-in profile they were based on. So even though a profile was based on the "draft" profile, it would appear in the list of profiles even if you're using a small nozzle size and there is no "draft" profile for that nozzle size. It would select an arbitrary profile then to base it on, which causes the print to be completely different. Now in 4.7, this filtering is fixed. The profile no longer appears in the list if it's based on a quality level that's not available. But if you were using the profile in that incomplete state it causes a workflow issue. The profile still stores that it's based on the "draft" profile, so it won't appear in the list if there is no built-in "draft" profile.

You could repair the old profiles manually in your configuration folder, which would cause the profile to finally become stable, actively marking it as being based on an empty quality profile. This involves making changes to the configuration folder though, so it's easy to make mistakes and you should make a back-up first. What you would need to do is to go to Help -> Show configuration folder and close down Cura. Then search for the quality_changes subfolder and in there find all files that have a name similar to the profile you want to edit. There should be one file for each extruder that your printer has, and one extra file for the global settings. In each of these files, under the [metadata] tag, search for the quality_type line and change its value into not_supported. Save the files, then start up Cura. They will no longer be available for printer configurations that have supported quality levels, but they will then be available for those that don't.

Ghostkeeper avatar Sep 01 '20 11:09 Ghostkeeper

I'm having the same problem changing nozzle size. If I put 0.6 or 0.8, profiles are missing.

danielrmatos avatar Sep 04 '20 18:09 danielrmatos

I'm having the same problem changing nozzle size. If I put 0.6 or 0.8, profiles are missing.

That's because not all profiles are suited for 0.6 or 0.8 nozzle.

nallath avatar Sep 07 '20 09:09 nallath

I don't think this is the problem. Even default profiles are missing.

Em seg, 7 de set de 2020 06:04, Jaime van Kessel [email protected] escreveu:

I'm having the same problem changing nozzle size. If I put 0.6 or 0.8, profiles are missing.

That's because not all profiles are suited for 0.6 or 0.8 nozzle.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8229#issuecomment-688181977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHSH5IESBPGAJM2GZI7PELSESO2HANCNFSM4QKTO7SQ .

danielrmatos avatar Sep 07 '20 09:09 danielrmatos

I don't think this is the problem. Even default profiles are missing.

Do you have a custom material selected? Because that is usually what causes this (and also what is explained in this thread to be the problem)

nallath avatar Sep 07 '20 09:09 nallath

No, any material. I'm looking in the profiles files and found nothing related to nozzle size. But if I select 0.6 or higher, appears only a "Draft" profile with 0.32 layer height that is not visible in 0.5 and lower. So I changed a profile to 0.32 layer height and... Nothing, it not showed in 0.6 or higher. I changed the draft profile in 0.6 (just changed the layer height, to 0.2) and save as new, but nothing, this "new" profile does not appear. And another thing is sometimes when I change nozzle, different profiles appears or vanish. Now, for example, I changed to 0.6 nozzle and instead of "Draf 0.32" showed only "Standard Quality 0.2" (few minutes ago, only Draft 0.32). This is very strange. :) I'm using Cura 4.7 with Linux (Ubuntu 18.04).

Em seg., 7 de set. de 2020 às 06:48, Jaime van Kessel < [email protected]> escreveu:

I don't think this is the problem. Even default profiles are missing.

Do you have a custom material selected? Because that is usually what causes this (and also what is explained in this thread to be the problem)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8229#issuecomment-688208984, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHSH5JK2FCVTACJESBK2SLSEST5BANCNFSM4QKTO7SQ .

-- Daniel R Matos

danielrmatos avatar Sep 07 '20 12:09 danielrmatos

The behavior that you are seeing is entirely correct. If you create a new profile, it's based on an existing profile (eg; if you create a profile when 'draft' is active, it's based on draft).

If you then change the layer height to 0.06, it will still be based on "draft". If a certain material / nozzle combination doesn't have draft, your profile will not be visible (since it doesn't exist for that combination).

nallath avatar Sep 07 '20 12:09 nallath

First of all, thanks for your answers. When I select 0.6 nozzle change a profile and save as new, these new profile are not shown (they just disappear, and sometimes works as expected). While I'm writing, I tried to reproduce and this time 3 profiles appears in 0.6 nozzle: standard 0.2, low 0.28 and draft 0.32. It's completely random what profiles will appear or not. This is not a expected behavior. I'm just trying to understand what to expect to save my profiles and avoid reworking. I'd like to understand what make a profile appear on a nozzle size and not in another one, I found nothing inspecting a profile file.

Em seg., 7 de set. de 2020 às 09:54, Jaime van Kessel < [email protected]> escreveu:

The behavior that you are seeing is entirely correct. If you create a new profile, it's based on an existing profile (eg; if you create a profile when 'draft' is active, it's based on draft).

If you then change the layer height to 0.06, it will still be based on "draft". If a certain material / nozzle combination doesn't have draft, your profile will not be visible (since it doesn't exist for that combination).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8229#issuecomment-688306682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHSH5NFB3MAN6J4CCVCIHTSETJY3ANCNFSM4QKTO7SQ .

-- Daniel R Matos

danielrmatos avatar Sep 07 '20 13:09 danielrmatos

You're going to have to give a bit more information if you want me to reproduce it.

So; what printer do you have and provide a step by step list of actions that you did (eg;

  1. Select config x
  2. Change setting
  3. Create new profile via dropdown
  4. Check in dropdown if profile is present, etc)

nallath avatar Sep 07 '20 14:09 nallath

The behavior that you are seeing is entirely correct. If you create a new profile, it's based on an existing profile (eg; if you create a profile when 'draft' is active, it's based on draft).

If you then change the layer height to 0.06, it will still be based on "draft". If a certain material / nozzle combination doesn't have draft, your profile will not be visible (since it doesn't exist for that combination).

I understand that this is correct from a programmers point of view, however this behavior could be improved. Whilst i think the change is a positive one, the old custom profiles should not have been affected by this change. i understand wanting to hide the default (incompatible ??) profiles - although i am perfectly capable of printing up to as low as 0.15mm/layer on a .6 nozzle - hiding user's custom profiles is confusing at best, where there always were profiles when switching nozzle sizes, now there suddenly aren't. Especially since i had cura setup on a 1mm nozzle by default, it looked broken.

Keep up the good work.

tvercruysse avatar Sep 14 '20 10:09 tvercruysse

We're clarifying the case of importing a profile that's not currently supported, for 4.8.

We tried to keep the old profiles visible, but Cura doesn't have enough information to change the profiles automatically to rebase them on profiles that are supported.

Ghostkeeper avatar Sep 15 '20 13:09 Ghostkeeper

I still don't understand. I'm sorry. I upgrade from 4.5 to 4.7 and lost many profiles. If a profile is connected to a custom material how the heck can I see what material the profile is connected to so that I can select that material so that my profile is visible again? (I think I'm explaining this correctly) I've tried exporting from 4.5 and into 4.7. I give up. Please help

reynol3232 avatar Sep 18 '20 14:09 reynol3232