Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] Cura won't start

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
41 posts
  • 1
  • 2
  • Next
Author
Message
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

[Solved] Cura won't start

  • Quote

Post by hrnick » Fri Jun 12, 2020 12:43 pm

I've installed cura-4.6.1 but haven't managed to get it to start.

Code: Select all

[ebuild   R    ] media-gfx/cura-4.6.1::gentoo  USE="usb -zeroconf" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" 0 KiB
Running cura gives me the following output:

Code: Select all

$ cura 
/usr/lib/python3.7/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
[MainThread] UM.Application.initialize [144]: Initializing Ultimaker Cura
[MainThread] UM.Application.initialize [145]: App Version 4.6.1
[MainThread] UM.Application.initialize [146]: Api Version 7.2.0
[MainThread] UM.Application.initialize [147]: Build type None
[MainThread] UM.Resources.__initializeStoragePaths [445]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [455]: Config storage path is /home/luser/.config/cura/4.6
[MainThread] UM.Resources.__initializeStoragePaths [463]: Data storage path is /home/luser/.local/share/cura/4.6
[MainThread] UM.Resources.__initializeStoragePaths [475]: Cache storage path is /home/luser/.cache/cura/4.6
[MainThread] UM.PackageManager.__init__ [53]: Found bundled packages JSON file: /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager.__init__ [53]: Found bundled packages JSON file: /usr/share/cura/resources/bundled_packages/cura.json
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [118]: Trying OpenGL context 4.1...
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [128]: Yay, we got at least OpenGL 4.1 core: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [173]: Detected most suitable OpenGL context version: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [180]: Initializing job queue ...
[MainThread] UM.Qt.QtApplication.initialize [184]: Initializing version upgrade manager ...
[MainThread] UM.PackageManager._loadManagementData [164]: Loaded bundled packages data from /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager._loadManagementData [164]: Loaded bundled packages data from /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager._loadManagementData [185]: Loaded user packages management file from /home/luser/.local/share/cura/4.6/packages.json
[MainThread] UM.PackageManager._saveManagementData [254]: Package management file /home/luser/.local/share/cura/4.6/packages.json was saved
[MainThread] UM.PluginRegistry.initializeBeforePluginsAreLoaded [110]: Loading plugin configuration file '/home/luser/.config/cura/4.6/plugins.json'
Cyclic dependency detected between "file:///usr/share/cura/resources/qml/Actions.qml" and "file:///usr/share/cura/resources/qml/Actions.qml"
QObject::connect: Cannot queue arguments of type 'QList<QQmlError>'
(Make sure 'QList<QQmlError>' is registered using qRegisterMetaType().)
QQmlApplicationEngine failed to load component
It seems to be something with Qt but I can't really figure out that component it fails to load. What could be wrong?

Any help would be appreciated! Thanks!
Last edited by hrnick on Sun May 23, 2021 5:04 pm, edited 1 time in total.
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Thu Jun 25, 2020 10:56 am

It seems as if the last four lines...

Code: Select all

Cyclic dependency detected between "file:///usr/share/cura/resources/qml/Actions.qml" and "file:///usr/share/cura/resources/qml/Actions.qml"
QObject::connect: Cannot queue arguments of type 'QList<QQmlError>'
(Make sure 'QList<QQmlError>' is registered using qRegisterMetaType().)
QQmlApplicationEngine failed to load component
...are generated by...

Code: Select all

self._qml_engine.load(self._main_qml)
...in the function initializeEngine() in...

Code: Select all

/usr/lib/python3.7/site-packages/UM/Qt/QtApplication.py
I don't really know where to go from there though. :/

I tried the Ultimaker forums but they only questioned why I choose to install cura through portage rather than using their appImage since it's the only version that they control and support. I'd prefer not to end up with a system with 20+ applications that I have to manually keep track of and update.
Top
Skwal
Apprentice
Apprentice
User avatar
Posts: 154
Joined: Fri Jun 07, 2019 6:50 pm

  • Quote

