Traceback (most recent call last):
File "/app/lib/python3.8/site-packages/gourmet/plugins/import_export/pdf_plugin/print_plugin.py", line 188, in begin_print
pe = pdf_exporter.PdfExporterMultiDoc(self.rd,self.recs,fn,pdf_args=self.args,
AttributeError: 'PDFRecipePrinter' object has no attribute 'args'
Possible Solution
The following diff works around the problem:
@@ -185,7 +185,7 @@
def begin_print (self, operation, context):
fn = tempfile.mktemp()
- pe = pdf_exporter.PdfExporterMultiDoc(self.rd,self.recs,fn,pdf_args=self.args,
+ pe = pdf_exporter.PdfExporterMultiDoc(self.rd,self.recs,fn,
change_units=self.change_units, mult=self.mult)
pe.connect('error',self.handle_error)
pe.run()
Steps to Reproduce
Expected Behavior
Recipe prints.
Current Behavior
Attempt to print fails with:
Traceback (most recent call last): File "/app/lib/python3.8/site-packages/gourmet/plugins/import_export/pdf_plugin/print_plugin.py", line 188, in begin_print pe = pdf_exporter.PdfExporterMultiDoc(self.rd,self.recs,fn,pdf_args=self.args, AttributeError: 'PDFRecipePrinter' object has no attribute 'args'
Possible Solution
The following diff works around the problem:
@@ -185,7 +185,7 @@
Environment