Skip to content
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

XSD not bundled with ocrd_validators #513

Closed
kba opened this issue Jun 13, 2020 · 0 comments · Fixed by #512
Closed

XSD not bundled with ocrd_validators #513

kba opened this issue Jun 13, 2020 · 0 comments · Fixed by #512
Assignees
Labels

Comments

@kba
Copy link
Member

kba commented Jun 13, 2020

e.g.

tests/validator/test_workspace_validator.py:182: AssertionError
----------------------------- Captured stdout call -----------------------------
['Validation aborted with exception: Traceback (most recent call last):\n  File "/usr/local/lib/python3.6/site-packages/ocrd_validators/workspace_validator.py", line 141, in _validate\n    self._validate_page_xsd()\n  File "/usr/local/lib/python3.6/site-packages/ocrd_validators/workspace_validator.py", line 293, in _validate_page_xsd\n    for err in XsdPageValidator.validate(Path(ocrd_file.local_filename)).errors:\n  File "/usr/local/lib/python3.6/site-packages/ocrd_validators/xsd_page_validator.py", line 17, in validate\n    return cls.instance(XSD_PAGE_URL)._validate(doc) # pylint: disable=protected-access\n  File "/usr/local/lib/python3.6/site-packages/ocrd_validators/xsd_validator.py", line 24, in instance\n    cls._instances[schema_url] = cls(schema_url)\n  File "/usr/local/lib/python3.6/site-packages/ocrd_validators/xsd_validator.py", line 47, in __init__\n    with open(XSD_PATHS[schema_url], \'r\') as f:\nFileNotFoundError: [Errno 2] No such file or directory: \'/usr/local/lib/python3.6/site-packages/ocrd_validators/xsd/page.xsd\'\n']

https://circleci.com/gh/OCR-D/core/1290

@kba kba added the bug label Jun 13, 2020
@kba kba self-assigned this Jun 13, 2020
@kba kba linked a pull request Jun 13, 2020 that will close this issue
@kba kba closed this as completed in #512 Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant