Jump to content
jhutchings

Cura stuck on splash screen - log included

Recommended Posts

Posted · Cura stuck on splash screen - log included

hey!

I just installed Cura on windows 10 but i can't start it up because it doesn't go past the splash screen. does anyone know what to make of the log? thanks

ERROR:Cura\util\pymclevel\materials.py:Failed to read minecraft.yaml using pkg_resources. Trying pymclevel\minecraft.yaml instead.
Traceback (most recent call last):
 File "Cura\util\pymclevel\materials.py", line 159, in addYamlBlocksFromFile
   import pkg_resources
 File "C:\Program Files (x86)\Cura_15.04.4\python\lib\site-packages\pkg_resources.py", line 698, in 
   class Environment(object):
 File "C:\Program Files (x86)\Cura_15.04.4\python\lib\site-packages\pkg_resources.py", line 701, in Environment
   def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
 File "C:\Program Files (x86)\Cura_15.04.4\python\lib\site-packages\pkg_resources.py", line 96, in get_supported_platform
   plat = get_build_platform(); m = macosVersionString.match(plat)
 File "C:\Program Files (x86)\Cura_15.04.4\python\lib\site-packages\pkg_resources.py", line 221, in get_build_platform
   from distutils.util import get_platform
ImportError: No module named distutils.util
Traceback (most recent call last):
 File "C:\Program Files (x86)\Cura_15.04.4\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14660, in 
   lambda event: event.callable(*event.args, **event.kw) )
 File "Cura\gui\splashScreen.py", line 15, in DoCallback
   self.callback()
 File "Cura\gui\app.py", line 103, in afterSplashCallback
   from Cura.gui import mainWindow
 File "Cura\gui\mainWindow.py", line 22, in 
   from Cura.gui.tools import minecraftImport
 File "Cura\gui\tools\minecraftImport.py", line 14, in 
   from Cura.util.pymclevel import mclevel
 File "Cura\util\pymclevel\__init__.py", line 4, in 
   from indev import MCIndevLevel
 File "Cura\util\pymclevel\indev.py", line 63, in 
   from level import MCLevel
 File "Cura\util\pymclevel\level.py", line 7, in 
   import blockrotation
 File "Cura\util\pymclevel\blockrotation.py", line 1, in 
   from materials import alphaMaterials
 File "Cura\util\pymclevel\materials.py", line 292, in 
   alphaMaterials.addYamlBlocksFromFile("minecraft.yaml")
 File "Cura\util\pymclevel\materials.py", line 168, in addYamlBlocksFromFile
   f = file(path)
IOError: [Errno 2] No such file or directory: 'pymclevel\\minecraft.yaml'

Share this post


Link to post
Share on other sites
Posted · Cura stuck on splash screen - log included

I'm having a similar problem.

Running Octoprint through M3Dfio and the screen to resize, etc. has disappeared.

Running Cura on its own results in the splash screen which disappears on a mouse click.

Uninstalling and reinstalling has no effect.

Share this post


Link to post
Share on other sites
Posted · Cura stuck on splash screen - log included

Uhm. The solution is very silly I'm affraid. Remove minecraft from your system.

Share this post


Link to post
Share on other sites
Posted (edited) · Cura stuck on splash screen - log included

Uhm. The solution is very silly I'm affraid. Remove minecraft from your system.

Well that would help if I had Minecraft on my sytem.

I have very little on the computer because I use it almost exclusively for 3D printing.

I tried messing around with glut.dll as suggested in previous posts but that didn't work.  Also it is present in one of the python subdirectories

The only software I have installed recently is GiMP.

Edited by Guest

Share this post


Link to post
Share on other sites
Posted · Cura stuck on splash screen - log included

I had the same problem. (possible cause: using AVG TuneUp registry clean-up).

Uninstalling Cura and Minecraft didn't help.

I found that it helps to make the following change to Cura\util\pymclevel\materials.py

From:

 

    def addYamlBlocksFromFile(self, filename):       if  yaml is None:           return

 

To:

 

    def addYamlBlocksFromFile(self, filename):       if True:           return

 

  • Like 1

Share this post


Link to post
Share on other sites
Posted · Cura stuck on splash screen - log included

Universalist!!

Wow after a week of frustration, this resolve my issue!

Big Thanks!

Share this post


Link to post
Share on other sites
Posted · Cura stuck on splash screen - log included

I have the same error on Win7 trying to install Cura14 for my UM original. Never played or installed Minecraft.

The file the error refers to is located in C:\cura14\Cura\util\pymclevel\minecraft.yaml

Editing Cura\util\pymclevel\materials.py as suggested did not help.

Share this post


Link to post
Share on other sites
Posted · Cura stuck on splash screen - log included

I finally solved it on my Win7 computer. I am using UM original after a very long time. I tried newer Cura 2.6 version but could not get same results as using older Cura 14 version.

The error was obvious:

"ImportError: No module named distutils.util"

I already had Python installed. So I copied folder C:\Python27\Lib\distutils to C:\cura14\python\Lib\distutils and now the error is gone.

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.


  • 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.
      • 23 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!