Post by Skwal » Sat Jul 04, 2020 3:45 pm

hello,

Thank you for your research !
Could you solve your problem please?
I am in the same situation...

Ps: this message is translated with google translate.

I thank you, Skwal
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Tue Jul 07, 2020 2:29 pm

https://bugs.gentoo.org/731274
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Sat Sep 19, 2020 9:57 am

Something has happened now, cura seems to get further in the process but still won't start.

Code: Select all

/usr/lib/python3.7/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
[MainThread] UM.Application.initialize [144]: Initializing Ultimaker Cura
[MainThread] UM.Application.initialize [145]: App Version 4.6.1
[MainThread] UM.Application.initialize [146]: Api Version 7.2.0
[MainThread] UM.Application.initialize [147]: Build type None
[MainThread] UM.Resources.__initializeStoragePaths [446]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [456]: Config storage path is /home/hrnick/.config/cura/4.6
[MainThread] UM.Resources.__initializeStoragePaths [464]: Data storage path is /home/hrnick/.local/share/cura/4.6
[MainThread] UM.Resources.__initializeStoragePaths [476]: Cache storage path is /home/hrnick/.cache/cura/4.6
[MainThread] UM.PackageManager.__init__ [54]: Found bundled packages JSON file: /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager.__init__ [54]: Found bundled packages JSON file: /usr/share/uranium/resources/bundled_packages/uranium.json
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [118]: Trying OpenGL context 4.1...
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [128]: Yay, we got at least OpenGL 4.1 core: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [173]: Detected most suitable OpenGL context version: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [180]: Initializing job queue ...
[MainThread] UM.Qt.QtApplication.initialize [184]: Initializing version upgrade manager ...
[MainThread] UM.PackageManager._loadManagementData [165]: Loaded bundled packages data from /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager._loadManagementData [165]: Loaded bundled packages data from /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager._loadManagementData [186]: Loaded user packages management file from /home/hrnick/.local/share/cura/4.6/packages.json
[MainThread] UM.PackageManager._saveManagementData [256]: Package management file /home/hrnick/.local/share/cura/4.6/packages.json was saved
[MainThread] UM.PluginRegistry.initializeBeforePluginsAreLoaded [110]: Loading plugin configuration file '/home/hrnick/.config/cura/4.6/plugins.json'
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [ConsoleLogger] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] CuraEngineBackend.CuraEngineBackend.__init__ [90]: Found CuraEngine at: /usr/bin/CuraEngine
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin CuraEngineBackend
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [ConsoleLogger] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [OBJReader] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.Backend.Backend._logSocketState [188]: Socket state changed to Listening
[MainThread] UM.Backend.Backend.startEngine [90]: Started engine process: /usr/bin/CuraEngine
[MainThread] UM.Backend.Backend._backendLog [110]: [Backend] Calling engine with: ['/usr/bin/CuraEngine', 'connect', '127.0.0.1:49674', '']
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] 
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] Cura_SteamEngine version master
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] Copyright (C) 2020 Ultimaker
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] 
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] This program is free software: you can redistribute it and/or modify
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] it under the terms of the GNU Affero General Public License as published by
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] the Free Software Foundation, either version 3 of the License, or
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [OBJWriter] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] (at your option) any later version.
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] 
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] This program is distributed in the hope that it will be useful,
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] GNU Affero General Public License for more details.
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] 
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] You should have received a copy of the GNU Affero General Public License
[EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] along with this program.  If not, see <http://www.gnu.org/licenses/>.
[MainThread] STLReader.STLReader.<module> [30]: Not loading numpy-stl due to linux issue
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [STLReader] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.Backend.Backend._logSocketState [192]: Socket state changed to Connected
[MainThread] UM.Backend.Backend._onSocketStateChanged [181]: Backend connected on port 49674
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [STLWriter] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [FileLogger] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [LocalContainerProvider] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [LocalFileOutputDevice] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [CameraTool] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [MirrorTool] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [RotateTool] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [ScaleTool] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [SelectionTool] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [TranslateTool] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [UpdateChecker] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [416]: Plugin [SimpleView] with supported sdk versions [['7.3.0']] is incompatible with the current sdk version [7.2.0].
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin 3MFReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin 3MFWriter
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin AMFReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin CuraDrive
[MainThread] UM.PluginRegistry.loadPlugin [384]: Plugin CuraEngineBackend was already loaded
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin CuraProfileReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin CuraProfileWriter
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin FirmwareUpdateChecker
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin FirmwareUpdater
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin GCodeGzReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin GCodeGzWriter
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin GCodeProfileReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin GCodeReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin GCodeWriter
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin ImageReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin LegacyProfileReader
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin MachineSettingsAction
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin ModelChecker
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin MonitorStage
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin PerObjectSettingsTool
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin PostProcessingPlugin
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin PrepareStage
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin PreviewStage
[MainThread] UM.PluginRegistry.loadPlugin [448]: Loaded plugin RemovableDriveOutputDevice
What's the sdk it keeps referring to? There seems to be something going on there but I don't know what that could be. Any ideas?
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Fri Sep 25, 2020 10:23 pm

Anyone know if ultimake / cura changed any of their child dependencies, and if not are those version numbers available?

The portage ebuild for cura uses >= for dependencies which may be wrong...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
digitall
n00b
n00b
Posts: 5
Joined: Sat Sep 26, 2020 9:10 am

  • Quote

Post by digitall » Sat Sep 26, 2020 9:14 am

I think this was broken by the addition of curaengine-4.7.0 and other dependencies, which are missing cura-4.7.0.

I added a cura-4.7.0 and fdm-materials-4.7.0 ebuild to my local portage overlay and this built fine and starts with no issues.

I will look at submitting these as a PR or bug patch to portage.... though upstream is already at 4.7.1 so will add that as well.

@eccerr0r: I think you might be right about >= ... though it does need to account for -r1 and similar patch bumps... but not end up picking up 4.7.0 for 4.6.1 etc. :|
Top
digitall
n00b
n00b
Posts: 5
Joined: Sat Sep 26, 2020 9:10 am

  • Quote

Post by digitall » Sat Sep 26, 2020 12:47 pm

Sigh. Worked out how this got broken. The only version of dev-python/uranium which is required for cura left in tree is v4.7.0 ... unfortunately, the matching cura-4.7.0 is not present, so all versions build ... but crash at runtime *facepalm*
https://gitweb.gentoo.org/repo/gentoo.g ... ?showmsg=1
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sat Sep 26, 2020 2:13 pm

fsck this... That's exactly what I concluded after wrestling with this last night, and stopped working on trying to get cura working... API is still changing rapidly.
Probably you should go ahead and file a bug on b.g.o about this?

I installed slic3r, at least the gui comes up, but no profile for my printer... guess i'll have to hack something one way or another.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
digitall
n00b
n00b
Posts: 5
Joined: Sat Sep 26, 2020 9:10 am

  • Quote

Post by digitall » Sat Sep 26, 2020 2:34 pm

I have fixed cura-v4.6.1 with this and should have fixed the ebuild to not do this again... I will submit a v4.7.0 and v4.7.1 set of ebuilds based on that. SIGH. At least with Gentoo, you can diagnose and fix the issues... but I do wish maintainers would do a bit more manual checks before pulling old versions from the tree:
https://github.com/gentoo/gentoo/pull/17679
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sat Sep 26, 2020 3:09 pm

Ideally the API settles down and newer versions even if they don't match will still work... alas this is still too new it seems even with version 4.x ... *facepalm* Alas, looks like now it has to version lock.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
digitall
n00b
n00b
Posts: 5
Joined: Sat Sep 26, 2020 9:10 am

  • Quote

Post by digitall » Sat Sep 26, 2020 8:13 pm

*shrug* It looks like the various libraries are used pretty much exclusively for cura so the upstream has no incentive to have stable API... especially if they are still in major development flux.

In any case, the main issue is that the cura ebuild should reflect this and pin the dependencies to match to avoid breakage, so users can actually just get on with their day!
Top
digitall
n00b
n00b
Posts: 5
Joined: Sat Sep 26, 2020 9:10 am

  • Quote

Post by digitall » Sat Sep 26, 2020 8:15 pm

Anyway, if you want to use cura-4.6.1 or 4.7.0, then the ebuild changes from my PR above in a local overlay would get you a working cura... or at least one that builds and starts up fine. I don't warrant it as fully tested and bug free! :)
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Tue Sep 29, 2020 12:09 pm

Thanks for looking into this one!

It might be that there are two unrelated problems we are discussing. I did an emerge -C cura, followed by a emerge --depclean, I followed the steps on github and resinstalled cura. I also removed all configuration files I could find in my user profile (~/.local/share/cura, ~/.cache/cura and ~/.config/cura).

First I got ModuleNotFoundErrors for zeroconf and trimesh (that I found in a portage overlay). I don't know if these errors were related to any of the other things but now I'm back to the result I had in my first post.

Code: Select all

/usr/lib/python3.7/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
[MainThread] UM.Application.initialize [144]: Initializing Ultimaker Cura
[MainThread] UM.Application.initialize [145]: App Version 4.6.1
[MainThread] UM.Application.initialize [146]: Api Version 7.2.0
[MainThread] UM.Application.initialize [147]: Build type None
[MainThread] UM.Resources.__initializeStoragePaths [445]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [455]: Config storage path is /home/hrnick/.config/cura/4.6
[MainThread] UM.Resources.__initializeStoragePaths [463]: Data storage path is /home/hrnick/.local/share/cura/4.6
[MainThread] UM.Resources.__initializeStoragePaths [475]: Cache storage path is /home/hrnick/.cache/cura/4.6
[MainThread] UM.PackageManager.__init__ [53]: Found bundled packages JSON file: /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager.__init__ [53]: Found bundled packages JSON file: /usr/share/uranium/resources/bundled_packages/uranium.json
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [118]: Trying OpenGL context 4.1...
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [128]: Yay, we got at least OpenGL 4.1 core: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [173]: Detected most suitable OpenGL context version: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [180]: Initializing job queue ...
[MainThread] UM.Qt.QtApplication.initialize [184]: Initializing version upgrade manager ...
[MainThread] UM.PackageManager._loadManagementData [164]: Loaded bundled packages data from /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager._loadManagementData [164]: Loaded bundled packages data from /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager._loadManagementData [185]: Loaded user packages management file from /home/hrnick/.local/share/cura/4.6/packages.json
[MainThread] UM.PackageManager._saveManagementData [254]: Package management file /home/hrnick/.local/share/cura/4.6/packages.json was saved
[MainThread] UM.PluginRegistry.initializeBeforePluginsAreLoaded [110]: Loading plugin configuration file '/home/hrnick/.config/cura/4.6/plugins.json'
Cyclic dependency detected between "file:///usr/share/cura/resources/qml/Actions.qml" and "file:///usr/share/cura/resources/qml/Actions.qml"
QObject::connect: Cannot queue arguments of type 'QList<QQmlError>'
(Make sure 'QList<QQmlError>' is registered using qRegisterMetaType().)
QQmlApplicationEngine failed to load component
Thanks again!
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Thu Oct 01, 2020 2:23 pm

so did you try

$ sudo eselect python set python3.7

as suggested in the bug reports?

This is still a bug however, but is a workaround for now.

BTW, digitall, are you a dev or proxy maintainer or something? Wonder when your commits will make it to the tree...
Last edited by eccerr0r on Thu Oct 01, 2020 2:55 pm, edited 1 time in total.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Thu Oct 01, 2020 2:32 pm

Yes, sorry, I forgot to mention but I have done that. Thanks!
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Thu Oct 01, 2020 10:17 pm

Same thing with the cura-4.7.0 ebuild now found in GitHub.

Code: Select all

 $ cura 
