-
Notifications
You must be signed in to change notification settings - Fork 2
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
TypeError: 'ocrd_froc.processor' is not a package #10
Comments
The TypeError was introduced by commit 644bf70:
|
@kba, I narrowed down the TypeError further: if I revert the changes in ocrd_froc/processor.py, it no longer occurs. |
I don't understand why I cannot reproduce the problem, because there is indeed the top-level |
That PR does not fix the issue. I added a CI test which allows to reproduce it. |
@kba, you could not reproduce the error because it does not occur with Python 3.7 and Python 3.8 as I just noticed. It requires Python 3.9 or later, but then occurs on macOS and Ubuntu. See https://github.com/stweil/ocrd_froc/actions/runs/8678819215/job/23796379466 for test results with different combinations of OS and Python version. Those test results also show that running A modified CI which runs |
The issue can be closed as soon as pull request #14 was merged. |
make check
for ocrd_all fails with the error messageTypeError: 'ocrd_froc.processor' is not a package
since at least ocrd_all v2024-02-01.I get the same error when I just run
ocrd-froc-recognize
without any argument:The text was updated successfully, but these errors were encountered: