I'm creating a service with the require_managed_service function, subsequently I call the service_to_dict function and store the result as a json file that looks like:
Then, when I try to use the service_from_dict method I get the following error:
File "MDStudio/venv/local/lib/python2.7/site-packages/cerise_client/service.py", line 229, in service_from_dict
return get_managed_service(srv_dict['name'], srv_dict['port'])
File "MDStudio/venv/local/lib/python2.7/site-packages/cerise_client/service.py", line 120, in get_managed_service
raise errors.ServiceNotFound()
cerise_client.errors.ServiceNotFound:
I'm creating a service with the
require_managed_service
function, subsequently I call theservice_to_dict
function and store the result as a json file that looks like:Then, when I try to use the
service_from_dict
method I get the following error: