denshoproject / ddr-local

Web UI used for interacting with DDR collections and entities on a local machine.
Other
3 stars 0 forks source link

Gitstatus returns failure for sync with RequestError result #273

Closed sarabeckman closed 4 years ago

sarabeckman commented 4 years ago

I synced ddr-pc-50 in the Editor UI running version 4.0.0 master ddrlocal package and the gitstatus celery message returned Failure. The result message reads :

RequestError(400, u'invalid_type_name_exception', {u'status': 400, u'error': {u'rootcause': [{u'reason': u"Document mapping type name can't start with ''", u'type': u'invalid_type_name_exception'}], u'type': u'invalid_type_nameexception', u'reason': u"Document mapping type name can't start with ''"}})

I ran git status in command line for ddr-pc-50 and the collection had synced the commits I had made via Editor UI.

GeoffFroh commented 4 years ago

Just added important label -- this is a production issue. Collections can be synced from the command-line, however.

Seems related to ES version mismatch issue. All other operations that had been throwing the same exception are now working, however, and ddrlocal-local.cfg is pointed at the correct ES7 host

pkikawa commented 4 years ago

tested syncing with ES disabled and got the same message

pkikawa commented 4 years ago

interestingly i get thrown to a full on error page (same message) if i do the following: dump reddis rebot sign in edit collection enable gitstatus notifications immediately after clicking edit

[Uploading TypeError at _ui_collectionddr-testing-40299.zip…]()

Attempting to go back to the previous page(s) will also throw this error page

ed: resolved by dumping redis and rebooting

gjost commented 4 years ago

There's no file in that TypeError .zip

pkikawa commented 4 years ago

gah

TypeError at _ui_collectionddr-testing-40299.zip

pkikawa commented 4 years ago

its the same error as before

GeoffFroh commented 4 years ago

Turned out to be configuration issue