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
The error message when the --label flag is forgotten is cryptic. It is not easy to see what went wrong, or even if it was a bug or your own fault.
Here is what I get:
Traceback (most recent call last):
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/bin/brother_ql", line 8, in <module>
sys.exit(cli())
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/brother_ql/cli.py", line 146, in print_cmd
instructions = convert(qlr=qlr, **kwargs)
File "/home/marcel/code/quin/CNT_Automation/barcoding/venv/lib/python3.10/site-packages/brother_ql/conversion.py", line 48, in convert
label_specs = label_type_specs[label]
KeyError: None
The error message when the
--label
flag is forgotten is cryptic. It is not easy to see what went wrong, or even if it was a bug or your own fault.Here is what I get:
I would expect something like:
My command:
The text was updated successfully, but these errors were encountered: