Need help about client_state.xml

Message boards : BOINC client : Need help about client_state.xml
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37794 - Posted: 13 May 2011, 15:53:10 UTC
Last modified: 13 May 2011, 15:53:34 UTC

Hello,
I'm author of BOINC Monitor gadget http://www.myfavoritegadgets.info/monitors/BOINCMonitor/BOINCMonitor.html
I need some tech help about client_state.xml file. I need to know measure unit of follow sections
<checkpoint_cpu_time>28407.760000</checkpoint_cpu_time>
<checkpoint_fraction_done_elapsed_time>37998.972989</checkpoint_fraction_done_elapsed_time>
<current_cpu_time>28418.930000</current_cpu_time>

Can anybody help me or can anybody tell me where I can know this?
Thank you in advance.
Regards,
Igor
ID: 37794 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 29 Aug 05
Posts: 12979
Netherlands
Message 37795 - Posted: 13 May 2011, 16:03:44 UTC - in response to Message 37794.  

They're seconds.
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

quote: "I stand above the world in my glass enclave, and I cannot be hurt by the war and the harrowing waves"
ID: 37795 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37799 - Posted: 14 May 2011, 6:09:08 UTC - in response to Message 37795.  

Thank you. Tell me where I can find "Remaining time" for WU? And where BIONC get "Elapsed time"? Unfortunately elapsed time in client tot equel <checkpoint_fraction_done_elapsed_time>
Thank you.
ID: 37799 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37800 - Posted: 14 May 2011, 7:18:10 UTC - in response to Message 37799.  

Ignore my last message. I'm wrong. Sorry.
ID: 37800 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37807 - Posted: 14 May 2011, 18:38:00 UTC - in response to Message 37800.  

Can I get online BOINC statistic in XML-file? If yes tell me where. Thank you.
Please try my gadget. http://www.myfavoritegadgets.info/monitors/BOINCMonitor/BOINCMonitor.html
Enjoy.
ID: 37807 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 29 Aug 05
Posts: 12979
Netherlands
Message 37809 - Posted: 14 May 2011, 19:15:38 UTC - in response to Message 37807.  

All projects release their statistics in XML format. But you have to check the projects for that. BOINC itself doesn't release any statistics since it doesn't run any science.
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

quote: "I stand above the world in my glass enclave, and I cannot be hurt by the war and the harrowing waves"
ID: 37809 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37810 - Posted: 14 May 2011, 20:56:55 UTC - in response to Message 37809.  

Thank you for information
ID: 37810 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37812 - Posted: 14 May 2011, 22:06:59 UTC - in response to Message 37810.  

Guys I need your help. Can anybody post me client_state.xml when you use more than one project. E.g. maybe anybody use BOINC for seti, golatz, climat etc in one time. I strongly needed client_state.xml.
Plese, post it to me. My mail: shvaika [at] rambler.ru
ID: 37812 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 29 Aug 05
Posts: 12979
Netherlands
Message 37815 - Posted: 15 May 2011, 0:08:53 UTC

Isn't it easier for you to (temporarily) attach to a couple of projects?
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

quote: "I stand above the world in my glass enclave, and I cannot be hurt by the war and the harrowing waves"
ID: 37815 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37817 - Posted: 15 May 2011, 7:33:05 UTC - in response to Message 37815.  

I don't want do this because in future I don't plane use other projects except SETI. I think it is not big secret - client_state.xml yes? Please anobody post it to me. Thank you in advance
ID: 37817 · Report as offensive
Claggy
Volunteer tester
Help desk expert

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 37818 - Posted: 15 May 2011, 8:57:44 UTC - in response to Message 37817.  

I don't want do this because in future I don't plane use other projects except SETI. I think it is not big secret - client_state.xml yes? Please anobody post it to me. Thank you in advance

Then use a different email address and attach as a different user then,

Claggy
ID: 37818 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 29 Aug 05
Posts: 12979
Netherlands
Message 37821 - Posted: 15 May 2011, 11:38:31 UTC
Last modified: 15 May 2011, 11:39:20 UTC