/usr/lib/python3.7/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
[MainThread] UM.Application.initialize [144]: Initializing Ultimaker Cura
[MainThread] UM.Application.initialize [145]: App Version 4.7.0
[MainThread] UM.Application.initialize [146]: Api Version 7.3.0
[MainThread] UM.Application.initialize [147]: Build type None
[MainThread] UM.Resources.__initializeStoragePaths [446]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [456]: Config storage path is /home/hrnick/.config/cura/4.7
[MainThread] UM.Resources.__initializeStoragePaths [464]: Data storage path is /home/hrnick/.local/share/cura/4.7
[MainThread] UM.Resources.__initializeStoragePaths [476]: Cache storage path is /home/hrnick/.cache/cura/4.7
[MainThread] UM.Resources._copyLatestDirsIfPresent [496]: Found config: ['/home/hrnick/.config/cura'] and data: ['/home/hrnick/.local/share/cura']
[MainThread] UM.Resources._copyLatestDirsIfPresent [500]: Latest config path: None and latest data path: None
[MainThread] UM.Qt.QtApplication.initialize [144]: Preferences file not found, ignore and use default language 'en_US'
[MainThread] UM.PackageManager.__init__ [54]: Found bundled packages JSON file: /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager.__init__ [54]: Found bundled packages JSON file: /usr/share/cura/resources/bundled_packages/cura.json
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [118]: Trying OpenGL context 4.1...
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [128]: Yay, we got at least OpenGL 4.1 core: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [173]: Detected most suitable OpenGL context version: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [180]: Initializing job queue ...
[MainThread] UM.Qt.QtApplication.initialize [184]: Initializing version upgrade manager ...
[MainThread] UM.PackageManager._loadManagementData [165]: Loaded bundled packages data from /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager._loadManagementData [165]: Loaded bundled packages data from /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager._loadManagementData [188]: User package management file /home/hrnick/.local/share/cura/4.7/packages.json doesn't exist, do nothing
[MainThread] UM.PackageManager._saveManagementData [256]: Package management file /home/hrnick/.local/share/cura/4.7/packages.json was saved
Cyclic dependency detected between "file:///usr/share/cura/resources/qml/Actions.qml" and "file:///usr/share/cura/resources/qml/Actions.qml"
QQmlApplicationEngine failed to load component
There it just stops loading.
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Sat Oct 17, 2020 11:26 am

Is there any way of debugging this? Running cura --debug does not seem to make a difference. It seems related to QT so is there anything that could be done there? Thanks!
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Wed Oct 28, 2020 12:54 pm

Could someone who can run cura maybe share their set of USE flags to see if there are any clues there? Thanks!
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Wed Oct 28, 2020 1:04 pm

It looks like digitall's patches made it, I'll need to try to build cura-4.7.0-r1 with its new correct deps and see if it works any better...

Incidentally I finally built my first 3D model for a part I need, so would be nice to get it working (though slic3r seems to work.)

---

cura-4.7.0-r1 runs finally! GUI comes up just fine! I get a few errors about zeroconf, probably because I don't have USE=zeroconf ...
Looking at the GUIs between cura and slic3r, I think I like the slic3r UI better, cura looks too smartphone-like...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Wed Oct 28, 2020 4:59 pm

Again it seems as if we are discussing two different problems here, I tried building cura with those patches and still get the same error.

To my experience I get a lot better print results using cura than slic3r out of the box. Maybe it's about configuring everything correctly but just moving to cura solved a lot of the problems I had before.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Wed Oct 28, 2020 5:30 pm

Did you try reinstalling 4.7.0-r1 from scratch? Make sure you unmask the right dependencies too...

These are the specific dependency versions I'm using:

media-gfx/cura-4.7.0-r1
dev-libs/libcharon-4.7.0
dev-libs/libsavitar-4.7.0
dev-python/uranium-4.7.0
media-gfx/curaengine-4.7.0
media-gfx/fdm-materials-4.7.0
dev-libs/libarcus-4.7.0
dev-libs/stb-20200205
dev-libs/clipper-6.4.2
dev-python/PyQt5-5.14.2-r1

