Jump to content

pycharm project can't start up Cura Interface


TK_HPU

Recommended Posts

Posted · pycharm project can't start up Cura Interface

On Windows10.

There are some errors, such as:

 

ERROR - [MainThread] UM.PluginRegistry.loadPlugin [391]: Plugin UFPWriter did not return any objects to register

ERROR - [MainThread] UM.Logger.logException [85]: Traceback (most recent call last):
ERROR - [MainThread] UM.Logger.logException [85]:   File "C:\TK\Cura3.3\Uranium-3.3\UM\Settings\ContainerRegistry.py", line 178, in findContainers
ERROR - [MainThread] UM.Logger.logException [85]:     new_container = provider.loadContainer(metadata["id"])
ERROR - [MainThread] UM.Logger.logException [85]:   File "C:\TK\Cura3.3\Uranium-3.3\UM\..\plugins\LocalContainerProvider\LocalContainerProvider.py", line 63, in loadContainer
ERROR - [MainThread] UM.Logger.logException [85]:     container.deserialize(f.read())
ERROR - [MainThread] UM.Logger.logException [85]:   File "C:\TK\Cura3.3\Cura-3.3\cura\Settings\ExtruderStack.py", line 138, in deserialize
ERROR - [MainThread] UM.Logger.logException [85]:     super().deserialize(contents, file_name)
ERROR - [MainThread] UM.Logger.logException [85]:   File "C:\TK\Cura3.3\Cura-3.3\cura\Settings\CuraContainerStack.py", line 255, in deserialize
ERROR - [MainThread] UM.Logger.logException [85]:     super().deserialize(contents, file_name)
ERROR - [MainThread] UM.Logger.logException [85]:   File "C:\TK\Cura3.3\Uranium-3.3\UM\Settings\ContainerStack.py", line 378, in deserialize
ERROR - [MainThread] UM.Logger.logException [85]:     raise Exception("When trying to deserialize %s, we received an unknown ID (%s) for container" % (self.getId(), container_id))
ERROR - [MainThread] UM.Logger.logException [85]: Exception: When trying to deserialize ultimaker3_extruder_left #2, we received an unknown ID (generic_pla_ultimaker3_AA_0.4) for container

 

How to figure it?

Here is my screenshot of my pycharm project and the error.

 

error.png

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface
    36 minutes ago, ahoeben said:

    Did you clone the fdmmaterials repository into resources/materials?

     

    Thanks for your help, there is no materials folder in the path"Cura/resources", I make a director named materials just now and clone the fdm_materials into /Cura/resources/materials, it does worked! Thank you so much!!!

     

    But it still cannot run start up the interface, and here is the error:

    "ERROR - [MainThread] UM.PluginRegistry.loadPlugin [391]: Plugin UFPWriter did not return any objects to register"

     

    When it runs the User Agreement dialog, it will break down.

    1255353384_UserAgreement.png.c0d95290166c113e9e3d5a0c2811dc47.png

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface

    Unless you want to write UFP files, you don’t need that plugin and you can ignore the error. I think a warning would be more appropriate there.

     

    I think the UFPWriter plugin has a dependency on a repository named libCharon

    • Like 1
    Link to post
    Share on other sites

    Posted (edited) · pycharm project can't start up Cura Interface

     

    Thank you.

    Now I delete UFPWriter plugin, it have no error, but still crashed

    Edited by TK_HPU
  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface
    2 hours ago, ahoeben said:

    In other words, if Cura crashes after the license agreement, that is not caused by this error.

    There's no error now, but still crashed. 

    Is there any suggestion?

    Thanks a lot

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface

    What else do the logs say? What does the crash look like? Do you get a dialog, or does the application just “exit” to the desktop?

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface
    7 hours ago, ahoeben said:

    What else do the logs say? What does the crash look like? Do you get a dialog, or does the application just “exit” to the desktop?

     

    The log is all right, just as the attachment. 

    When it run at the dialog "User Agreement", and then, it disappeared, not “exit” to the desktop.

    Not any more dialog or notes/tips.

    I debug here when it crashed, just as the following screenshot.

    crashedHere.thumb.png.881ddad792173dea2fddb8dd0ab6d7eb.png

     

    cura.log

     

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface

    And there is no stderr.log or stdout.log under the AppData\Local\cura path.

     

    noLog.png.53c76f9227e49789258c3929510ea45d.png

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface
    10 hours ago, ahoeben said:

    What else do the logs say? What does the crash look like? Do you get a dialog, or does the application just “exit” to the desktop?

     

    Thank you so much.

    My project is in the VMware workstation windows10. 

    I doubt the virtual environment called this problem, and I have abandon the virtual environment.

    Using a new PC, the project work well, there is no crash any more.

    Thanks a lot.

     

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface

    I run Cura from source on a Ubuntu VM just fine, but have no experience with a Windows 10 VM. Good to hear you got it running.

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface
    1 hour ago, ahoeben said:

    I run Cura from source on a Ubuntu VM just fine, but have no experience with a Windows 10 VM. Good to hear you got it running.

    However, it still crashed, it crashed during the dialog "Connect to Networked Printer" is showing. just as the screenshot:

    alsoCrash.thumb.png.e4efb75dd2aeea1a76cdf2b422600616.png

     

    Also, there is no error in the log file. 

    Any suggestion?

    Thanks!

    cura.log

     

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface

    What version of PyQt do you use? use pyqt 5.8, and so do the official builds AFAIK.

  • Link to post
    Share on other sites

    Posted · pycharm project can't start up Cura Interface
    45 minutes ago, ahoeben said:

    What version of PyQt do you use? use pyqt 5.8, and so do the official builds AFAIK.

     

    Really it worked!!!!

    The PyQt is v5.7, I update to 5.8, the cura mainwindow can show up.

    I appreciate your help.

  • 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. 
         
          • Like
        • 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.
          • Like
        • 0 replies
    ×
    ×
    • Create New...