Heads up, there seems to be a problem with the installer of your program, please see this post:

I install boinc monitor 4.6, the only message I got is:

A semi colon character was expected

Do you know, what I should do?

Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

quote: "I stand above the world in my glass enclave, and I cannot be hurt by the war and the harrowing waves"
ID: 37821 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37824 - Posted: 15 May 2011, 17:03:30 UTC - in response to Message 37821.  
Last modified: 15 May 2011, 17:10:22 UTC

Problem not in my gadget. Problem with client_state.xml file. Be sure. Long time I investigate this. See my answer here
ID: 37824 · Report as offensive
Richard Haselgrove
Volunteer moderator
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 3134
United Kingdom
Message 37827 - Posted: 16 May 2011, 8:13:15 UTC - in response to Message 37824.  

I've just looked through a couple of client_state.xml files for multiple-project computers. The only semi colon characters I found were separating the input file names, in the <command_line> of Einstein workunits, and the <stderr_txt> of Einstein results. Where, exactly, is your gadget expecting to find a semi-colon?
ID: 37827 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37828 - Posted: 16 May 2011, 13:29:21 UTC - in response to Message 37827.  

Where, exactly, is your gadget expecting to find a semi-colon?

I use standard Microsoft.XMLDOM ActiveXObject
I don't know why it can't parse XML. I try to open wrong (for my gadget) client_state.xml. Safari and Chrome browsers inform me about error too. Don't run it in browser. I contact with one of developer Dr. David Anderson today and post him wrong client_state.xml. Waiting for respond. Be patience. I hope soon we fix this problem.
ID: 37828 · Report as offensive
Profile Ageless
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 29 Aug 05
Posts: 12979
Netherlands
Message 37829 - Posted: 16 May 2011, 13:58:45 UTC - in response to Message 37828.  

The XML BOINC uses isn't real XML, but pseudo XML. Don't open it with an XML editor, or write it with one. If you want to open it, use a bog standard ASCII editor.
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.

quote: "I stand above the world in my glass enclave, and I cannot be hurt by the war and the harrowing waves"
ID: 37829 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37832 - Posted: 16 May 2011, 16:05:20 UTC - in response to Message 37829.  

How I can parse XML in this case. I think you wrong. I see in case error XML file have two 0x0D symbol. In case good 0x0D,0x0A. I think this is problem. Wait for Dr. Anderson answer. I think all will be OK soon :)
ID: 37832 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37833 - Posted: 16 May 2011, 16:05:21 UTC - in response to Message 37829.  
Last modified: 16 May 2011, 16:06:02 UTC

How I can parse XML in this case? I think you wrong. In case good XML file good parse standard windows parser. I see in case error XML file have two 0x0D symbol. In case good 0x0D,0x0A. I think this is problem. Wait for Dr. Anderson answer. I think all will be OK soon :)
ID: 37833 · Report as offensive
Richard Haselgrove
Volunteer moderator
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 3134
United Kingdom
Message 37835 - Posted: 16 May 2011, 17:22:28 UTC

In any event, wouldn't it be better practice for your gadget to obtain BOINC's state by GUI RPC (protocol)? You are currently reading a file which is continually being re-written by BOINC. There is a danger that the file may be inaccessible to you during re-writes, or worse that BOINC's operations may fail because you are holding the file open at the critical moment.

(And if you use GUI RPC, it is easier to extend the gadget to be network aware, and hence able to monitor remote computers. That would be welcomed by many in the BOINC community.)
ID: 37835 · Report as offensive
Igogo
Avatar

Send message
Joined: 13 May 11
Posts: 45
Ukraine
Message 37837 - Posted: 16 May 2011, 19:57:45 UTC - in response to Message 37835.  
Last modified: 16 May 2011, 19:58:00 UTC

Answer Dr. David Anderson
the client_state.xml problem is that it contains non-ASCII characters (> 127).
I will change the BOINC client to prevent this.

Wait for changing...
ID: 37837 · Report as offensive
1 · 2 · Next

Message boards : BOINC client : Need help about client_state.xml

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.