-
Notifications
You must be signed in to change notification settings - Fork 0
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
500 error in FCREPO when attempting to add extracted_text to an existing object #11
Comments
In the end I decided to create separate files rather than add my own 'extraced_text', but this problem was never solved. |
Hey @geekscruff , I'm looking at this issue from the Fedora side and (trying) to set up a Hyku box to test. Can you give me any details about the size, structure of the object and whether your system was under load when this happened. Also did it happen consistently with the above mentioned object? |
Hello @whikloj ... the was all done on a dev instance, and I was running a migration which was adding a PDF and TXT file to a Hyrax/Hyku work, and then adding an 'extracted text' to the TXT, so another file into the 'file set'. It failed consistently on that, but would add the extracted text to the (larger) PDF. |
So, just so I've got this clear in my mind. The PDF is your pcdm:Object with a pcdm:FileSet containing the TXT text (which is provided) but then you extract the text from the PDF and add that to the same pcdm:FileSet. My understanding of the Samvera content model is weak, so correct me where I am wrong.
|
Yes, and ...
In the end I dispensed with the extra TXT and added extracted text to the PDF FileSet. |
When updating the extracted text, I'm seeing the following error. This happens when the original file is TXT. I have observed it when adding to a PDF original_file, but this works more consistently than not.
No problem when I do a direct add of file into 'files' container via GUI and via CURL (as expected)
This is the code:
It works via this very manual method:
I've ruled out the being the file itself and also that it's a Fedora problem proper.
I can add this file to one fileset, but not the other, which hints at something to do with the original_file file in the fileset, which is a plain text file. It seems like it's something the AF / LDP are trying to do but I'm struggling to figure out is WHAT AF / LDP are doing ... I get nothing in the logs for any of this.
In FCRepo logs:
In Hyku logs:
See samvera-tech post
The text was updated successfully, but these errors were encountered: