Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cura starts, but slicing doesn't work #23951

Closed
phile314-fh opened this issue Mar 16, 2017 · 5 comments
Closed

Cura starts, but slicing doesn't work #23951

phile314-fh opened this issue Mar 16, 2017 · 5 comments

Comments

@phile314-fh
Copy link
Contributor

phile314-fh commented Mar 16, 2017

Issue description

Cura 2.4.0 starts, but no slicing happens after a 3d model is loaded. Right lower status box always says "Preparing to slice...", never completes.

Steps to reproduce

Open Cura
Load 3D stl model
"Preparing to slice" appears in right lower status box.

Expected result:
Slicing finishes.

Technical details

  • System: NixOS 17.03.git.f68da97 (Hummingbird)
  • Nix version: 1.11.7
  • Nixpkgs version: Nixos-unstable, commit 2839b10
@phile314-fh
Copy link
Contributor Author

Log:

2017-03-16 14:50:29,400 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin ConsoleLogger
2017-03-16 14:50:29,417 - INFO - CuraEngineBackend.CuraEngineBackend.__init__ [64]: Found CuraEngine at: /nix/store/gbvhhr20njhki2d4isvvna37xlr20bpx-curaengine-2.4.0/bin/CuraEngine
2017-03-16 14:50:29,418 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin CuraEngineBackend
2017-03-16 14:50:29,419 - WARNING - UM.PluginRegistry.loadPlugin [72]: Plugin ConsoleLogger was already loaded
2017-03-16 14:50:29,423 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin LocalFileOutputDevice
2017-03-16 14:50:29,459 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin UpdateChecker
2017-03-16 14:50:29,465 - INFO - UpdateChecker.UpdateChecker.run [40]: Checking for new version of cura
2017-03-16 14:50:29,465 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin FileLogger
2017-03-16 14:50:29,473 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin MirrorTool
2017-03-16 14:50:29,478 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin TranslateTool
2017-03-16 14:50:29,482 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin SelectionTool
2017-03-16 14:50:29,486 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin CameraTool
2017-03-16 14:50:29,495 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin ScaleTool
2017-03-16 14:50:29,507 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin RotateTool
2017-03-16 14:50:29,509 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin WireframeView
2017-03-16 14:50:29,511 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin SimpleView
2017-03-16 14:50:29,513 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin OBJReader
2017-03-16 14:50:29,518 - WARNING - STLReader.STLReader. [26]: Could not find numpy-stl, falling back to slower code.
2017-03-16 14:50:29,519 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin STLReader
2017-03-16 14:50:29,521 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin OBJWriter
2017-03-16 14:50:29,524 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin STLWriter
2017-03-16 14:50:29,527 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin AutoSave
2017-03-16 14:50:29,530 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin XRayView
2017-03-16 14:50:29,535 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin PerObjectSettingsTool
2017-03-16 14:50:29,587 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin UM3NetworkPrinting
2017-03-16 14:50:29,590 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin ChangeLogPlugin
2017-03-16 14:50:29,596 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin VersionUpgrade21to22
2017-03-16 14:50:29,598 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin VersionUpgrade22to24
2017-03-16 14:50:29,613 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin 3MFReader
2017-03-16 14:50:29,629 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin XmlMaterialProfile
2017-03-16 14:50:29,637 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin LayerView
2017-03-16 14:50:29,640 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin SliceInfoPlugin
2017-03-16 14:50:29,642 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin CuraProfileReader
2017-03-16 14:50:29,647 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin 3MFWriter
2017-03-16 14:50:29,652 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin RemovableDriveOutputDevice
2017-03-16 14:50:29,656 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin SolidView
2017-03-16 14:50:29,672 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin USBPrinting
2017-03-16 14:50:29,678 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin ImageReader
2017-03-16 14:50:29,681 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin CuraProfileWriter
2017-03-16 14:50:29,689 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin UltimakerMachineActions
2017-03-16 14:50:29,689 - WARNING - UM.PluginRegistry.loadPlugin [72]: Plugin CuraEngineBackend was already loaded
2017-03-16 14:50:29,693 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin GCodeProfileReader
2017-03-16 14:50:29,696 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin MachineSettingsAction
2017-03-16 14:50:29,705 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin X3DReader
2017-03-16 14:50:29,723 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin GCodeWriter
2017-03-16 14:50:29,726 - INFO - UM.PluginRegistry.loadPlugin [100]: Loaded plugin LegacyProfileReader
2017-03-16 14:50:29,727 - INFO - UM.Qt.QtApplication.__init__ [90]: Command line arguments: {'external-backend': False, 'disable-textures': False, 'file': []}
2017-03-16 14:50:29,730 - INFO - UM.VersionUpgradeManager.upgrade [100]: Looking for old configuration files to upgrade.
2017-03-16 14:50:29,731 - DEBUG - UM.Backend.Backend._logSocketState [167]: Socket state changed to Listening
2017-03-16 14:50:29,735 - INFO - UM.Backend.Backend.startEngine [71]: Started engine process: /nix/store/gbvhhr20njhki2d4isvvna37xlr20bpx-curaengine-2.4.0/bin/CuraEngine
2017-03-16 14:50:29,735 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] Calling engine with: ['/nix/store/gbvhhr20njhki2d4isvvna37xlr20bpx-curaengine-2.4.0/bin/CuraEngine', 'connect', '127.0.0.1:49674', '-j', '/nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/definitions/fdmprinter.def.json', '']
2017-03-16 14:50:29,743 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] 
2017-03-16 14:50:29,744 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] Cura_SteamEngine version DEV
2017-03-16 14:50:29,747 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] Copyright (C) 2014 David Braam
2017-03-16 14:50:29,750 - DEBUG - UM.Backend.Backend._logSocketState [171]: Socket state changed to Connected
2017-03-16 14:50:29,751 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] 
2017-03-16 14:50:29,751 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] This program is free software: you can redistribute it and/or modify
2017-03-16 14:50:29,751 - DEBUG - UM.Backend.Backend._onSocketStateChanged [161]: Backend connected on port 49674
2017-03-16 14:50:29,751 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] it under the terms of the GNU Affero General Public License as published by
2017-03-16 14:50:29,756 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] the Free Software Foundation, either version 3 of the License, or
2017-03-16 14:50:29,756 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] (at your option) any later version.
2017-03-16 14:50:29,756 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] 
2017-03-16 14:50:29,756 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] This program is distributed in the hope that it will be useful,
2017-03-16 14:50:29,757 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
2017-03-16 14:50:29,757 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2017-03-16 14:50:29,757 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] GNU Affero General Public License for more details.
2017-03-16 14:50:29,758 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] 
2017-03-16 14:50:29,758 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] You should have received a copy of the GNU Affero General Public License
2017-03-16 14:50:29,758 - DEBUG - UM.Backend.Backend._backendLog [89]: [Backend] along with this program.  If not, see .
2017-03-16 14:50:30,123 - DEBUG - MachineSettingsAction.MachineSettingsAction._onContainerAdded [69]: Not attaching MachineSettingsAction to ord; Multi-extrusion printers are not supported
2017-03-16 14:50:30,607 - DEBUG - MachineSettingsAction.MachineSettingsAction._onContainerAdded [69]: Not attaching MachineSettingsAction to ultimaker3_extended; Multi-extrusion printers are not supported
2017-03-16 14:50:30,804 - DEBUG - MachineSettingsAction.MachineSettingsAction._onContainerAdded [69]: Not attaching MachineSettingsAction to ultimaker3; Multi-extrusion printers are not supported
2017-03-16 14:50:31,151 - DEBUG - MachineSettingsAction.MachineSettingsAction._onContainerAdded [69]: Not attaching MachineSettingsAction to punchtec_connect_xl; Multi-extrusion printers are not supported
2017-03-16 14:50:31,601 - DEBUG - MachineSettingsAction.MachineSettingsAction._onContainerAdded [69]: Not attaching MachineSettingsAction to ultimaker_original_dual; Multi-extrusion printers are not supported
2017-03-16 14:50:34,192 - DEBUG - UM.Controller.setActiveView [81]: Setting active view to SolidView
2017-03-16 14:50:34,714 - DEBUG - UM.Qt.Bindings.Theme.load [126]: Loading theme file: /nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/themes/cura/theme.json
2017-03-16 14:50:34,786 - DEBUG - UM.Qt.Bindings.Theme.load [186]: Loaded theme /nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/themes/cura
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
2017-03-16 14:50:34,972 - WARNING - cura.Settings.ContainerManager.getContainerMetaDataEntry [175]: Could not get metadata of container  because it was not found.
qml: TableViewSelection: index out of range
qml: TableViewSelection: index out of range
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/Cura.qml:181: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/Cura.qml:182: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/Cura.qml:183: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarHeader.qml:34: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarHeader.qml:29: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:66: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:250: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:278: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:325: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:291: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:311: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/SidebarSimple.qml:401: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/Settings/SettingView.qml:349: TypeError: Cannot read property 'value' of null
file:///nix/store/jx09rfihvaxg9myx0rsq8wzk97agp2xg-cura-2.4.0/share/cura/resources/qml/Settings/SettingView.qml:356: TypeError: Cannot read property 'value' of null
2017-03-16 14:50:35,206 - DEBUG - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [134]: Creating additional ui components for UM3.
2017-03-16 14:50:35,427 - DEBUG - UM.Qt.GL.QtOpenGL.__init__ [57]: Initialized OpenGL subsystems.
2017-03-16 14:50:35,427 - DEBUG - UM.Qt.GL.QtOpenGL.__init__ [58]: OpenGL Version:  3.0 Mesa 17.0.0
2017-03-16 14:50:35,428 - DEBUG - UM.Qt.GL.QtOpenGL.__init__ [59]: OpenGL Vendor:   Intel Open Source Technology Center
2017-03-16 14:50:35,428 - DEBUG - UM.Qt.GL.QtOpenGL.__init__ [60]: OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
2017-03-16 14:50:46,725 - DEBUG - UM.Mesh.MeshData.calculateNormalsFromVertices [379]: Calculating normals took 0.0018420219421386719 seconds
2017-03-16 14:50:46,726 - DEBUG - STLReader.STLReader.read [63]: Loaded a mesh with 54246 vertices
2017-03-16 14:50:46,752 - DEBUG - UM.Mesh.MeshData.approximateConvexHull [347]: approximateConvexHull(target_count=1024) Calculating 3D convex hull took 0.02570819854736328 seconds. 606 input vertices. 606 output vertices.
2017-03-16 14:50:46,761 - DEBUG - UM.FileHandler.ReadFileJob.run [59]: Loading file took 0.19300079345703125 seconds
2017-03-16 14:50:46,788 - DEBUG - UM.Mesh.MeshData.approximateConvexHull [347]: approximateConvexHull(target_count=1024) Calculating 3D convex hull took 0.02350163459777832 seconds. 578 input vertices. 578 output vertices.
2017-03-16 14:50:47,315 - DEBUG - CuraEngineBackend.CuraEngineBackend.slice [152]: Starting slice job...
2017-03-16 14:50:47,840 - DEBUG - CuraEngineBackend.CuraEngineBackend.slice [152]: Starting slice job...
2017-03-16 14:50:48,366 - DEBUG - CuraEngineBackend.CuraEngineBackend.slice [152]: Starting slice job...
2017-03-16 14:50:48,892 - DEBUG - CuraEngineBackend.CuraEngineBackend.slice [152]: Starting slice job...

@abbradar
Copy link
Member

Interesting; I've successfully sliced several models after the update.

I'll try this on your commit.

@phile314-fh
Copy link
Contributor Author

phile314-fh commented Mar 16, 2017

Seems to depend on printer type, it works for me for some printers.
Working:

  • Ultimaker Original+
  • Ultimaker 2

Broken:

  • Ultimaker 2+
  • Ultimaker 3

@abbradar
Copy link
Member

Ouch, not nice. My custom printer (Micro 3D, with RepRap G-Code flavour) worked fine. Maybe try reporting this upstream? I can't try to reproduce now because of #23474.

@phile314-fh
Copy link
Contributor Author

I am no longer using Cura, closing this for now. If somebody else wants to take over, feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants