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

FR: Reprocess items #365

Closed
totti4ever opened this issue Oct 21, 2020 · 7 comments · Fixed by #707
Closed

FR: Reprocess items #365

totti4ever opened this issue Oct 21, 2020 · 7 comments · Fixed by #707

Comments

@totti4ever
Copy link
Contributor

I am right that I can set the parameters for retrying, but once a document processing has failed I have to chance to re-start it through the UI?

I think it would be quite helpful to have an icon for re-starting after one has fixed some problematic orga/tag names or simply updated the version.

@eikek
Copy link
Owner

eikek commented Oct 21, 2020

Yes this is right. It's a slightly different intention: restarting while processing is a general retry for long-running tasks. The other situation is to submit the item to processing again. For the latter there is no UI currently. Reason was that you'd only need it rather rarely; I thought most of the time it's easier for one item to simply change what is wrong (like orga/tag name), no? But for new versions, maybe it's better to submit all to reprocessing?

@totti4ever
Copy link
Contributor Author

My specific problem was the error on classification, which was gone after updating. For this case I would have liked to just restart the processing of the failed files.

Maybe just add two buttons:

  1. reprocess all items (after adding information/assigning metadata)
  2. reprocess failed

But yes - it would be used rather rarely, true!

@TheOneValen
Copy link

I would regard this as an rather important feature. Imagine importing a large (sorted) collection of documents for which you all have to set tags/correspondents/etc. Reprocess them if you setup the most important metadata! Also would be great if the document date would automatically select the suggestion.

@eikek
Copy link
Owner

eikek commented Feb 21, 2021

But wouldn't it also work, if you first import maybe 50, fix all their metadata and then import the rest?

@TheOneValen
Copy link

TheOneValen commented Feb 21, 2021

Sure but you would have to put much more effort into what to import first.

Also also if you refine your tagging you might want to reprocess some files.

Maybe features like re-process all unconfirmed and re-process selected.

@eikek
Copy link
Owner

eikek commented Feb 26, 2021

There is already an endpoint to submit a single item to reprocessing, but without setting the newly extracted metadata. I thought about extending this to set metadata, but only for new items (as you suggested). I think when going for "reprocess selected", one can click first "unconfirm all" and then "reprocess" when wanting to also update the metadata. wdyt?

@TheOneValen
Copy link

That sounds very good, keeps the workflow clean and predictable. :)

@eikek eikek added this to the Docspell 0.21.0 milestone Mar 11, 2021
@eikek eikek changed the title FR: Reprocess failed items FR: Reprocess items Mar 11, 2021
@eikek eikek mentioned this issue Mar 11, 2021
@mergify mergify bot closed this as completed in #707 Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants