I forgot to mention that the annotation file has Wikipedia urls as references which causes a warning because I believe that it expects an integer and not a URL.
For my project, I am using the URL because I need it and since it is a warning only, I have let it be for the time being. Putting a url manually while annotating works so I expect it to not be a problem in the auto-generated file either..
Could you advise on how to debug the code? I looked at the code of src/server/annotation.py where the error originates but could not make the logging work. I tried using log_info("something") following some existing lines but it didn't appear in the output where the server is launched, nor in server.log (I'm not too experienced with python).
Also, is it possible to completely bypass checking whether the annotation and the actual file have the same text? I mean, if the content of the text file contains "A B C" and the annotation is for index 2 3 "b", the server complains since the text of the annotation is not the same as it is in the text.