-
Notifications
You must be signed in to change notification settings - Fork 15
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
No processor specified for Correction #170
Comments
One such document did not load at all next time I logged in. It either gave the processor-related error (in debug mode), or was endlessly trying to load. |
I'll have to dive into this, there is already an automatic correction mechanism in the underlying library for similar problems, but this situation pertaining to corrections seems to be slightly different. That the error reoccurs when you open the document again is not unexpected. (the endless loading does seem odd).. |
I was trying to reproduce this error using different settings extensively. What I could observe was that this processor error occurs when both an entity annotation and a correction annotation are made in the same sentence, and the first annotation I make is on the entity. Regardless of which set definitions I use (yours or mine). After submitting entity annotations, the sentence where it belongs to fully disappears from the text area of FLAT. For the text to reappear, I have to reload the page (or the doc), or change back from the "current" text class -- if it is getting available, sometimes, but in those cases also with 'invisible' html -- to the original text class ("OCR") . But if I proceed with the annotations in reverse order (first a token correction, then the entity annotation) in the same sentence, the processor error does not occur. Additional detail: on one occassion, in Safari, after the severalth webservice restart, I also got the warning: "Warning, there are one or more set definitions that could not be loaded. We will continue as usual but this may negatively impact the ability to visualise and edit the afflicted set(s). The set definition(s) are:https://raw.githubusercontent.com/pirolen/folia-resources/main/namedentities.foliaset.xml" But I am not using this set in the current config at all (i.e., it is not in settings.py). |
@pirolen You were referring to this issue perhaps? This is indeed still open and needs to be addressed before we can release FLAT. |
Yes, thanks. |
Without LaMachine you mean (it's in the development version of LaMachine)? When you're not using LaMachine, you can still force a development installation of FLAT with |
Yes, without LaMachine. Further, I get the below types of error, if I try annotating (un/tokenized) texts. Editor submission failed: FoLiA Document Server error: FoLiA error in pirolen/FA-mittelalt_bibkat_sample_001: [ValueError] Textclass is not supported for TextContent Query was: PROCESSOR name "pirolen" type manual IN PROCESSOR name "FLAT" version "1.0" host "138.246.225.16:8000" src "http://138.246.225.16:8000/" IN PROCESSOR name "foliadocserve" version "0.7.6" host "badwver-itservice2.srv.mwn.de" folia_version "2.5.0" src "https://github.com/proycon/foliadocserve" EDIT t OF https://raw.githubusercontent.com/proycon/folia/master/setdefinitions/text.foliaset.ttl WITH text "Summ" textclass "ocr" datetime now confidence NONE (AS CORRECTION OF https://raw.githubusercontent.com/pirolen/folia-resources/main/bibkat_ocr_corrections.foliaset.xml WITH class "other" datetime now confidence NONE) FOR ID FA-mittelalt_bibkat_sample_001.text.div.1.entry.1.term.1.s.1.w.1 FORMAT flat RETURN target |
…nually from the interface (slightly related to #170)
Thus far I'm still having difficulties actually reproducing the original problem with the processor error. I wonder if it already got solved by an earlier fix. I'll dig a bit deeper still.. |
I think this is solved now, I corrected some more things and can't reproduce the error. |
Reported by @pirolen:
The text was updated successfully, but these errors were encountered: