Closed JPFrancoia closed 6 years ago
I don't see how upgrading would influence your local files. Backing up those files (and restoring them) should work. I use that myself to set Cura to certain states (I am on fedora, but that shouldn't be an issue).
As for the custom scripts; The plugin now only checks in own location for scripts. If anyone has a good suggestion where else it should check, it's not that hard to expand on it.
i can confirm this issue there are more people having the same problem: https://bugs.archlinux.org/task/55963?project=5&cat%5B0%5D=33&string=cura
@nallath When I encounter a bug in Cura, I back up these files, then eras them, uninstall and reinstall cura. Just to make sure that my config files are not the problem.
But each time I try to restore, it fails, and I have to recreate machines/plugins/settings.
Is there any other file/directory I should back up ? How do you back up ? Do you have a script ?
Looks like you need the zeroconf
package. And this plugin of yours /usr/lib/cura/plugins/SliceInfoPlugin
needs to be updated: we now require a plugin.json
for each plugin.
I can confirm the issue of the missing main window when upgrading to Qt 5.9.2. Other qt applications seem unaffected so on a hunch I'd say this is a cura/uranium issue.
Here is a "clean" print of the console (after removing all user configs temporarily), showing that the issue is not related to the missing zeroconf or bad plugin:
UM.Resources.__initializeStoragePaths [342]: Initializing storage paths
UM.Resources.__initializeStoragePaths [353]: Config storage path is /home/themba/.config/cura/master
UM.Resources.__initializeStoragePaths [361]: Data storage path is /home/themba/.local/share/cura/master
UM.Resources.__initializeStoragePaths [373]: Cache storage path is /home/themba/.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 19:25:47,818 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ConsoleLogger
2017-10-12 19:25:47,841 - INFO - CuraEngineBackend.CuraEngineBackend.__init__ [64]: Found CuraEngine at: /usr/bin/CuraEngine
2017-10-12 19:25:47,841 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraEngineBackend
2017-10-12 19:25:47,855 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLReader
2017-10-12 19:25:47,859 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJWriter
2017-10-12 19:25:47,862 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJReader
2017-10-12 19:25:47,866 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLWriter
2017-10-12 19:25:47,875 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RotateTool
2017-10-12 19:25:47,881 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin TranslateTool
2017-10-12 19:25:47,886 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CameraTool
2017-10-12 19:25:47,896 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ScaleTool
2017-10-12 19:25:47,901 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MirrorTool
2017-10-12 19:25:47,905 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SelectionTool
2017-10-12 19:25:47,908 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin FileLogger
2017-10-12 19:25:47,912 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SimpleView
2017-10-12 19:25:47,912 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded
2017-10-12 19:25:47,919 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LocalFileOutputDevice
2017-10-12 19:25:47,958 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UpdateChecker
2017-10-12 19:25:47,967 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SolidView
2017-10-12 19:25:47,969 - INFO - UpdateChecker.UpdateCheckerJob.run [44]: Checking for new version of cura
2017-10-12 19:25:47,977 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade22to24
2017-10-12 19:25:47,984 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade21to22
2017-10-12 19:25:47,988 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade25to26
2017-10-12 19:25:47,992 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade26to27
2017-10-12 19:25:47,992 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CuraEngineBackend was already loaded
2017-10-12 19:25:47,998 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MachineSettingsAction
2017-10-12 19:25:48,048 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UM3NetworkPrinting
2017-10-12 19:25:48,053 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XRayView
2017-10-12 19:25:48,066 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin X3DReader
2017-10-12 19:25:48,070 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeProfileReader
2017-10-12 19:25:48,075 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ImageReader
2017-10-12 19:25:48,079 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileWriter
2017-10-12 19:25:48,079 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin STLReader was already loaded
2017-10-12 19:25:48,079 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin OBJWriter was already loaded
2017-10-12 19:25:48,080 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin OBJReader was already loaded
2017-10-12 19:25:48,080 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin STLWriter was already loaded
2017-10-12 19:25:48,088 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XmlMaterialProfile
2017-10-12 19:25:48,092 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileReader
2017-10-12 19:25:48,104 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LayerView
2017-10-12 19:25:48,104 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin RotateTool was already loaded
2017-10-12 19:25:48,104 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin TranslateTool was already loaded
2017-10-12 19:25:48,104 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CameraTool was already loaded
2017-10-12 19:25:48,104 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ScaleTool was already loaded
2017-10-12 19:25:48,105 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin MirrorTool was already loaded
2017-10-12 19:25:48,105 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin SelectionTool was already loaded
2017-10-12 19:25:48,105 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin FileLogger was already loaded
2017-10-12 19:25:48,110 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ChangeLogPlugin
2017-10-12 19:25:48,110 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin SimpleView was already loaded
2017-10-12 19:25:48,117 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeReader
2017-10-12 19:25:48,121 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LegacyProfileReader
2017-10-12 19:25:48,143 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin USBPrinting
2017-10-12 19:25:48,160 - WARNING - 3MFWriter.<module> [9]: Could not import ThreeMFWriter; libSavitar may be missing
2017-10-12 19:25:48,164 - WARNING - 3MFWriter.<module> [9]: Could not import ThreeMFWriter; libSavitar may be missing
2017-10-12 19:25:48,165 - ERROR - UM.PluginRegistry.loadPlugin [220]: Plugin 3MFWriter did not return any objects to register
2017-10-12 19:25:48,165 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded
2017-10-12 19:25:48,171 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RemovableDriveOutputDevice
2017-10-12 19:25:48,180 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PerObjectSettingsTool
2017-10-12 19:25:48,180 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin LocalFileOutputDevice was already loaded
2017-10-12 19:25:48,180 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin UpdateChecker was already loaded
2017-10-12 19:25:48,185 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeWriter
2017-10-12 19:25:48,189 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin AutoSave
2017-10-12 19:25:48,197 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UltimakerMachineActions
2017-10-12 19:25:48,202 - WARNING - 3MFReader.<module> [10]: Could not import ThreeMFReader; libSavitar may be missing
2017-10-12 19:25:48,215 - WARNING - 3MFReader.<module> [10]: Could not import ThreeMFReader; libSavitar may be missing
2017-10-12 19:25:48,216 - ERROR - UM.PluginRegistry.loadPlugin [220]: Plugin 3MFReader did not return any objects to register
2017-10-12 19:25:48,220 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PluginBrowser
2017-10-12 19:25:48,221 - INFO - UM.Qt.QtApplication.__init__ [112]: Command line arguments: {'external-backend': False, 'disable-textures': False, 'qmljsdebugger': None, 'file': [], 'single_instance': False}
2017-10-12 19:25:48,224 - INFO - UM.VersionUpgradeManager.upgrade [112]: Looking for old configuration files to upgrade.
2017-10-12 19:25:48,246 - DEBUG - UM.Backend.Backend._logSocketState [174]: Socket state changed to Listening
2017-10-12 19:25:48,251 - INFO - UM.Backend.Backend.startEngine [75]: Started engine process: /usr/bin/CuraEngine
2017-10-12 19:25:48,252 - 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 19:25:48,267 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-12 19:25:48,267 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Cura_SteamEngine version DEV
2017-10-12 19:25:48,268 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Copyright (C) 2014 David Braam
2017-10-12 19:25:48,268 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-12 19:25:48,268 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] This program is free software: you can redistribute it and/or modify
2017-10-12 19:25:48,268 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] it under the terms of the GNU Affero General Public License as published by
2017-10-12 19:25:48,268 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] the Free Software Foundation, either version 3 of the License, or
2017-10-12 19:25:48,268 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] (at your option) any later version.
2017-10-12 19:25:48,269 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-12 19:25:48,269 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] This program is distributed in the hope that it will be useful,
2017-10-12 19:25:48,269 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
2017-10-12 19:25:48,269 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2017-10-12 19:25:48,269 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] GNU Affero General Public License for more details.
2017-10-12 19:25:48,269 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-12 19:25:48,270 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] You should have received a copy of the GNU Affero General Public License
2017-10-12 19:25:48,270 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] along with this program. If not, see <http://www.gnu.org/licenses/>.
2017-10-12 19:25:58,273 - INFO - cura.Settings.GlobalStack.addExtruder [81]: Extruder[g2s_2in1out_left #2] added to [Geeetech Delta Rostock Mini g2s pro] at position [0]
2017-10-12 19:25:58,273 - WARNING - UM.Settings.ContainerStack.addMetaDataEntry [162]: Meta data with key machine was already added.
2017-10-12 19:25:58,278 - INFO - cura.Settings.GlobalStack.addExtruder [81]: Extruder[g2s_2in1out_right #2] added to [Geeetech Delta Rostock Mini g2s pro] at position [1]
2017-10-12 19:25:58,278 - WARNING - UM.Settings.ContainerStack.addMetaDataEntry [162]: Meta data with key machine was already added.
2017-10-12 19:25:58,279 - DEBUG - UM.Settings.ContainerRegistry.load [214]: Loading data into container registry took 9.932337284088135 seconds
2017-10-12 19:25:58,281 - DEBUG - UM.Backend.Backend._logSocketState [178]: Socket state changed to Connected
2017-10-12 19:25:58,281 - DEBUG - UM.Backend.Backend._onSocketStateChanged [168]: Backend connected on port 49674
2017-10-12 19:25:58,291 - DEBUG - UM.Controller.setActiveView [84]: Setting active view to SolidView
2017-10-12 19:25:58,443 - DEBUG - UM.Mesh.MeshData.calculateNormalsFromVertices [425]: Calculating normals took 0.0018415451049804688 seconds
2017-10-12 19:25:58,444 - DEBUG - STLReader.STLReader.read [79]: Loaded a mesh with 4476 vertices
2017-10-12 19:25:58,672 - DEBUG - UM.Qt.Bindings.Theme.load [165]: Loading theme file: /usr/share/cura/resources/themes/cura/theme.json
2017-10-12 19:25:58,707 - DEBUG - UM.Qt.Bindings.Theme.load [232]: Loaded theme /usr/share/cura/resources/themes/cura
2017-10-12 19:25:58,714 - DEBUG - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [138]: Creating additional ui components for UM3.
QQmlComponent: Component is not ready
2017-10-12 19:25:58,715 - WARNING - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [148]: Could not create ui components for UM3.
2017-10-12 19:25:58,725 - DEBUG - UM.Mesh.MeshData.calculateNormalsFromIndexedVertices [448]: Calculating normals took 0.0021505355834960938 seconds
2017-10-12 19:25:58,738 - DEBUG - UM.Mesh.MeshData.approximateConvexHull [392]: approximateConvexHull(target_count=1024) Calculating 3D convex hull took 0.003901243209838867 seconds. 55 input vertices. 55 output vertices.
2017-10-12 19:26:08,174 - DEBUG - AutoSave.AutoSave._onTimeout [48]: Autosaving preferences, instances and profiles
After that, the executable continues to run (so it is no crash) but no mainwindow is shown...
Thank god, there are more people experiencing this. Can confirm, it does not crash, but does not open the main window after the loading screen either.
Thought about zeroconf at first, but this stays after I added the module. Does not run the main window.
UM.Resources.__initializeStoragePaths [342]: Initializing storage paths
UM.Resources.__initializeStoragePaths [353]: Config storage path is /home/aiyion/.config/cura/master
UM.Resources.__initializeStoragePaths [361]: Data storage path is /home/aiyion/.local/share/cura/master
UM.Resources.__initializeStoragePaths [373]: Cache storage path is /home/aiyion/.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-13 16:09:35,725 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ConsoleLogger
2017-10-13 16:09:35,743 - INFO - CuraEngineBackend.CuraEngineBackend.__init__ [64]: Found CuraEngine at: /usr/bin/CuraEngine
2017-10-13 16:09:35,744 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraEngineBackend
2017-10-13 16:09:35,746 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SimpleView
2017-10-13 16:09:35,751 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LocalFileOutputDevice
2017-10-13 16:09:35,753 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin FileLogger
2017-10-13 16:09:35,755 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJReader
2017-10-13 16:09:35,758 - WARNING - STLReader.STLReader.<module> [25]: Could not find numpy-stl, falling back to slower code.
2017-10-13 16:09:35,760 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLReader
2017-10-13 16:09:35,762 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJWriter
2017-10-13 16:09:35,765 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLWriter
2017-10-13 16:09:35,765 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded
2017-10-13 16:09:35,771 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RotateTool
2017-10-13 16:09:35,775 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MirrorTool
2017-10-13 16:09:35,778 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SelectionTool
2017-10-13 16:09:35,784 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ScaleTool
2017-10-13 16:09:35,789 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin TranslateTool
2017-10-13 16:09:35,792 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CameraTool
2017-10-13 16:09:35,832 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UpdateChecker
2017-10-13 16:09:35,841 - INFO - UpdateChecker.UpdateCheckerJob.run [44]: Checking for new version of cura
2017-10-13 16:09:35,843 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PerObjectSettingsTool
2017-10-13 16:09:35,848 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PluginBrowser
2017-10-13 16:09:35,852 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeWriter
2017-10-13 16:09:35,855 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XRayView
2017-10-13 16:09:35,860 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RemovableDriveOutputDevice
2017-10-13 16:09:35,860 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin SimpleView was already loaded
2017-10-13 16:09:35,867 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade21to22
2017-10-13 16:09:35,871 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade25to26
2017-10-13 16:09:35,873 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade26to27
2017-10-13 16:09:35,877 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade22to24
2017-10-13 16:09:35,877 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin LocalFileOutputDevice was already loaded
2017-10-13 16:09:35,880 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ChangeLogPlugin
2017-10-13 16:09:35,880 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin FileLogger was already loaded
2017-10-13 16:09:35,880 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin OBJReader was already loaded
2017-10-13 16:09:35,881 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin STLReader was already loaded
2017-10-13 16:09:35,881 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin OBJWriter was already loaded
2017-10-13 16:09:35,881 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin STLWriter was already loaded
2017-10-13 16:09:35,885 - WARNING - 3MFReader.<module> [10]: Could not import ThreeMFReader; libSavitar may be missing
2017-10-13 16:09:35,899 - WARNING - 3MFReader.<module> [10]: Could not import ThreeMFReader; libSavitar may be missing
2017-10-13 16:09:35,899 - ERROR - UM.PluginRegistry.loadPlugin [220]: Plugin 3MFReader did not return any objects to register
2017-10-13 16:09:35,908 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin X3DReader
2017-10-13 16:09:35,914 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XmlMaterialProfile
2017-10-13 16:09:35,914 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded
2017-10-13 16:09:35,928 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin USBPrinting
2017-10-13 16:09:35,933 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileWriter
2017-10-13 16:09:35,938 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SolidView
2017-10-13 16:09:35,944 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ImageReader
2017-10-13 16:09:35,967 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UM3NetworkPrinting
2017-10-13 16:09:35,974 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UltimakerMachineActions
2017-10-13 16:09:35,975 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CuraEngineBackend was already loaded
2017-10-13 16:09:35,983 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LayerView
2017-10-13 16:09:35,986 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeProfileReader
2017-10-13 16:09:35,989 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin AutoSave
2017-10-13 16:09:35,993 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MachineSettingsAction
2017-10-13 16:09:35,996 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileReader
2017-10-13 16:09:35,998 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LegacyProfileReader
2017-10-13 16:09:36,004 - WARNING - 3MFWriter.<module> [9]: Could not import ThreeMFWriter; libSavitar may be missing
2017-10-13 16:09:36,008 - WARNING - 3MFWriter.<module> [9]: Could not import ThreeMFWriter; libSavitar may be missing
2017-10-13 16:09:36,009 - ERROR - UM.PluginRegistry.loadPlugin [220]: Plugin 3MFWriter did not return any objects to register
2017-10-13 16:09:36,009 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin RotateTool was already loaded
2017-10-13 16:09:36,009 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin MirrorTool was already loaded
2017-10-13 16:09:36,009 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin SelectionTool was already loaded
2017-10-13 16:09:36,009 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ScaleTool was already loaded
2017-10-13 16:09:36,009 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin TranslateTool was already loaded
2017-10-13 16:09:36,010 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CameraTool was already loaded
2017-10-13 16:09:36,010 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin UpdateChecker was already loaded
2017-10-13 16:09:36,016 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeReader
2017-10-13 16:09:36,016 - INFO - UM.Qt.QtApplication.__init__ [112]: Command line arguments: {'external-backend': False, 'disable-textures': False, 'qmljsdebugger': None, 'file': [], 'single_instance': False}
2017-10-13 16:09:36,019 - INFO - UM.VersionUpgradeManager.upgrade [112]: Looking for old configuration files to upgrade.
2017-10-13 16:09:36,022 - DEBUG - UM.Backend.Backend._logSocketState [174]: Socket state changed to Listening
2017-10-13 16:09:36,027 - INFO - UM.Backend.Backend.startEngine [75]: Started engine process: /usr/bin/CuraEngine
2017-10-13 16:09:36,028 - 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-13 16:09:36,032 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-13 16:09:36,032 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Cura_SteamEngine version DEV
2017-10-13 16:09:36,032 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] Copyright (C) 2014 David Braam
2017-10-13 16:09:36,033 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-13 16:09:36,033 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] This program is free software: you can redistribute it and/or modify
2017-10-13 16:09:36,033 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] it under the terms of the GNU Affero General Public License as published by
2017-10-13 16:09:36,033 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] the Free Software Foundation, either version 3 of the License, or
2017-10-13 16:09:36,033 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] (at your option) any later version.
2017-10-13 16:09:36,034 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-13 16:09:36,034 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] This program is distributed in the hope that it will be useful,
2017-10-13 16:09:36,034 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
2017-10-13 16:09:36,034 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2017-10-13 16:09:36,034 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] GNU Affero General Public License for more details.
2017-10-13 16:09:36,034 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend]
2017-10-13 16:09:36,035 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] You should have received a copy of the GNU Affero General Public License
2017-10-13 16:09:36,035 - DEBUG - UM.Backend.Backend._backendLog [93]: [Backend] along with this program. If not, see <http://www.gnu.org/licenses/>.
2017-10-13 16:09:46,526 - DEBUG - UM.Settings.ContainerRegistry.load [214]: Loading data into container registry took 10.442937135696411 seconds
2017-10-13 16:09:46,528 - DEBUG - UM.Backend.Backend._logSocketState [178]: Socket state changed to Connected
2017-10-13 16:09:46,528 - DEBUG - UM.Backend.Backend._onSocketStateChanged [168]: Backend connected on port 49674
2017-10-13 16:09:46,529 - DEBUG - UM.Controller.setActiveView [84]: Setting active view to SolidView
2017-10-13 16:09:46,585 - DEBUG - UM.Qt.Bindings.Theme.load [165]: Loading theme file: /usr/share/cura/resources/themes/cura/theme.json
2017-10-13 16:09:46,603 - DEBUG - UM.Qt.Bindings.Theme.load [232]: Loaded theme /usr/share/cura/resources/themes/cura
2017-10-13 16:09:46,610 - DEBUG - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [138]: Creating additional ui components for UM3.
QQmlComponent: Component is not ready
2017-10-13 16:09:46,611 - WARNING - UM3NetworkPrinting.DiscoverUM3Action._createAdditionalComponentsView [148]: Could not create ui components for UM3.
2017-10-13 16:09:56,708 - DEBUG - AutoSave.AutoSave._onTimeout [48]: Autosaving preferences, instances and profiles
Yes, this affects all archlinux users who have recently updated. I hope someone from Ultimaker can fix this soon...
As far as I know, they already fixed it by switching to AppImage. According to the bugreport on bugs.archlinux.org that works. Any other Cura distribution is a community effort, so it is also a community effort to keep them running.
I'd be more than happy to invest some time to keep this working. Do you have any suggestions where to start looking? Without an error or crash I'd be looking for a needle in a haystack... I'll start by search for changelogs in Qt.
Also I didn't manage to use custom plugins with the AppImage. Any idea how to do it ?
Custom plugins can (and should!) be installed to the configuration folder, not inside the application bundle
And where is that exactly ?
With AppImage 2.7, I tried to install my PostProcessingPlugin
scripts in .local/share/cura/2.7/plugins
But when I try to use them, it seems I'm using the default PostProcessingPlugin
Ah, you mean postprocessing scripts, not Cura plugins. Yes, sorry, that's a bit of a problem, because they are only read from the application resources. Good point.
See https://github.com/nallath/PostProcessingPlugin/issues/48
Ah ! Yes the name is a bit ambiguous.
Would it require much work to make have a look at .local/share/cura/2.7/plugins
?
Regarding the real issue: I verified against qt 5.10.0 and the issue persist. Sooner or later this is going to become an issue for a next appimage too... ;-)
@nallath, @fieldOfView, any suggestions where I might start looking? Have you seen such behavior (no crash, but no mainwindow) before or maybe a hunch about where things may go wrong?
Have you seen such behavior (...) before or maybe a hunch
I have neither. My first try would be to see if a minimal pyqt application works.
Cura creates a window in QML here: https://github.com/Ultimaker/Cura/blob/master/resources/qml/Cura.qml UM.MainWindow is a subclassed QQuickWindow: https://github.com/Ultimaker/Uranium/blob/master/UM/Qt/Bindings/MainWindow.py I would also check if the MainWindow class gets instanced at all.
@fieldOfView thanks. I already reverted all changes to qt5-quickcontrols made in 5.9.2 creating a package that is indentical to 5.9.1 (keeping the 5.9.2 version number to fool the version checks) and this results in the same issue. The problem is therefore likely not in quickcontrols. I'll do the same for other qt packages later.
The MainWindow.py file is loaded but the constructor is indeed never called :s
When I upgraded to qt 5.9.2 on my MacOS (10.12.6) I experienced this also when running Cura from the commandline.
@Appesteijn your phrasing suggests that there is another way to start cura that does work? Is that correct?
No unfortunately I haven't found a solution to get Cura running from the commandline with Qt 5.9.2
@Appesteijn The way you particularly stated, that it would not work, when starting it via commandline, suggests you are able to start it, if you don't do it via commandline, eg. a desktop shortcut or something; Which is probably not the case, right? So, what you really wanted to say is, you can't start Cura on MacOS anymore, after updating qt?
No I can run the download (and the daily builds) perfectly. Only when I run 'master' from source it doesn't work anymore.
I guess @Appesteijn means that he can run the AppImages...
I am quite stumped by qt-quicks decision to no longer launch the main window. The python class is run but never called. I have asked around in #qt-quick on freenode but havn't gotten an answer :s
Just to confirm. This is also a problem on Fedora 27 with Qt 5.9.2 and Cura 3.0.3.
Maybe related https://bugreports.qt.io/browse/QTBUG-63770
These are the packages that I needed to downgrade to in order to get Cura showing again:
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
qt5-3d-5.9.1-2-x86_64.pkg.tar.xz
qt5-base-5.9.1-2-x86_64.pkg.tar.xz
qt5-canvas3d-5.9.1-2-x86_64.pkg.tar.xz
qt5-connectivity-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-imageformats-5.9.1-1-x86_64.pkg.tar.xz
qt5-location-5.9.1-2-x86_64.pkg.tar.xz
qt5-multimedia-5.9.1-2-x86_64.pkg.tar.xz
qt5-quickcontrols2-5.9.1-2-x86_64.pkg.tar.xz
qt5-quickcontrols-5.9.1-2-x86_64.pkg.tar.xz
qt5-script-5.9.1-2-x86_64.pkg.tar.xz
qt5-sensors-5.9.1-2-x86_64.pkg.tar.xz
qt5-serialport-5.9.1-2-x86_64.pkg.tar.xz
qt5-speech-5.9.1-2-x86_64.pkg.tar.xz
qt5-svg-5.9.1-2-x86_64.pkg.tar.xz
qt5-tools-5.9.1-3-x86_64.pkg.tar.xz
qt5-translations-5.9.1-1-any.pkg.tar.xz
qt5-wayland-5.9.1-2-x86_64.pkg.tar.xz
qt5-webchannel-5.9.1-2-x86_64.pkg.tar.xz
qt5-webengine-5.9.1-2-x86_64.pkg.tar.xz
qt5-webkit-5.212.0alpha2-4-x86_64.pkg.tar.xz
qt5-websockets-5.9.1-2-x86_64.pkg.tar.xz
qt5-x11extras-5.9.1-2-x86_64.pkg.tar.xz
qt5-xmlpatterns-5.9.1-2-x86_64.pkg.tar.xz
BTW When reverting a particular commit from Qt, the problem is gone.
Identified by Rex Dieter:
I can confirm that reverting the commit that @hroncok identified makes things work.
Hi guys,
Cura 3 is out for Archlinux. Has anyone tried it ? Is the bug still present ?
This is relevant for 2.7.0 as well as 3.0.3. (I'm not or Archlinux, but Fedora, however I thought it might help you.)
@JPFrancoia I just tried Cura 3.0.3-1… I get the splash screen, it disappears, then Cura crashes
2017-11-02 21:33:02,875 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-02 21:33:02,876 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-11-02 21:33:02,876 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/bin/cura", line 82, in <module>
2017-11-02 21:33:02,876 - CRITICAL - cura.CrashHandler.show [42]: app.run()
2017-11-02 21:33:02,876 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 640, in run
2017-11-02 21:33:02,876 - CRITICAL - cura.CrashHandler.show [42]: self._volume = BuildVolume.BuildVolume(root)
2017-11-02 21:33:02,876 - CRITICAL - cura.CrashHandler.show [42]: File "/usr/lib/python3.6/site-packages/cura/BuildVolume.py", line 102, in __init__
2017-11-02 21:33:02,877 - CRITICAL - cura.CrashHandler.show [42]: " with printed models."), title = catalog.i18nc("@info:title","Build Volume"))
2017-11-02 21:33:02,877 - CRITICAL - cura.CrashHandler.show [42]: TypeError: __init__() got an unexpected keyword argument 'title'
@protist did you also update uranium package? I have seen that issue when using Cura git with older uranium. However this is slightly on the side of this bug report, recommend filing it separately if issue persists
unexpected keyword argument 'title' is definitely a discrepancy between Cura and Uranium (we added a new property to the message class to accept a message title).
Ah apologies. It looks like Arch updated Cura but not Uranium. (Related: why is the latest version of Uranium in such small type?)
However, when I manually update uranium to 3.0.3, cura now launches perfectly!
It's small because a git tag was created but no GitHub release (which is sort of a wrapper around git tags if you wanna add release notes and binaries).
Sorry for the partial update of uranium/curaengine. Arch has also revert the same commit as Fedora did to make cura launch again. Hopefully Qt fixes this in their new release.
@ChrisTerBeke Thanks for the info. It's quite confusing, especially as the previous version says "Latest release"!
@jelly No worries. It's all good now, and thank you for the quick response.
Looks like a bugfix might be coming up in Qt 5.9.3: https://bugreports.qt.io/browse/QTBUG-64017
Yeah — there seems to be a proposed patch set at https://codereview.qt-project.org/#/c/209990/ but I have not had time to test it.
Arch linux people, is it safe to upgrade Qt and related packages, or not yet ? From what I understand the problem comes from QtDeclarative and there is a new revision:
5.9.2-1 -> 5.9.2-2
@JPFrancoia cura starts fine with that version.
Ok, cura works fine now. The Qt fix in the repo fixed it. Also updated to cura 3, and all works fine. Closing issue.
I'm on Archlinux. After upgrading to Qt 5.9.2, Cura doesn't start anymore.
I had to downgrade all these packages:
Just to let you know.
I like Cura but every week, an upgrade will break it. I wouldn't mind if I was using it for hobby stuff, but I use it for work almost everyday. I'd like something more stable.
Of course, each time I find a workaround for a bug, I loose all my profiles/machines/settings. Even if I backup
.local/share/cura
and.config/cura
and restore these folders, I never managed to restore my settings.For now I'm going to use the AppImage. It's not ideal because I can't use my custom postProcessing scripts.
Any idea/advice to improve my situation is very welcome.