Jump to content

Cura 4.6.1 doesn't start


hrnick

Recommended Posts

Posted · Cura 4.6.1 doesn't start

I have installed cura 4.6.1 found in portage in my Gentoo system but can't get it to start. Running cura from a terminal gives the output below. The spash screen shows up, disappears right before the cyclic dependency warning and then nothing happens.

 

$ 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/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/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/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

Cura has been compiled against python 3.7.7.

 

It seems to me like it's Qt related but I don't really know where to go from here. Any help would be highly appreciated! Thanks!

 

  • Link to post
    Share on other sites

    Posted · Cura 4.6.1 doesn't start

    It seems as if the last four lines...

    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...

    self._qml_engine.load(self._main_qml)

    ...in the function initializeEngine() in...

    /usr/lib/python3.7/site-packages/UM/Qt/QtApplication.py

    I don't really know where to go from there though. :/

  • Link to post
    Share on other sites

    Posted · Cura 4.6.1 doesn't start

    There are a number of reasons why I prefer to use a package manager. Instead of manually downloading, chmoding, and moving 20+ applications and being on 20+ mailing lists for updates and 20+ lists for security related issues I'd rather just run a command in my terminal and update everything at one. Also your appImage creates ~/fontconfig every time I run it which is really annoying.

  • Link to post
    Share on other sites

    Posted · Cura 4.6.1 doesn't start

    This is 8 months old and now Cura 4.8 is out.  Do you have the problem with Cura 4.8 also?  If so then please start a new topic and mention it's 4.8 and also please include the log file.  Where to get log file:

     

    %APPDATA%\cura\<Cura version>\cura.log (Windows), or usually C:\Users\\<your username>\AppData\Roaming\cura\<Cura version>\cura.log
    $USER/Library/Application Support/cura/<Cura version>/cura.log (OSX)
    $USER/.local/share/cura/<Cura version>/cura.log (Ubuntu/Linux)

     

    Because you are a very new user you might not be able to upload your log file here (not sure).  If you can't then upload it to some free service like google drive or dropbox and post a link.

  • Link to post
    Share on other sites

    Posted · Cura 4.6.1 doesn't start

    I had the same problem with 4.8.0, 4.9.0 and 4.9.1 until I found out what the problem was; dev-qt/qtquickcontrols has to be built with the widgets USE flag enabled. It's unfortunate that this information is not easily available anywhere but there you have it.

  • Link to post
    Share on other sites

    Posted · Cura 4.6.1 doesn't start

    Hell i have same issue since any of the 5xxx cura versions on Linux Manjaro up to date.

    The last 4.13 work always.

    I have install i think all the QT6 package for my systems...all python-qml...

     

    another one speak about too of this here.

     

  • Link to post
    Share on other sites

    Posted · Cura 4.6.1 doesn't start

    Hello One user of the Manjaro Team have reply to me and give me the trick thats works...

    many thanks again.

     

    https://forum.manjaro.org/t/cura-version-5-appimage-failed-start/123516

     

    On the console for example with cura 5.2:

     

    QT_STYLE_OVERRIDE=""  ./Ultimaker-Cura-5.1.1-linux-modern.AppImage

    • Like 1
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...