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
...
File "/var/scego/applications/docker/apps/python/venv/lib/python3.6/site-packages/ocrd/workspace.py", line 567, in image_from_page
page_image_info = self.resolve_image_exif(page.imageFilename)
File "/var/scego/applications/docker/apps/python/venv/lib/python3.6/site-packages/ocrd/workspace.py", line 405, in resolve_image_exif
ocrd_exif = exif_from_filename(f.filename)
File "/usr/lib/python3.6/tempfile.py", line 619, in __getattr__
a = getattr(file, name)
AttributeError: '_io.BufferedRandom' object has no attribute 'filename'
If I try to load external Images with http for imageFilename in the page.xml
I got this Error Message:
If I try to load external Images with http for imageFilename in the page.xml
Like this:
I think the problem is in workspace.py on line 405
and on line 434
download_temporary_file
is usingNamedTemporaryFile
- I can not see how you get filename from it.Maybe change
f.filename
tof.name
The text was updated successfully, but these errors were encountered: