Jump to content
Sign in to follow this  
slice396

Cura closes after splash screen - solved

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

 

 

Share this post


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).

 

Share this post


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.

 

Share this post


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

 

Share this post


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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!