You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
Environment
Operating System: Fedora 33
Version or commit id: 1.0.0
Installed as Flatpak or Python package?: flatpak
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: