-
Notifications
You must be signed in to change notification settings - Fork 2
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
ddrindex not indexing av/visual history correctly #186
Comments
Confirmed that
|
This issue is the result of changes to Python 3's "Config parsers do not guess datatypes of values in configuration files, always storing them internally as strings." (https://docs.python.org/3/library/configparser.html#supported-datatypes) The problem code is in the
(https://github.com/denshoproject/ddr-cmdln/blob/master/ddr/DDR/config.py#L44)
The https://github.com/denshoproject/ddr-cmdln/blob/master/ddr/DDR/models/common.py#L414 The logic checks that the value of the config var
always evaluates to boolean Note that this |
|
This fixes the issue with the Indexing Indexing
Here's the IA meta for ddr-csujad-9-1 (which works): https://ia803004.us.archive.org/23/items/ddr-csujad-9-1/ddr-csujad-9-1_files.xml And for ddr-densho-400-20 (which does not): The only difference between the two sets of files appears to be the presence of an ogg file in the working entity (ddr-csujad-9-1). Both of the underlying Entity files (i.e., |
I dropped and recreated my local Elasticsearch index and now I'm seeing the |
In this particular case the error is because the Update: Looks like the original MP3 has empty |
Looks like those are just the embedded ID3 tags which we don't use in the interface at all, so not important. The function should ignore if they're not present. |
Empty tags coming from IA are now ignored. Fixed in |
Indexed ddr-chi-1 and ddr-densho-400 to ddrstage. Neither are displaying correctly.
For ddr-chi-1 - the video download links are not working, the player is the old player.
For ddr-densho-400 the type is an AV object that is audio only. It should appear as this CSUJAD interview on production http://ddr.densho.org/ddr-csujad-9-1/. I indexed ddr-csujad-9 to ddrstage to compare and it is not displaying.
For comparison, here is a good doc from the production ES cluster (indexed at 2019-03-11T11:55:53):
GOODddr-csujad-9-1-ESdoc.json.txt
And here is a bad doc from the stage ES cluster that was indexed with
ddr-cmdln
v5.0.4 on master:BADddr-csujad-9-1-ESdoc.json.txt
This behavior is also causing
ddr-public
to use the incorrect version of the av templates (i.e., the old segment template that uses the deprecated embedded IA player). Here is a bad doc from the production ES index for ddr-chi-1-1:BADddr-chi-1-1-1-ESdoc.json.txt
The text was updated successfully, but these errors were encountered: