Jump to content
Ultimaker Community of 3D Printing Experts

Cura closes after splash screen - solved


Recommended Posts

Posted · Cura closes after splash screen - solved


When i try to start cura ( tried it with version 14.01 till 13.10) i get the splash screen and after that it closes. only working version is 12.10...

the error in the output file is:

# Generating comtypes.gen._683BF642_E9CA_4124_BE43_67065B2FA653_0_1_0

# Generating comtypes.gen.TaskbarLib

Traceback (most recent call last):

File "C:\Program Files (x86)\Cura_14.01\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14660, in <lambda>

lambda event: event.callable(*event.args, **event.kw) )

File "Cura\gui\splashScreen.py", line 16, in DoCallback


File "Cura\gui\app.py", line 75, in afterSplashCallback

from Cura.gui import mainWindow

File "Cura\gui\mainWindow.py", line 21, in <module>

from Cura.gui.tools import minecraftImport

File "Cura\gui\tools\minecraftImport.py", line 11, in <module>

from Cura.util.pymclevel import mclevel

File "Cura\util\pymclevel\__init__.py", line 4, in <module>

from indev import MCIndevLevel

File "Cura\util\pymclevel\indev.py", line 63, in <module>

from level import MCLevel

File "Cura\util\pymclevel\level.py", line 15, in <module>

from mclevelbase import ChunkMalformed, ChunkNotPresent, exhaust

File "Cura\util\pymclevel\mclevelbase.py", line 65, in <module>

appDataDir = win32_appdata()

File "Cura\util\pymclevel\mclevelbase.py", line 62, in win32_appdata

return os.environ['APPDATA'].decode(sys.getfilesystemencoding())

File "C:\Program Files (x86)\Cura_14.01\python\lib\os.py", line 423, in __getitem__

return self.data[key.upper()]

KeyError: 'APPDATA'


couldn't find it on google so i hope someone here can tell me what im doing wrong... I'm working on windows 7.





  • Link to post
    Share on other sites

    Posted · Cura closes after splash screen - solved

    Open a CMD window and type "set appdata" and see where your appdata actuall is. Is there something strange about it? I'm going to guess there are non english characters or it points to a network drive or something. Here is mine:


    C:\Windows\system32>set appdata

    Instead of where mine has "Otis" maybe yours has something like: François? Some non english character? That will mess up python sometimes (cura was written in python).


  • Link to post
    Share on other sites

    Posted · Cura closes after splash screen - solved

    If this is the problem a quick fix might be to create a second username with no accents, log into windows with that username and see if the problem with Cura is gone.


  • Link to post
    Share on other sites

    Posted · Cura closes after splash screen - solved

    When typing this command i got the error about the variabele not being defined. This is what i did (and it worked)

    Start > Right click on this pc > property's > Advanced systemsettings > Environment variables > New

    (im dutch so menu buttons may be different)

    Then i added a variable with the name APPDATA and the value C:\Users\(My name)\AppData\Roaming

    After that cura worked flawless



  • Link to post
    Share on other sites

    Posted · Cura closes after splash screen - solved

    I've also patched up the code so this should no longer happen. However, APPDATA should normally be defined, so it's odd that it was no longer set.


  • 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

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 13 replies
    • Create New...