Age | Commit message (Collapse) | Author |
|
|
|
|
|
queue states
|
|
|
|
There were a couple of places where a file was uploaded while still open,
which resulted in an attempt to remove it, which causes an error from
Windows.
The allOCRed function also included an assumption that the path separator
would be a /, which is always correct for AWS, and correct for local on
Linux and OSX, but not for local Windows. Fixed by leaving the separator
well alone.
Also, the local connection was not stripping leading \, like it did /,
which caused an issue with Windows local.
Windows local is now tested and working, at least through wine.
|
|
|
|
they're more user-friendly
|
|
|
|
|
|
|
|
some error output)
|
|
TESSDATA_PREFIX accordingly
|
|
|
|
|
|
|
|
|
|
only use 0.1,0.2,0.3
|
|
minimal.
|
|
called rescribe
|
|
No functionality changes, but this should make it easier to make custom
builds using the pipeline in slightly different ways.
|
|
just be stopped after a period, rather than the whole computer shut down
|
|
(failing) log saving, mail sending, and removing erroneous references to AWS
|
|
This ensures that bookpipeline will still work even if TESSDATA_PREFIX has
been set to a directory without configs in it.
|
|
|
|
|
|
|
|
|
|
arguments, even if all are strings
|
|
|
|
|
|
|
|
|
|
|
|
There was no reason not to do this with wipeonly as well, and sure enough a
single broken PNG image in a wipeonly task would cause the queue to exponentially
fill as happened previously.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
as that isnt present on go1.11
|
|
|
|
|
|
queue
This prevents the current situation where a failed preprocessing job
is endlessly repeated, potentially spawning thousands of ocrpage
jobs in its wake each time.
Note that the email stuff works but requires putting secrets into
.go files, so need to rewrite that to read from somewhere more
sensible like a dotfile on the host.
|
|
|
|
|
|
and change WipeFile() to take advantage of them
|
|
|