Jump to content

Lost Profiles


RogueWave

Recommended Posts

Posted · Lost Profiles

Please go to your Cura configuration folder (in Cura, it's Help > Show Configuration Folder) and upload your cura.log file (you can just drag+drop it into the reply box - please don't be one of the people who post a massive text wall as a reply).

 

Other than that, any information you could provide would help - you weren't exactly very descriptive. Did you just upgrade to 5.6 and the profiles disappeared or have you been running 5.6 for a while? Have you changed any printer settings in Cura recently? Really, anything to go by would help.

  • Link to post
    Share on other sites

    Posted (edited) · Lost Profiles

    I uninstalled all Cura programs from version 4 to 5.6.0. Then installed 5.6.0 and all profiles are selectable.

    However, when selection some non-ultimate material some of a profile selection missing or material not supported.

    I have been using PLA PETG in the past moving into other materials causing issues.

    Thank You

     

     

    cura.log

    Edited by RogueWave
  • Link to post
    Share on other sites

    Posted · Lost Profiles

    TL;DR: Not 100% confident this will work, but make sure Cura isn't running, then delete the folder %APPDATA%\cura\5.6\. Open Cura 5.5 (you can have them installed side by side, I have four different versions installed just because people asking for help are using different versions), change a couple of settings so it regenerates your preferences file, load a model, select a generic filament for both extruders, save the project as a 3mf by going to File > Save Project (not sure if this is necessary but I'm just trying to make sure the current filament settings get saved), then close 5.5, then in %APPDATA%\cura\ manually copy the 5.5 folder and rename the copy to 5.6 then try loading Cura 5.6 again.

     

    Also I'll tag in @gr5 who knows Ultimaker stuff because I'm 99% sure it has to do with that and how some Ultimaker printers communicate with Cura for stuff like filament settings.

     

    So the details, the following parts of the log file stand out to me. Lines 19-20:

    2023-12-19 05:24:31,308 - INFO - [MainThread] UM.Resources.copyVersionFolder [576]: Copying directory from 'C:\Users\Owner\AppData\Local\cura\5.5' to 'C:\Users\Owner\AppData\Roaming\cura\5.6'
    2023-12-19 05:24:31,309 - INFO - [MainThread] UM.Qt.QtApplication.initialize [164]: Preferences file not found, ignore and use default language 'en_US'

    Can't find a preferences file for whatever reason. This doesn't delete your quality profiles though, should just only affect what you can see in the General and Settings pages of the Cura preferences.

     

    Lines 134-138:

    2023-12-19 05:24:32,528 - INFO - [MainThread] UM.VersionUpgradeManager.upgrade [163]: Looking for old configuration files to upgrade.
    2023-12-19 05:24:32,539 - INFO - [MainThread] UM.VersionUpgradeManager.upgrade [177]: Checking and performing updates took 0.010999917984008789
    2023-12-19 05:24:32,542 - INFO - [MainThread] UM.Qt.QtApplication.startSplashWindowPhase [256]: The preferences file cannot be opened or it is corrupted, so we will use default values
    2023-12-19 05:24:32,542 - INFO - [MainThread] UM.Qt.QtApplication.startSplashWindowPhase [263]: The preferences file 'None' cannot be found, will use default values
    2023-12-19 05:24:32,543 - INFO - [MainThread] UM.Qt.QtApplication.startSplashWindowPhase [266]: Completed loading preferences.

    Basically the same thing - can't find a valid preferences file so goes to defaults.

     

    Lines 240-246:

    2023-12-19 05:25:15,000 - INFO - [JobQueueWorker [1]] FirmwareUpdateChecker.FirmwareUpdateCheckerJob.run [93]: You have a(n) UltiMaker S5 in the printer list. Do firmware-check.
    2023-12-19 05:25:15,229 - INFO - [JobQueueWorker [1]] FirmwareUpdateChecker.FirmwareUpdateCheckerJob.run [109]: Reading firmware version of UltiMaker S5: checked = 0.0.0 - latest = 8.2.0
    2023-12-19 05:25:15,230 - INFO - [MainThread] cura.Settings.GlobalStack.addExtruder [190]: Extruder[ultimaker_s5_extruder_left #3] added to [S5working] at position [0]
    2023-12-19 05:25:15,313 - INFO - [MainThread] cura.Settings.GlobalStack.addExtruder [190]: Extruder[ultimaker_s5_extruder_right #3] added to [S5working] at position [1]
    2023-12-19 05:25:15,329 - INFO - [MainThread] cura.UI.MachineActionManager.addDefaultMachineActions [74]: Default machine actions added for machine definition [ultimaker_s5]
    2023-12-19 05:25:15,337 - WARNING - [MainThread] cura.Settings.GlobalStack.addExtruder [185]: Extruder [ultimaker_s5_extruder_left #3] has already been added to this stack [S5working]
    2023-12-19 05:25:15,337 - WARNING - [MainThread] cura.Settings.GlobalStack.addExtruder [185]: Extruder [ultimaker_s5_extruder_right #3] has already been added to this stack [S5working]

    Nothing really unusual here. Just checks for firmware updates for your printer and adds the extruders to the global stack (where Cura holds most settings and such in RAM while it's open). More interesting when I pair it with lines 251-254:

    2023-12-19 05:25:15,339 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2023-12-19 05:25:15,339 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2023-12-19 05:25:15,340 - INFO - [MainThread] cura.CuraApplication._setLoadingHint [853]: Initializing Active Machine...
    2023-12-19 05:25:15,347 - WARNING - [MainThread] UM.Settings.InstanceContainer.setProperty [398]: Tried to set value of the setting material_max_flowrate, but it has no SettingInstance in this InstanceContainer Fast or its SettingDefinition UltiMaker S5

    Suddenly it can't find the current global stack, and it can't find the current settings for the printer in RAM when it tries to set the max flow rate.

     

    Anyway, lines 306-313:

    2023-12-19 05:26:57,418 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/Program Files/UltiMaker Cura 5.6.0/PyQt6/Qt6/qml/UM/Preferences/ManagementPage.qml:193:13: Unable to assign [undefined] to QObject*
    2023-12-19 05:26:57,645 - WARNING - [MainThread] UM.Settings.SettingFunction.__call__ [124]: Exception: An exception occurred in inherit function =material_print_temperature - 100: unsupported operand type(s) for -: 'SettingFunction' and 'int'
    Trace: ['  File "cura_app.py", line 239, in <module>\n', '  File "cura\\CuraApplication.py", line 930, in run\n    self.exec()\n', '  File "UM\\Qt\\QtApplication.py", line 416, in exec\n    super().exec(*args, **kwargs)\n', '  File "UM\\Settings\\Models\\ContainerPropertyProvider.py", line 84, in setKey\n    self._update()\n', '  File "UM\\Settings\\Models\\ContainerPropertyProvider.py", line 148, in _update\n    new_properties[property_name] = self._getPropertyValue(property_name)\n', '  File "UM\\Settings\\Models\\ContainerPropertyProvider.py", line 157, in _getPropertyValue\n    property_value = property_value(self._container)\n', '  File "UM\\Settings\\SettingFunction.py", line 123, in __call__\n    stack_str = traceback.format_stack()\n']
    2023-12-19 05:26:57,645 - WARNING - [MainThread] UM.Settings.SettingFunction.__call__ [124]: Traceback (most recent call last):
    2023-12-19 05:26:57,646 - WARNING - [MainThread] UM.Settings.SettingFunction.__call__ [124]:   File "UM\Settings\SettingFunction.py", line 119, in __call__
    2023-12-19 05:26:57,646 - WARNING - [MainThread] UM.Settings.SettingFunction.__call__ [124]:     return eval(self._compiled, globals_variables, local_variables)
    2023-12-19 05:26:57,646 - WARNING - [MainThread] UM.Settings.SettingFunction.__call__ [124]:   File "<UM.Settings.SettingFunction (0x2424121f700) =material_print_temperature - 100 >", line 1, in <module>
    2023-12-19 05:26:57,647 - WARNING - [MainThread] UM.Settings.SettingFunction.__call__ [124]: TypeError: unsupported operand type(s) for -: 'SettingFunction' and 'int'

    It's getting an error trying to load the material - this happens multiple times in a row. Material definitions and quality profiles are somewhat linked, in that it will usually default to the temperature, speed etc. in the material definition (so you can switch to a different material without having to reset all your quality settings).

     

    Lines 742-752:

    2023-12-19 05:35:18,527 - INFO - [MainThread] cura.CuraApplication._setLoadingHint [853]: Initializing Active Machine...
    2023-12-19 05:35:18,532 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2023-12-19 05:35:18,533 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2023-12-19 05:35:18,536 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2023-12-19 05:35:18,536 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2023-12-19 05:35:18,537 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/Program Files/UltiMaker Cura 5.6.0/share/cura/resources/qml/PrintSetupSelector/ProfileWarningReset.qml:77: TypeError: Cannot read property 'name' of null
    2023-12-19 05:35:18,538 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/Program Files/UltiMaker Cura 5.6.0/share/cura/resources/qml/PrintSetupSelector/ProfileWarningReset.qml:77: TypeError: Cannot read property 'name' of null
    2023-12-19 05:35:18,548 - DEBUG - [MainThread] cura.Machines.Models.NozzleModel._update [28]: Updating NozzleModel.
    2023-12-19 05:35:18,549 - DEBUG - [MainThread] cura.Machines.Models.NozzleModel._update [28]: Updating NozzleModel.
    2023-12-19 05:35:18,551 - DEBUG - [MainThread] cura.Machines.Models.NozzleModel._update [28]: Updating NozzleModel.
    2023-12-19 05:35:18,784 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/Program Files/UltiMaker Cura 5.6.0/share/cura/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml:248:25: Unable to assign QString to QRegularExpression

    Can't access the global stack for whatever reason, so sets the quality profile as empty (which probably just goes to the default). It tries (not sure if it succeeds) to warn you about quality profiles being reset (would probably be one of the messages that pops up in the bottom middle of the screen). Then it has an error trying to populate the list of printers in the "Add a non-networked printer" screen.

     

    You then quit Cura and reopen it fourteen seconds later. This time it actually opens and runs as normal, but because it wasn't able to generate correct config files the first time, you're missing your settings.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 3 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...