Open kba opened 1 year ago
Here, we use
Resolver.workspace_from_url
withoutdownload
, which copies themets.xml
and nothing else.
Like I already (later) said in #1149, cloning from local workspaces is still fundamentally broken.
In the processors, the PAGE-XML is downloaded via This is apparently broken because the image file is not downloaded and tests fail.
Like I already said in #809, the download changes the relative local path that the PAGE files might expect.
or we finally get rid of the long-deprecated
resolve_image_as_pil
altogether.
I cannot see anything wrong with that function itself.
Noticed while fixing the broken tests in https://github.com/OCR-D/ocrd_kraken/pull/42:
Here, we use
Resolver.workspace_from_url
withoutdownload
, which copies themets.xml
and nothing else.In the processors, the PAGE-XML is downloaded via
This is apparently broken because the image file is not downloaded and tests fail.
So either I debug this properly to find out why the
baseurl
mechanism does not work here or we finally get rid of the long-deprecatedresolve_image_as_pil
altogether.