Jump to content

Cura (all versions) fail to start after Windows crash with profile corruption


Recommended Posts

Posted (edited) · Cura (all versions) fail to start after Windows crash with profile corruption

Hello!  My computer got a BSOD and when I logged back in some of my Windows settings had been reverted, my Google Chrome profile was gone, etc.    I assume environment variables and the like might be messed up too.  Maybe Python and stuff too. Just a backstory.  Cura worked great before the crash.

When I try to launch Cura (2.6, 2.7 or 3.0) nothing happens.  No splash screen or anything.  I deleted the appdata/local/cura folders and when I launch Cura I get a stderr.log (which is empty) and a stdout.log which is pasted below.  No other files or folders.  I've tried reinstalling but this is all that happens.

Thanks!

stdout.log:

 

UM.Qt.QtApplication.__init__ [55]: Adding QT5 plugin path: C:\Program Files\Ultimaker Cura 3.0\PyQt5\pluginsUM.Qt.QtApplication.__init__ [65]: Adding QT5 plugin path: C:\Program Files\Ultimaker Cura 3.0\PyQt5\pluginsUM.Resources.__initializeStoragePaths [342]: Initializing storage pathscura.CrashHandler.show [39]: An uncaught exception has occurred!cura.CrashHandler.show [42]: Traceback (most recent call last):cura.CrashHandler.show [42]:   File "", line 969, in _find_and_loadcura.CrashHandler.show [42]:   File "", line 958, in _find_and_load_unlockedcura.CrashHandler.show [42]:   File "", line 664, in _load_unlockedcura.CrashHandler.show [42]:   File "", line 634, in _load_backward_compatiblecura.CrashHandler.show [42]:   File "__startup__.py", line 12, in cura.CrashHandler.show [42]:   File "", line 969, in _find_and_loadcura.CrashHandler.show [42]:   File "", line 958, in _find_and_load_unlockedcura.CrashHandler.show [42]:   File "", line 664, in _load_unlockedcura.CrashHandler.show [42]:   File "", line 634, in _load_backward_compatiblecura.CrashHandler.show [42]:   File "Console.py", line 24, in cura.CrashHandler.show [42]:   File "X:\3.0\build\inst\bin\cura_app.py", line 81, in cura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Application.py", line 321, in getInstancecura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\cura\CuraApplication.py", line 206, in __init__cura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Qt\QtApplication.py", line 70, in __init__cura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Application.py", line 89, in __init__cura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Resources.py", line 65, in getPathcura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Resources.py", line 117, in getStoragePathcura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Resources.py", line 154, in getStoragePathForTypecura.CrashHandler.show [42]:   File "X:\3.0\build\inst\lib\python3.5\site-packages\UM\Resources.py", line 352, in __initializeStoragePathscura.CrashHandler.show [42]:   File "ntpath.py", line 113, in joincura.CrashHandler.show [42]:   File "genericpath.py", line 143, in _check_arg_typescura.CrashHandler.show [42]: TypeError: join() argument must be str or bytes, not 'NoneType'

 

Edited by Guest
  • Link to post
    Share on other sites

    Posted (edited) · Cura (all versions) fail to start after Windows crash with profile corruption

    I'm assuming that since you're a Windows (version?) user, you create regular system backups to extract you from a messy situation when one strikes? I use Aomei Backupper Standard which is free and excellent.

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Cura (all versions) fail to start after Windows crash with profile corruption

    Thanks nzo! I run Veeam and it works very well, but I'd rather not restore 3+ TB of data and reconcile everything I've changed in the past week just to fix an issue with a single application.

  • Link to post
    Share on other sites

    Posted (edited) · Cura (all versions) fail to start after Windows crash with profile corruption

    I assume environment variables and the like might be messed up too.

     

    See if the APPDATA environment variable exists by opening the start menu and typing %APPDATA% and pressing enter. It should open a folder.

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Cura (all versions) fail to start after Windows crash with profile corruption

    Hmm, it originally echoed as %appdata% in a command line. I ran "set appdata=c:\users\me\appdata\roaming" and now "echo %appdata%" works as expected but Cura is still behaving the same.

  • Link to post
    Share on other sites

    Posted · Cura (all versions) fail to start after Windows crash with profile corruption

    The set command works with echo but still not from a run prompt. Apparently there's a registry option that needs to be tweaked, I will try that.

  • Link to post
    Share on other sites

    Posted · Cura (all versions) fail to start after Windows crash with profile corruption

    After chasing keys around in the registry, I punted and restored my entire NTUSER.DAT file and now Cura loads and all my profiles and printers are back.

    It wasn't a Cura problem, but instead a Windows one.

  • 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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...