Skip to content

Moonraker Connection plugin fails to display printer status and temperatures in Cura #99

@FunTomas11

Description

@FunTomas11

Description

I am experiencing an issue with the Moonraker Connection plugin in Cura 5.9. While the plugin allows me to send G-code to the printer and start a print successfully, it fails to retrieve printer status or display real-time temperature readings. Additionally, logs indicate potential issues with assigning undefined values in the plugin's QML configuration files.


Steps to Reproduce

  1. Install Cura 5.9.
  2. Add the Moonraker Connection plugin from the Cura Marketplace.
  3. Configure the plugin with the correct Moonraker server URL and API key.
  4. Test the connection (successfully connects and allows sending G-code to the printer).
  5. Observe that the printer status and temperature readings are not displayed.

Expected Behavior

The plugin should display real-time printer status, temperatures (bed and extruder), and other monitoring data from Moonraker in the Cura Monitor tab.


Observed Behavior

  • Printer status and temperature readings are not displayed in the Cura Monitor tab.
  • Logs in Cura show multiple warnings related to QML configuration files:
Unable to assign [undefined] to QString
Unable to assign [undefined] to bool
  • The plugin works partially (G-code transfer and print initiation are successful).

Environment Details

  • Cura Version: 5.9
  • Moonraker Version: v0.9.3-16-g72ed175c
  • Operating System: Windows 11
  • Printer Firmware: Klipper
  • Printer Model: Ender 3 V3 SE

Logs and Screenshots

  • Relevant Cura logs:
2025-01-20 21:53:54,193 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:602:17: Unable to assign [undefined] to bool
2025-01-20 21:53:54,194 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:587:17: Unable to assign [undefined] to bool
2025-01-20 21:53:54,194 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:552:29: Unable to assign [undefined] to bool
2025-01-20 21:53:54,194 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:501:29: Unable to assign [undefined] to QString
2025-01-20 21:53:54,195 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:449:37: Unable to assign [undefined] to QString
2025-01-20 21:53:54,195 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:431:37: Unable to assign [undefined] to QString
2025-01-20 21:53:54,195 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:413:37: Unable to assign [undefined] to QString
2025-01-20 21:53:54,196 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:378:29: Unable to assign [undefined] to bool
2025-01-20 21:53:54,196 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:370:29: Unable to assign [undefined] to bool
2025-01-20 21:53:54,196 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:346:33: Unable to assign [undefined] to bool
2025-01-20 21:53:54,197 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:362:29: Unable to assign [undefined] to bool
2025-01-20 21:53:54,197 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:272:29: Unable to assign [undefined] to QString
2025-01-20 21:53:54,198 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:243:29: Unable to assign [undefined] to QString
2025-01-20 21:53:54,198 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:215:29: Unable to assign [undefined] to QString
2025-01-20 21:53:54,198 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:198:29: Unable to assign [undefined] to QString
2025-01-20 21:53:54,198 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///C:/Users/krain/AppData/Roaming/cura/5.9/plugins/MoonrakerConnection/MoonrakerConnection/resources/qml/qt6/MoonrakerConfiguration.qml:180:29: Unable to assign [undefined] to QString
  • Screenshot from monitor tab
    Image

Additional Context

  • Moonraker works perfectly with other clients, such as Fluidd and Mainsail.
  • API key and CORS settings in Moonraker are correctly configured.
  • Monitor tab works perfectly with other extensions such Octoprint Connection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions