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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
        • 0 replies
    ×
    ×
    • Create New...