Open densho opened 4 years ago
TODO: @pkikawa Please check that indexing is off in ddrlocal-local.cfg
i checked her ddrlocal-local.cfg
and it was set to TRUE - i have now changed it to FALSE
i tested deleting a binary on my vm with indexing disabled and it did NOT throw the failure message.
closing issue.
or actually did we want it open?
The syntax for the string formatter that passes the ES host and port to the requests module in docstore.delete is incorrect causing an error when the code attempts to connect to ES.
Note that the item is still successfully deleted from the repo (in this case, it was a File.delete) even though the indexing operation fails. The repo was left in a good state with no hanging commits.
Traceback reads:
See: https://github.com/densho/ddr-cmdln/blob/master/ddr/DDR/docstore.py#L766