Traceback (most recent call last):


 "/home/user/Documents/SSS/generate3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1278, in _do_call

return fn(*args)


 "/home/user/Documents/SSS/generate3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1263, in _run_fn

options, feed_dict, fetch_list, target_list, run_metadata)


 "/home/user/Documents/SSS/generate3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1350, in _call_tf_sessionrun

run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected image (JPEG, PNG, or GIF), got unknown format starting with '/home/user/Docum'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python3.7/dist-packages/escpos/escpos.py", line 293, in charcode

raise CharCodeError()
escpos.exceptions.CharCodeError: Valid char code must be set
