-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workspace validator: non-URI path #1179
Comments
Yeah, this happens with a workspace built with
|
fixes the validation at least (in the sense that it doesn't choke on exceptions itself). |
that's also what I witnessed as prime problem in OCR-D/ocrd_tesserocr#201. We need more diagnostics why and exactly when this is happening. But this is a separate issue (has nothing to do with the validator). |
True, I'll open another GitHub issue for that, if you didn't already. |
No, please do! |
Just for the sake of completeness: #1195 |
With 2. solved in #1199, only 1. is left. The URI validator should not crash – it should first check if the href is in fact a URI and then simply add a specific |
From a
workspace validate
I got:The
url
in question simply was a relative file name, which obviously makes the URI validator crash.This is very problematic for two reasons:
ocrd workspace add
, because that implementation sets bothlocal_filename
andurl
to the local pathThe text was updated successfully, but these errors were encountered: