-
Notifications
You must be signed in to change notification settings - Fork 18
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
WikibaseIntegrator cannot write to empty MediaInfo files #836
Comments
Well, it looks like the files do not have structured data yet (as Lucas Werkmeister noted on Telegram). Maybe it is just a matter of how the API is returning this error. |
This is a noticeble inconsistency with QIDs — there are no empty QIDs as far as I can tell. |
@LeMyst Thankfully there was a simple workaround:
I did not find this in the documentation though, and maybe the message could be a bit more clear on the WikibaseIntegrator end? I will open a ticket on Phab anyways |
Hello @lubianat I don't think it's a WikibaseIntegrator related issue, we correctly have a MissingEntityException and that's what we want. Do you think WBI need some improvement for this case (more than the Exception) |
EDIT: Previous title was
Some mediainfo IDs are not returning results --> The MW API returned that the entity was missing.
, changed to reflect updates.Hi!
I continue working with mediainfo, and now I am running into this issue:
Code:
The issue only happens for some MediaInfo ids.
E.g. M91125720 works fine, but M44422187 does not.
The website does not return the .ttl for these entries too, e.g.
https://commons.wikimedia.org/wiki/Special:EntityData/M44422187.ttl
leads to
but the entry resolves just fine:
https://commons.wikimedia.org/entity/M44422187
I realize this is not a WikibaseIntegrator issue, and I'll try and report it on Phabricator. Leaving it for information.
The text was updated successfully, but these errors were encountered: