-
Notifications
You must be signed in to change notification settings - Fork 494
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
Dataset Export: Metadata character causing json parsing error, schema.org export fail and subsequent 500 error #8358
Comments
Thanks @kcondon for creating this issue! |
Export goes to /tmp initially. You might be able to figure out the bad character. The blank file workaround works because exports are cached. If a file exists, it will be served up rather than showing an error. If we remove the blank file, we can reproduce the error. Consider loading native JSON locally to see if you can reproduce it. It would be nice to more gracefully handle 500 errors when exporting. |
I can't reproduce this in develop now that multi license (PR #7920) has been merged. That's because the Schema.org JSON-LD output has changed. Instead of the following in 5.9 and below...
... develop/5.10 and above now have a URL like this:
To reproduce this on demo (running 5.9):
On publish, the page will blow up with a 500 error like this: This issue is basically a duplicate of #8224. If we can't reproduce this post 5.9, should we close both? I'll put this in review for discussion. |
@pdurbin @scolapasta The symptoms aren't exactly the same -the dataset is already published for instance, but I do still see an error when attempting to export the schema.org JSON-LD export, with the export page showing: {"status":"ERROR","message":"Export Failed"} I am not seeing an error in server.log, however. OK, the above was just a rehearsal seeing as prod is still on v5.9. I'll test again once it's on v5.10 |
This is working now for this dataset. |
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/J9TLXT
Something in the metadata is causing schema.org export to fail with a json parsing error, posting a blank file allows dataset to load.
So, this ticket is to:
-allowing the dataset page to load despite one or more export failures
-allowing the page to be loaded in a raw mode that can be used for troubleshooting/fixing.
The text was updated successfully, but these errors were encountered: