Skip to content
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

errors in the matlab binding #61

Open
stoianov opened this issue May 16, 2018 · 0 comments
Open

errors in the matlab binding #61

stoianov opened this issue May 16, 2018 · 0 comments

Comments

@stoianov
Copy link

stoianov commented May 16, 2018

Hello,
using ML ver 8.5 (R2015a), the required python packages in requirements.txt (python 2.7), there are errors in few calls:
(1) client.env_monitor_start(instance_id, outdir, true);
(2) client.env_monitor_close(instance_id);
(3) client.upload
(see bellow for details).
Could you please provide indications or update the code, also to work with the latest python packages.

I think there is some incompatibility with the "webwrite" matlab function; by now I "resolved" this with catching and ignoring the error in the outermost script (example_agent), and it seems to work, but I'm not sure this is a good solution.

Thanks, Ivilin

-- (1)
Error using readContentFromWebService (line 37)
The server returned the message: "NO CONTENT" for URL, 'http://127.0.0.1:5000/v1/envs/6ecaff44/monitor/start/' (with HTTP response code 204).
Error in webwrite (line 126)
[varargout{1:nargout}] = readContentFromWebService(connection, options);
Error in gym_http_client/post_request (line 25)
resp_data = webwrite(url, req_data, obj.webopt);
Error in gym_http_client/env_monitor_start (line 115)
obj.post_request(route, req_data);
Error in example_agent (line 21)
client.env_monitor_start(instance_id, outdir, true);

-- (2)
Error using readContentFromWebService (line 37)
The server returned the message: "NO CONTENT" for URL, 'http://127.0.0.1:5000/v1/envs/d8d7a341/monitor/close/' (with HTTP response code 204).
Error in webwrite (line 126)
[varargout{1:nargout}] = readContentFromWebService(connection, options);
Error in gym_http_client/post_request (line 25)
resp_data = webwrite(url, req_data, obj.webopt);
Error in gym_http_client/env_monitor_close (line 120)
obj.post_request(route, []);
Error in example_agent (line 46)
client.env_monitor_close(instance_id);

-- (3)
Error using readContentFromWebService (line 37)
The server returned the message: "BAD REQUEST" for URL, 'http://127.0.0.1:5000/v1/upload/' (with HTTP response code 400).
Error in webwrite (line 126)
[varargout{1:nargout}] = readContentFromWebService(connection, options);
Error in gym_http_client/post_request (line 25)
resp_data = webwrite(url, req_data, obj.webopt);
Error in gym_http_client/upload (line 141)
obj.post_request(route, req_data);
Error in example_agent (line 55)
client.upload(outdir);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant