diff --git a/plugins/UM3NetworkPrinting/resources/png/MakerBot Method X.png b/plugins/UM3NetworkPrinting/resources/png/MakerBot Method X.png new file mode 100644 index 0000000000..fc289fe62c Binary files /dev/null and b/plugins/UM3NetworkPrinting/resources/png/MakerBot Method X.png differ diff --git a/plugins/UM3NetworkPrinting/resources/png/MakerBot Method XL.png b/plugins/UM3NetworkPrinting/resources/png/MakerBot Method XL.png new file mode 100644 index 0000000000..c23767459c Binary files /dev/null and b/plugins/UM3NetworkPrinting/resources/png/MakerBot Method XL.png differ diff --git a/plugins/UM3NetworkPrinting/resources/png/MakerBot Method.png b/plugins/UM3NetworkPrinting/resources/png/MakerBot Method.png new file mode 100644 index 0000000000..c48fe68492 Binary files /dev/null and b/plugins/UM3NetworkPrinting/resources/png/MakerBot Method.png differ diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index 5ec0db8a66..6fbbf2f053 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -9,6 +9,7 @@ from PyQt6.QtWidgets import QMessageBox from UM import i18nCatalog from UM.Logger import Logger # To log errors talking to the API. +from UM.Message import Message from UM.Settings.Interfaces import ContainerInterface from UM.Signal import Signal from UM.Util import parseBool @@ -25,7 +26,7 @@ from .CloudOutputDevice import CloudOutputDevice from ..Messages.RemovedPrintersMessage import RemovedPrintersMessage from ..Models.Http.CloudClusterResponse import CloudClusterResponse from ..Messages.NewPrinterDetectedMessage import NewPrinterDetectedMessage - +catalog = i18nCatalog("cura") class CloudOutputDeviceManager: """The cloud output device manager is responsible for using the Ultimaker Cloud APIs to manage remote clusters. @@ -179,6 +180,13 @@ class CloudOutputDeviceManager: return Logger.log("e", f"Failed writing to specific cloud printer: {unique_id} not in remote clusters.") + # This message is added so that user knows when the print job was not sent to cloud printer + message = Message(catalog.i18nc("@info:status", + "Failed writing to specific cloud printer: {0} not in remote clusters.").format(unique_id), + title=catalog.i18nc("@info:title", "Error"), + message_type=Message.MessageType.ERROR) + message.show() + def _createMachineStacksForDiscoveredClusters(self, discovered_clusters: List[CloudClusterResponse]) -> None: """**Synchronously** create machines for discovered devices