Jump to content

Cura closes after splash screen - solved


slice396

Recommended Posts

Posted · Cura closes after splash screen - solved

Hello,

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

self.callback()

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.

 

thanks

 

 

  • 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
    APPDATA=C:\Users\Otis\AppData\Roaming

    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

    Thanks

     

  • 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

      • UltiMaker Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • 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...