BTW the patches are in portage already and you don't need to muck your own ebuilds anymore...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

Q

  • Quote

Post by hrnick » Sat Oct 31, 2020 12:51 pm

Thanks for helping out eccerr0r!

I again ran an emerge -C cura and an emerge --depclean. The only thing different in your list of dependencies is the version of PyQt5, I had 5.15.1 installed rather than 5.14.2-r1. To me this has seemed more like a Qt problem to me so this would be interesting to dig deeper into. Unfortunately PyQt-5.14.2-r1 fails to emerge right now but I'll try to figure that out and get back.

Thanks again!
Top
hrnick
Guru
Guru
Posts: 441
Joined: Sat Aug 31, 2002 5:22 pm
Location: Sweden

  • Quote

Post by hrnick » Mon Nov 02, 2020 7:38 am

I managed to downgrade PyQt5 to 5.14.2-r1 by first downgrading PyQt5-sip and sip. Unfortunately cura still won't start. I also deleted ~/.local/share/cura/ ~/.config/cura/ and ~/.cache/cura/ before trying.

Code: Select all

$ cura 
/usr/lib/python3.7/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
[MainThread] UM.Application.initialize [144]: Initializing Ultimaker Cura
[MainThread] UM.Application.initialize [145]: App Version 4.7.0
[MainThread] UM.Application.initialize [146]: Api Version 7.3.0
[MainThread] UM.Application.initialize [147]: Build type None
[MainThread] UM.Resources.__initializeStoragePaths [446]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [456]: Config storage path is /home/hrnick/.config/cura/4.7
[MainThread] UM.Resources.__initializeStoragePaths [464]: Data storage path is /home/hrnick/.local/share/cura/4.7
[MainThread] UM.Resources.__initializeStoragePaths [476]: Cache storage path is /home/hrnick/.cache/cura/4.7
[MainThread] UM.Resources._copyLatestDirsIfPresent [496]: Found config: ['/home/hrnick/.config/cura'] and data: ['/home/hrnick/.local/share/cura']
[MainThread] UM.Resources._copyLatestDirsIfPresent [500]: Latest config path: None and latest data path: None
[MainThread] UM.Qt.QtApplication.initialize [144]: Preferences file not found, ignore and use default language 'en_US'
[MainThread] UM.PackageManager.__init__ [54]: Found bundled packages JSON file: /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager.__init__ [54]: Found bundled packages JSON file: /usr/share/uranium/resources/bundled_packages/uranium.json
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [118]: Trying OpenGL context 4.1...
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [128]: Yay, we got at least OpenGL 4.1 core: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [173]: Detected most suitable OpenGL context version: 4.1 Core profile
[MainThread] UM.Qt.QtApplication.initialize [180]: Initializing job queue ...
[MainThread] UM.Qt.QtApplication.initialize [184]: Initializing version upgrade manager ...
[MainThread] UM.PackageManager._loadManagementData [165]: Loaded bundled packages data from /usr/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.PackageManager._loadManagementData [165]: Loaded bundled packages data from /usr/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager._loadManagementData [188]: User package management file /home/hrnick/.local/share/cura/4.7/packages.json doesn't exist, do nothing
[MainThread] UM.PackageManager._saveManagementData [256]: Package management file /home/hrnick/.local/share/cura/4.7/packages.json was saved
2020-11-02 08:24:45,719 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Exception: Import error loading module UM3NetworkPrinting
2020-11-02 08:24:45,719 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Traceback (most recent call last):
2020-11-02 08:24:45,720 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin
2020-11-02 08:24:45,720 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason.
2020-11-02 08:24:45,720 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 244, in load_module
2020-11-02 08:24:45,720 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return load_package(name, filename)
2020-11-02 08:24:45,720 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 216, in load_package
2020-11-02 08:24:45,720 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return _load(spec)
2020-11-02 08:24:45,721 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 696, in _load
2020-11-02 08:24:45,721 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
2020-11-02 08:24:45,721 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
2020-11-02 08:24:45,721 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2020-11-02 08:24:45,721 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/__init__.py", line 3, in <module>
2020-11-02 08:24:45,721 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from .src import UM3OutputDevicePlugin
2020-11-02 08:24:45,722 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py", line 12, in <module>
2020-11-02 08:24:45,722 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from .Network.LocalClusterOutputDeviceManager import LocalClusterOutputDeviceManager
2020-11-02 08:24:45,722 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py", line 15, in <module>
2020-11-02 08:24:45,722 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from .ZeroConfClient import ZeroConfClient
2020-11-02 08:24:45,722 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/src/Network/ZeroConfClient.py", line 8, in <module>
2020-11-02 08:24:45,722 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from zeroconf import Zeroconf, ServiceBrowser, ServiceStateChange, ServiceInfo
2020-11-02 08:24:45,723 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: ModuleNotFoundError: No module named 'zeroconf'
2020-11-02 08:24:45,724 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Exception: Import error loading module UM3NetworkPrinting
2020-11-02 08:24:45,724 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Traceback (most recent call last):
2020-11-02 08:24:45,726 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin
2020-11-02 08:24:45,726 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason.
2020-11-02 08:24:45,726 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 244, in load_module
2020-11-02 08:24:45,726 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return load_package(name, filename)
2020-11-02 08:24:45,726 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 216, in load_package
2020-11-02 08:24:45,726 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return _load(spec)
2020-11-02 08:24:45,727 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 696, in _load
2020-11-02 08:24:45,727 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
2020-11-02 08:24:45,727 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
2020-11-02 08:24:45,727 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2020-11-02 08:24:45,727 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/__init__.py", line 3, in <module>
2020-11-02 08:24:45,727 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from .src import UM3OutputDevicePlugin
2020-11-02 08:24:45,728 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py", line 12, in <module>
2020-11-02 08:24:45,728 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from .Network.LocalClusterOutputDeviceManager import LocalClusterOutputDeviceManager
2020-11-02 08:24:45,728 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py", line 15, in <module>
2020-11-02 08:24:45,728 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from .ZeroConfClient import ZeroConfClient
2020-11-02 08:24:45,728 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/UM3NetworkPrinting/src/Network/ZeroConfClient.py", line 8, in <module>
2020-11-02 08:24:45,728 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from zeroconf import Zeroconf, ServiceBrowser, ServiceStateChange, ServiceInfo
2020-11-02 08:24:45,729 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: ModuleNotFoundError: No module named 'zeroconf'
2020-11-02 08:24:45,729 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Exception: Import error loading module USBPrinting
2020-11-02 08:24:45,730 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Traceback (most recent call last):
2020-11-02 08:24:45,730 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin
2020-11-02 08:24:45,730 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason.
2020-11-02 08:24:45,730 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 244, in load_module
2020-11-02 08:24:45,730 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return load_package(name, filename)
2020-11-02 08:24:45,731 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 216, in load_package
2020-11-02 08:24:45,731 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return _load(spec)
2020-11-02 08:24:45,731 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 696, in _load
2020-11-02 08:24:45,731 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
2020-11-02 08:24:45,731 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
2020-11-02 08:24:45,731 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2020-11-02 08:24:45,732 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/USBPrinting/__init__.py", line 4, in <module>
2020-11-02 08:24:45,732 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from . import USBPrinterOutputDeviceManager
2020-11-02 08:24:45,732 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 6, in <module>
2020-11-02 08:24:45,732 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     import serial.tools.list_ports
2020-11-02 08:24:45,732 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: ModuleNotFoundError: No module named 'serial'
2020-11-02 08:24:45,733 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Exception: Import error loading module USBPrinting
2020-11-02 08:24:45,733 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: Traceback (most recent call last):
2020-11-02 08:24:45,733 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin
2020-11-02 08:24:45,733 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason.
2020-11-02 08:24:45,734 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 244, in load_module
2020-11-02 08:24:45,734 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return load_package(name, filename)
2020-11-02 08:24:45,734 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib/python3.7/imp.py", line 216, in load_package
2020-11-02 08:24:45,734 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     return _load(spec)
2020-11-02 08:24:45,734 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 696, in _load
2020-11-02 08:24:45,734 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
2020-11-02 08:24:45,735 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
2020-11-02 08:24:45,735 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2020-11-02 08:24:45,735 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/USBPrinting/__init__.py", line 4, in <module>
2020-11-02 08:24:45,735 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     from . import USBPrinterOutputDeviceManager
2020-11-02 08:24:45,735 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:   File "/usr/lib64/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 6, in <module>
2020-11-02 08:24:45,735 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]:     import serial.tools.list_ports
2020-11-02 08:24:45,736 - ERROR - [MainThread] UM.PluginRegistry._findPlugin [608]: ModuleNotFoundError: No module named 'serial'
Cyclic dependency detected between "file:///usr/share/cura/resources/qml/Actions.qml" and "file:///usr/share/cura/resources/qml/Actions.qml"
QQmlApplicationEngine failed to load component
I'm still qurious about the USE flags used for PyQt5 and cura. Could someone please share them?

Thanks!
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Mon Nov 02, 2020 3:44 pm

Code: Select all

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-gfx/cura-4.7.0-r1:
 U I
 - - python_single_target_python3_6 : Build for Python 3.6 only
 + + python_single_target_python3_7 : Build for Python 3.7 only
 - - python_single_target_python3_8 : Build for Python 3.8 only
 + + usb                            : Access 3D printers via USB
 - - zeroconf                       : Support for DNS Service Discovery
                                      (DNS-SD)

Code: Select all

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-python/PyQt5-5.14.2-r1:
 U I
 + + bluetooth                : Build bindings for the QtBluetooth module
 + + dbus                     : Build bindings for the QtDBus module
 - - debug                    : Enable extra debug codepaths, like asserts and
                                extra output. If you want to get meaningful
                                backtraces see https://wiki.gentoo.org/wiki/Pro
                                ject:Quality_Assurance/Backtraces
 + + declarative              : Build bindings for the QtQml/QtQuick modules
                                and enable the qmlscene plugin
 - - designer                 : Build bindings for the QtDesigner module and
                                enable the designer plugin
 - - examples                 : Install examples, usually source code
 - - gles2-only               : Use GLES 2.0 or later instead of full OpenGL
 + + gui                      : Build bindings for the QtGui module
 - - help                     : Build bindings for the QtHelp module
 - - location                 : Build bindings for the QtLocation module
 + + multimedia               : Build bindings for the QtMultimedia module
 + + network                  : Build bindings for the QtNetwork module
 - - networkauth              : Build bindings for the QtNetworkAuth module
 + + opengl                   : Build bindings for the QtOpenGL module
 - - positioning              : Build bindings for the QtPositioning module
 + + printsupport             : Build bindings for the QtPrintSupport module
 - - python_targets_python3_6 : Build with Python 3.6
 + + python_targets_python3_7 : Build with Python 3.7
 - - python_targets_python3_8 : Build with Python 3.8
 - - sensors                  : Build bindings for the QtSensors module
 - - serialport               : Build bindings for the QtSerialPort module
 - - sql                      : Build bindings for the QtSql module
 + + ssl                      : Add support for SSL/TLS connections (Secure
                                Socket Layer / Transport Layer Security)
 + + svg                      : Build bindings for the QtSvg module
 - - testlib                  : Build bindings for the QtTest module
 - - webchannel               : Build bindings for the QtWebChannel module
 - - webkit                   : Build bindings for the QtWebKit module
 - - websockets               : Build bindings for the QtWebSockets module
 + + widgets                  : Build bindings for the QtWidgets module
 - - x11extras                : Build bindings for the QtX11Extras module
 - - xmlpatterns              : Build bindings for the QtXmlPatterns module
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
Post Reply

41 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy