cannot resubmit local
-
plom-scan process A.pdf
, say this uploads paper 408. - use
plom-manager
to "Remove All Scanned Pages from Test" on 408. - try
plom-scan process A.pdf
.
this will now fail to upload (by design in fact):
WARNING - A.pdf is in the PDF archive - we checked md5sum - it the same as file A.pdf. It will not be processed.
But maybe I wanted to wipe it and upload again? I think this is a case of "too much distributed intelligence (?)".
IMHO: Database knows stuff, no one else should. I.e., the local scanner should be dumber: you feed it pdf files and it processes them. If the server doesn't like that pdf file then the server can say so.
Simplest fix here would be to add API like "yo server, y'all seen this pdf yet? (name, md5)". Or "hey server, I want to do some work on (name.pdf,md5), is that cool?".