Comments (6)
How about a make check
target to detect such problems before running make all
? We could document this in the README.md and give precise error and remediation messages?
from ocrd_all.
And I guess you did not run deps-ubuntu
first?
I don't see the issue. This dependency has existed for quite long, and non-Ubuntu users are instructed to install these by hand in the README. And that running with -j
can scatter your error messages isn't news either...
from ocrd_all.
Robert, you and I know how to do this right, and usually we are also able to find the reason for problems and fix them.
But I expect more from ocrd_all than support for experts. I think it should also work for users with less experience who also may make errors, and it should help those users to find the root cause of a problem.
That's why I test such scenarios, and here ocrd_all failed to fulfill my expectations.
Even if nobody fixes this issue it makes sense to document it, because then users can at least find it and get hints how to solve it.
from ocrd_all.
That could be a solution, and we could even make all
depend on that target. Then all preconditions would be checked (which I expect takes less than a second) before starting the large build (and failing somewhere on the way).
I am not sure whether check
is not reserved for checking the result of a build, so maybe a different target name would be better, something like pre-check
or check-preconditions
.
from ocrd_all.
But I expect more from ocrd_all than support for experts.
We have documented the dependencies, we have provided an automatic solution for our target platform, and documented everything again in the setup guide.
What you are asking for is an automatic solution for an unsupported platform. Why should we offer that to non-experts?
Even if nobody fixes this issue it makes sense to document it, because then users can at least find it and get hints how to solve it.
I couldn't disagree more. Either this is an issue, then it must be fixed. Otherwise it should be closed to not bloat the space with real open problems. Users must read the actual documentation, not work through bug trackers.
For the problem of supporting other platforms, there's already #56. And for possible configurations on half-supported platforms, we are already discussing #147.
How about a
make check
target to detect such problems before runningmake all
?
That would reduplicate everything that make deps-ubuntu
or make all
tries to do. Why bind manual effort to introduce and manage a redundant level of knowledge?
from ocrd_all.
I now think that make check
could be used for pre checks and post checks.
Running it before any build would check the preconditions and tell users, that a final check requires make all
.
Running it after make all
would check the build results.
from ocrd_all.
Related Issues (20)
- /models not working HOT 6
- Provide date-based alias for maximum-git
- frak models in ocrd resmgr HOT 27
- empty OCR HOT 13
- model download in Docker only allowed for root HOT 4
- no word coordinates? HOT 6
- Docker: interference with older versions of core HOT 3
- Docker: build CD images sequentially HOT 1
- Use annotated tags for new releases
- `make check` fails with latest code because of missing ocrd-tesserocr-binarize HOT 5
- 2nd build stops waiting for user input HOT 1
- ocrd-import does not work HOT 4
- Docker: Logfile permissions problems HOT 3
- `make check` fails since January
- `make all` fails for Python 3.7 HOT 4
- Docker: build multi-architecture images HOT 3
- qurator namespace pkg problems are back HOT 4
- Broken build (ocrd_detectron2) HOT 2
- Broken builds on Ubuntu 20.04 HOT 3
- Check core submodule version is consistent with base image core version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocrd_all.