From 4b9cdd4d294a590aa403f2e46f1da55c4bfb8dea Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Tue, 18 Aug 2020 13:12:16 +0200 Subject: [PATCH] Added job state 'cups-filter-crashed'. Missing state caused periodic backtraces in the logs. --- base_report_to_printer/models/printing_job.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base_report_to_printer/models/printing_job.py b/base_report_to_printer/models/printing_job.py index 36b9abd..aae40da 100644 --- a/base_report_to_printer/models/printing_job.py +++ b/base_report_to_printer/models/printing_job.py @@ -65,14 +65,15 @@ class PrintingJob(models.Model): ("none", "No reason"), ("aborted-by-system", "Aborted by the system"), ("compression-error", "Error in the compressed data"), + ("cups-filter-crashed", "CUPS filter crashed"), ("document-access-error", "The URI cannot be accessed"), ("document-format-error", "Error in the document"), ("job-canceled-at-device", "Cancelled at the device"), ("job-canceled-by-operator", "Cancelled by the printer operator"), ("job-canceled-by-user", "Cancelled by the user"), + ("job-completed(with-warnings", "Completed with some warnings"), ("job-completed-successfully", "Completed successfully"), ("job-completed-with-errors", "Completed with some errors"), - ("job-completed(with-warnings", "Completed with some warnings"), ("job-data-insufficient", "No data has been received"), ("job-hold-until-specified", "Currently held"), ("job-incoming", "Files are currently being received"),