You are not logged in.
Hello,
after the latest upgrade of cura through pacman I get python errors when importing a STL model. Gcodes work, but STL fails. I already tried reinstalling cura and all dependencies, resetting the settings etc. This is the error I get:
2017-09-16 10:46:08,544 - DEBUG - UM.Mesh.MeshData.calculateNormalsFromVertices [425]: Calculating normals took 0.017048120498657227 seconds
2017-09-16 10:46:08,548 - DEBUG - STLReader.STLReader.read [79]: Loaded a mesh with 677118 vertices
2017-09-16 10:46:08,706 - DEBUG - UM.Mesh.MeshData.approximateConvexHull [392]: approximateConvexHull(target_count=1024) Calculating 3D convex hull took 0.15755724906921387 seconds. 458 input vertices. 458 output vertices.
2017-09-16 10:46:08,788 - DEBUG - UM.FileHandler.ReadFileJob.run [63]: Loading file took 2.3 seconds
2017-09-16 10:46:08,945 - DEBUG - UM.Mesh.MeshData.approximateConvexHull [392]: approximateConvexHull(target_count=1024) Calculating 3D convex hull took 0.15660333633422852 seconds. 458 input vertices. 458 output vertices.
2017-09-16 10:46:08,951 - ERROR - UM.Scene.SceneNode.callDecoration [239]: Exception calling decoration getConvexHull: '>' not supported between instances of 'NoneType' and 'int'
2017-09-16 10:46:08,956 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-09-16 10:46:08,957 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-09-16 10:46:08,957 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 713, in event
2017-09-16 10:46:08,957 - CRITICAL - cura.CrashHandler.show [42]: return super().event(event)
2017-09-16 10:46:08,958 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/UM/Qt/QtApplication.py", line 261, in event
2017-09-16 10:46:08,958 - CRITICAL - cura.CrashHandler.show [42]: event._function_event.call()
2017-09-16 10:46:08,958 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/UM/Event.py", line 189, in call
2017-09-16 10:46:08,958 - CRITICAL - cura.CrashHandler.show [42]: self._function(*self._args, **self._kwargs)
2017-09-16 10:46:08,958 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/UM/Signal.py", line 315, in __performEmit
2017-09-16 10:46:08,958 - CRITICAL - cura.CrashHandler.show [42]: func(dest, *args, **kwargs)
2017-09-16 10:46:08,959 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 1355, in _readMeshFinished
2017-09-16 10:46:08,959 - CRITICAL - cura.CrashHandler.show [42]: offset_shape_arr, hull_shape_arr = ShapeArray.fromNode(node, min_offset = min_offset)
2017-09-16 10:46:08,959 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/cura/ShapeArray.py", line 49, in fromNode
2017-09-16 10:46:08,959 - CRITICAL - cura.CrashHandler.show [42]: offset_verts = hull_head_verts.getMinkowskiHull(Polygon.approximatedCircle(min_offset))
2017-09-16 10:46:08,959 - CRITICAL - cura.CrashHandler.show [42]: AttributeError: 'NoneType' object has no attribute 'getMinkowskiHull'
Has someone experienced this already? Is there a known workaround?
Thanks!
Last edited by nnscr (2017-09-16 21:12:22)
Offline
Offline
No, it doesn't seem to be related. The error message is different and the workaround doesn't work. Plus it starts for me and doesn't crash, in that bug report cura doesn't even start.
Offline
Okay, I've noticed that it works with a fresh install on my laptop. So I've traced down the problem and deleted the
~/.cache/cura
directory. So everything workings again!
Last edited by nnscr (2017-09-16 18:49:04)
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline