ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.97k stars 532 forks source link

AttributeError: 'collections.OrderedDict' object has no attribute 'data' #513

Closed jlsanz-sdi closed 4 years ago

jlsanz-sdi commented 4 years ago

General information

Issue Description

I can start application.py and can recognize the cluster

But finally I got the following error

Traceback (most recent call last): File "/DATA/HQ/elasticsearch-HQ-master/elastichq/common/exceptions.py", line 29, in _request_wrapper return functor(*args, **kwargs) File "/DATA/HQ/elasticsearch-HQ-master/elastichq/api/clusters.py", line 133, in post return APIResponse(result.data, HTTP_Status.CREATED, None) AttributeError: 'collections.OrderedDict' object has no attribute 'data'

Source Code / Logs

Include any logs or source code that would be helpful to diagnose the problem. If including stacktrace, please include the full stacktrace.

Large logs and files should be attached. Try to provide a reproducible test case or steps that are the bare minimum necessary to generate the problem.

Be Patient

I have a day job. ;-)

jlsanz-sdi commented 4 years ago

pip3.6 install -U 'marshmallow==2.16.1' did the trick