after moving to Python3, we need cleaning up some dependencies. as it seems, pyqrcode handles svg data as bytes, but postscript as str, so I'm not sure this is something we should take care of from ghini as client, or mention upstream to the pyqrcode people.
the current error:
mako.exceptions.SyntaxException: (SyntaxError) invalid syntax (<unknown>, line 13) ('from bauble.plugins.report import get_plants_perti') in file '/home/mario/Local/github/Ghini/ghini.desktop/bauble/plugins/report/mako/templates/accession-label-qr.svg' at line: 31 char: 1
and is it related to pyqrcode, or to mako? it only happens in the combination qr/svg.
seems that this continues now. apparently putting order changed something that fixed it.
it now stops on not being able to test options, which are handled by the Presenter, not the FormatterPlugin.
after moving to Python3, we need cleaning up some dependencies. as it seems, pyqrcode handles svg data as
bytes
, but postscript asstr
, so I'm not sure this is something we should take care of from ghini as client, or mention upstream to the pyqrcode people.the current error:
mako.exceptions.SyntaxException: (SyntaxError) invalid syntax (<unknown>, line 13) ('from bauble.plugins.report import get_plants_perti') in file '/home/mario/Local/github/Ghini/ghini.desktop/bauble/plugins/report/mako/templates/accession-label-qr.svg' at line: 31 char: 1
and is it related to pyqrcode, or to mako? it only happens in the combination qr/svg.