FS#55963 - [cura] mainwindow does not show
Attached to Project:
Community Packages
Opened by Jan Wiele (jansen) - Thursday, 12 October 2017, 11:58 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 04 November 2017, 15:15 GMT
Opened by Jan Wiele (jansen) - Thursday, 12 October 2017, 11:58 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 04 November 2017, 15:15 GMT
|
Details
Desc:
Hi, Cura' s mainwindow does not show. I can see the loading screen, but after that nothing appears. Cura seems to be running. Attaching to the process via GDB and running a "bt" shows the Qt Eventloop. Perhaps this has something to do with the new Qt version/KDE Plasma 5.11 upgrade? The Appimage from the ultimaker website works. Additional info: * Cura 2.7.0-1 Steps to reproduce: Start Cura cura log: UM.Resources.__initializeStoragePaths [342]: Initializing storage paths UM.Resources.__initializeStoragePaths [353]: Config storage path is /home/jan/.config/cura/master UM.Resources.__initializeStoragePaths [361]: Data storage path is /home/jan/.local/share/cura/master UM.Resources.__initializeStoragePaths [373]: Cache storage path is /home/jan/.cache/cura/master UM.View.GL.OpenGLContext.detectBestOpenGLVersion [103]: Trying OpenGL context 4.1... UM.View.GL.OpenGLContext.detectBestOpenGLVersion [113]: Yay, we got at least OpenGL 4.1 core: 4.5 Core profile UM.Qt.QtApplication.__init__ [80]: Detected most suitable OpenGL context version: 4.1 Core profile 2017-10-12 13:55:12,116 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ConsoleLogger 2017-10-12 13:55:12,142 - INFO - CuraEngineBackend.CuraEngineBackend.__init__ [64]: Found CuraEngine at: /usr/bin/CuraEngine 2017-10-12 13:55:12,143 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraEngineBackend 2017-10-12 13:55:12,146 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin FileLogger 2017-10-12 13:55:12,148 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SimpleView 2017-10-12 13:55:12,153 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LocalFileOutputDevice 2017-10-12 13:55:12,155 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLWriter 2017-10-12 13:55:12,159 - WARNING - STLReader.STLReader.<module> [25]: Could not find numpy-stl, falling back to slower code. 2017-10-12 13:55:12,160 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLReader 2017-10-12 13:55:12,162 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJWriter 2017-10-12 13:55:12,165 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJReader 2017-10-12 13:55:12,203 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UpdateChecker 2017-10-12 13:55:12,204 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded 2017-10-12 13:55:12,211 - INFO - UpdateChecker.UpdateCheckerJob.run [44]: Checking for new version of cura 2017-10-12 13:55:12,215 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MirrorTool 2017-10-12 13:55:12,220 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin TranslateTool 2017-10-12 13:55:12,227 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RotateTool 2017-10-12 13:55:12,234 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ScaleTool 2017-10-12 13:55:12,236 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SelectionTool 2017-10-12 13:55:12,240 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CameraTool 2017-10-12 13:55:12,240 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin FileLogger was already loaded 2017-10-12 13:55:12,247 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade21to22 2017-10-12 13:55:12,250 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade26to27 2017-10-12 13:55:12,253 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade22to24 2017-10-12 13:55:12,257 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade25to26 2017-10-12 13:55:12,257 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin SimpleView was already loaded 2017-10-12 13:55:12,264 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UltimakerMachineActions 2017-10-12 13:55:12,266 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileReader 2017-10-12 13:55:12,274 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XmlMaterialProfile 2017-10-12 13:55:12,281 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LayerView 2017-10-12 13:55:12,284 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SolidView 2017-10-12 13:55:12,290 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RemovableDriveOutputDevice 2017-10-12 13:55:12,292 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin AutoSave 2017-10-12 13:55:12,292 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin LocalFileOutputDevice was already loaded 2017-10-12 13:55:12,298 - WARNING - 3MFReader.<module> [10]: Could not import ThreeMFReader; libSavitar may be missing 2017-10-12 13:55:12,307 - WARNING - 3MFReader.<module> [10]: Could not import ThreeMFReader; libSavitar may be missing 2017-10-12 13:55:12,308 - ERROR - UM.PluginRegistry.loadPlugin [220]: Plugin 3MFReader did not return any objects to register 2017-10-12 13:55:12,310 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeWriter 2017-10-12 13:55:12,315 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeReader 2017-10-12 13:55:12,317 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ChangeLogPlugin 2017-10-12 13:55:12,321 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PerObjectSettingsTool 2017-10-12 13:55:12,321 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin STLWriter was already loaded 2017-10-12 13:55:12,321 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin STLReader was already loaded 2017-10-12 13:55:12,321 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin OBJWriter was already loaded 2017-10-12 13:55:12,321 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin OBJReader was already loaded 2017-10-12 13:55:12,321 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin UpdateChecker was already loaded 2017-10-12 13:55:12,325 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MachineSettingsAction 2017-10-12 13:55:12,327 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeProfileReader 2017-10-12 13:55:12,330 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XRayView 2017-10-12 13:55:12,332 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileWriter 2017-10-12 13:55:12,333 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded 2017-10-12 13:55:12,341 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin X3DReader 2017-10-12 13:55:12,341 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CuraEngineBackend was already loaded 2017-10-12 13:55:12,344 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LegacyProfileReader 2017-10-12 13:55:12,348 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PluginBrowser 2017-10-12 13:55:12,362 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin USBPrinting 2017-10-12 13:55:12,369 - WARNING - 3MFWriter.<module> [9]: Could not import ThreeMFWriter; libSavitar may be missing 2017-10-12 13:55:12,376 - WARNING - 3MFWriter.<module> [9]: Could not import ThreeMFWriter; libSavitar may be missing 2017-10-12 13:55:12,376 - ERROR - UM.PluginRegistry.loadPlugin [220]: Plugin 3MFWriter did not return any objects to register 2017-10-12 13:55:12,381 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ImageReader 2017-10-12 13:55:12,437 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UM3NetworkPrinting 2017-10-12 13:55:12,438 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin MirrorTool was already loaded 2017-10-12 13:55:12,438 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin TranslateTool was already loaded 2017-10-12 13:55:12,438 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin RotateTool was already loaded 2017-10-12 13:55:12,438 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ScaleTool was already loaded 2017-10-12 13:55:12,438 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin SelectionTool was already loaded 2017-10-12 13:55:12,438 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CameraTool was already loaded 2017-10-12 13:55:12,439 - INFO - UM.Qt.QtApplication.__init__ [112]: Command line arguments: {'external-backend': False, 'disable-textures': False, 'qmljsdebugger': None, 'file': [], 'single_instance': False} 2017-10-12 13:55:12,442 - INFO - UM.VersionUpgradeManager.upgrade [112]: Looking for old configuration files to upgrade. 2017-10-12 13:55:12,452 - DEBUG - UM.Backend.Backend._logSocketState [174]: Socket state changed to Listening 2017-10-12 13:55:12,457 - INFO - UM.Backend.Backend.startEngine [75]: Started engine process: /usr/bin/CuraEngine 2017-10-12 13:55:12,458 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Calling engine with: ['/usr/bin/CuraEngine', 'connect', '127.0.0.1:49674', '-j', '/usr/share/cura/resources/definitions/fdmprinter.def.json', ''] 2017-10-12 13:55:12,465 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] 2017-10-12 13:55:12,465 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Cura_SteamEngine version DEV 2017-10-12 13:55:12,466 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Copyright (C) 2014 David Braam 2017-10-12 13:55:12,466 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] 2017-10-12 13:55:12,466 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] This program is free software: you can redistribute it and/or modify 2017-10-12 13:55:12,467 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] it under the terms of the GNU Affero General Public License as published by 2017-10-12 13:55:12,467 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] the Free Software Foundation, either version 3 of the License, or 2017-10-12 13:55:12,467 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] (at your option) any later version. 2017-10-12 13:55:12,467 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] 2017-10-12 13:55:12,467 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] This program is distributed in the hope that it will be useful, 2017-10-12 13:55:12,468 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of 2017-10-12 13:55:12,468 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2017-10-12 13:55:12,468 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] GNU Affero General Public License for more details. 2017-10-12 13:55:12,468 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] 2017-10-12 13:55:12,468 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] You should have received a copy of the GNU Affero General Public License 2017-10-12 13:55:12,469 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] along with this program. If not, see <http://www.gnu.org/licenses/>. 2017-10-12 13:55:13,430 - DEBUG - UM3NetworkPrinting.NetworkPrinterOutputDevicePlugin._onServiceChanged [210]: Bonjour service added: ultimakersystem-ccbdd3003475._ultimaker._tcp.local. 2017-10-12 13:55:21,679 - INFO - cura.Settings.GlobalStack.addExtruder [81]: Extruder[ultimaker3_extruder_left #2] added to [Ultimaker 3-Wifi] at position [0] 2017-10-12 13:55:21,679 - WARNING - UM.Settings.ContainerStack.addMetaDataEntry [162]: Meta data with key machine was already added. 2017-10-12 13:55:21,683 - INFO - cura.Settings.GlobalStack.addExtruder [81]: Extruder[ultimaker3_extruder_right #2] added to [Ultimaker 3-Wifi] at position [1] 2017-10-12 13:55:21,684 - WARNING - UM.Settings.ContainerStack.addMetaDataEntry [162]: Meta data with key machine was already added. 2017-10-12 13:55:21,685 - DEBUG - UM.Settings.ContainerRegistry.load [214]: Loading data into container registry took 9.157571077346802 seconds 2017-10-12 13:55:21,686 - DEBUG - UM.Backend.Backend._logSocketState [178]: Socket state changed to Connected 2017-10-12 13:55:21,686 - DEBUG - UM.Backend.Backend._onSocketStateChanged [168]: Backend connected on port 49674 2017-10-12 13:55:21,711 - DEBUG - UM.Controller.setActiveView [84]: Setting active view to SolidView 2017-10-12 13:55:21,715 - DEBUG - UM3NetworkPrinting.NetworkPrinterOutputDevicePlugin.reCheckConnections [168]: Connecting [ultimakersystem-ccbdd3003475._ultimaker._tcp.local.]... 2017-10-12 13:55:21,721 - DEBUG - UM3NetworkPrinting.NetworkPrinterOutputDevice.connect [750]: Connection with printer ultimakersystem-ccbdd3003475._ultimaker._tcp.local. with ip 192.168.10.114 started 2017-10-12 13:55:21,721 - DEBUG - UM3NetworkPrinting.NetworkPrinterOutputDevice.connect [759]: Loaded authentication id 6a7cd2786d63de9389a2eb2076069903 and key ********15bc3 from the metadata entry 2017-10-12 13:55:22,641 - DEBUG - UM.Qt.Bindings.Theme.load [165]: Loading theme file: /usr/share/cura/resources/themes/cura/theme.json 2017-10-12 13:55:22,655 - DEBUG - UM.Qt.Bindings.Theme.load [232]: Loaded theme /usr/share/cura/resources/themes/cura 2017-10-12 13:55:22,660 - DEBUG - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [138]: Creating additional ui components for UM3. QQmlComponent: Component is not ready 2017-10-12 13:55:22,661 - WARNING - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [148]: Could not create ui components for UM3. 2017-10-12 13:55:22,669 - DEBUG - cura.PrinterOutputDevice._setMaterialId [480]: Setting material id of hotend 0 to 506c9f0d-e3aa-4bd4-b2d2-23e2425b1aa9 2017-10-12 13:55:22,675 - DEBUG - cura.PrinterOutputDevice._setHotendId [493]: Setting hotend id of hotend 0 to AA 0.4 2017-10-12 13:55:22,678 - DEBUG - cura.PrinterOutputDevice._setMaterialId [480]: Setting material id of hotend 1 to 86a89ceb-4159-47f6-ab97-e9953803d70f 2017-10-12 13:55:22,685 - DEBUG - cura.PrinterOutputDevice._setHotendId [493]: Setting hotend id of hotend 1 to BB 0.4 2017-10-12 13:55:22,710 - DEBUG - UM.Mesh.MeshData.approximateConvexHull [392]: approximateConvexHull(target_count=1024) Calculating 3D convex hull took 0.020813941955566406 seconds. 121 input vertices. 121 output vertices. 2017-10-12 13:55:22,721 - DEBUG - UM3NetworkPrinting.NetworkPrinterOutputDevice._onAuthenticationRequired [212]: Authentication was required. Setting up authenticator with ID 6a7cd2786d63de9389a2eb2076069903 and key ********15bc3 2017-10-12 13:55:22,891 - DEBUG - UM3NetworkPrinting.NetworkPrinterOutputDevice.setAuthenticationState [363]: Authentication state changed to authenticated 2017-10-12 13:55:26,778 - INFO - UM3NetworkPrinting.NetworkPrinterOutputDevice._onFinished [1077]: Authentication succeeded for id 6a7cd2786d63de9389a2eb2076069903 and key ********15bc3 |
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 04 November 2017, 15:15 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by qt5-declarative
Saturday, 04 November 2017, 15:15 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by qt5-declarative
In my case the bug was triggered with the last system update, where cura wasn't touched but qt5 was.
Downgrading qt5-* from 5.9.2 to 5.9.1 fixed it, so it may be a problem with qt5 after all (?).
local/pyqt5-common 5.9-1
Common PyQt files shared between python-pyqt5 and python2-pyqt5
local/python-pyqt5 5.9-1
A set of Python 3.x bindings for the Qt5 toolkit
local/python2-pyqt5 5.9-1
A set of Python 2.x bindings for the Qt5 toolkit
Never mind had to downgrade more..
pacman -U qt5-xmlpatterns-5.9.1-2-x86_64.pkg.tar.xz qt5-declarative-5.9.1-5-x86_64.pkg.tar.xz qt5-graphicaleffects-5.9.1-1-x86_64.pkg.tar.xz qt5-location-5.9.1-2-x86_64.pkg.tar.xz qt5-sensors-5.9.1-2-x86_64.pkg.tar.xz qt5-quickcontrols-5.9.1-2-x86_64.pkg.tar.xz qt5-svg-5.9.1-2-x86_64.pkg.tar.xz qt5-webchannel-5.9.1-2-x86_64.pkg.tar.xz qt5-webkit-5.212.0alpha2-4-x86_64.pkg.tar.xz qt5-x11extras-5.9.1-2-x86_64.pkg.tar.xz pyqt5-common-5.9-1-x86_64.pkg.tar.xz python2-pyqt5-5.9-1-x86_64.pkg.tar.xz python-pyqt5-5.9-1-x86_64.pkg.tar.xz
Did the track. So yeah I suspect 5.9.1 => 5.9.2 borked something in PyQt, but calibre still works.
I have a feeling this line gives a clue:
2017-10-12 21:05:32,641 - DEBUG - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [138]: Creating additional ui components for UM3.
QQmlComponent: Component is not ready
It's happening only because there is no window to put stuff into. You can remove UM3NetworkPrinting plugin and there will be no such error and still no window :(