Posts by Eudy Silva

1) Message boards : Documentation : GUI RPC Protocol on Wiki (Message 90653)
Posted 11 Mar 2019 by Eudy Silva
Post:
Thank you for the fix.
And also thank you for the great job you guys do !
2) Message boards : Documentation : GUI RPC Protocol on Wiki (Message 90645)
Posted 11 Mar 2019 by Eudy Silva
Post:
Hello, everyone.
I've just registered.
As I did not find a way for registering in the Wiki, I thought here would be an appropriate place to post.
I was doing some exercise, using C++ to connect to the BOINC core client through a TCP socket,
following the documented GUI RPC Protocol in the Wiki.
I stumbled in what I believe is an error in the documentation, regarding the get_app_config request.

According to https://boinc.berkeley.edu/trac/wiki/GuiRpcProtocol#get_app_config, the request
would be <get_app_config/> (surrounded by the usual <boinc_gui_rpc_request> and </boinc_gui_rpc_request>\003).
So I used the following in a request, trying to get app_config.xml (after I was succesfully authorized, of course):
<boinc_gui_rpc_request>
<get_app_config/>
</boinc_gui_rpc_request>\003

The BOINC client didn't like it and replied with:
<boinc_gui_rpc_reply>
<error>no such project</error>
</boinc_gui_rpc_reply>

Which makes sense. Since an app_config.xml is project dependent, the project has to be specified in the request:
So, I tried:
<get_app_config>
<url>http://www.primegrid.com</url>
</get_app_config>

and the client happily replied with the contents of my app_config.xml for the PrimeGrid project.

This way, the Wiki should be corrected, as a get_app_config request should be in the form:
<get_app_config>
<url>desired-project-url</url>
</get_app_config>


This happened with client 7.14.2 on Windows 10 Home 64 bits.

Cheers




Copyright © 2019 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.