how to debug?

Message boards : Number crunching : how to debug?
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 . . . 11 · Next

AuthorMessage
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488559 - Posted: 13 Mar 2014, 19:55:36 UTC - in response to Message 1488551.  

I got it.
ID: 1488559 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1488561 - Posted: 13 Mar 2014, 19:59:04 UTC - in response to Message 1488558.  

3:45PM today. Right above it is my new config XML from 2:25PM

Just checking - that is cc 'underscore' config, isn't it - not just config?
ID: 1488561 · Report as offensive
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488564 - Posted: 13 Mar 2014, 20:02:25 UTC - in response to Message 1488561.  

cc_config
ID: 1488564 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1488566 - Posted: 13 Mar 2014, 20:05:48 UTC

Then I'm sorry to say I'm stuck. If the name is exact, and we can see it, why can't the BOINC Manager see it? Anybody else like to come up with a theory, while I go and find a bottle of something?
ID: 1488566 · Report as offensive
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488567 - Posted: 13 Mar 2014, 20:07:16 UTC - in response to Message 1488566.  

Richard thank you and have a good dinner too, I think it is that time across the Pond. Perhaps one of the readers will have a suggestion.
ID: 1488567 · Report as offensive
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488569 - Posted: 13 Mar 2014, 20:08:20 UTC - in response to Message 1488567.  

Just to repeat what XML I have:

Client_configuration (cc_config.xml)

<cc_config>
<log_flags>
<work_fetch_debug>1</work_fetch_debug>
</log_flags>
</cc_config>
ID: 1488569 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1488571 - Posted: 13 Mar 2014, 20:19:35 UTC - in response to Message 1488569.  
Last modified: 13 Mar 2014, 20:47:03 UTC

Just to repeat what XML I have:

Client_configuration (cc_config.xml)

<cc_config>
<log_flags>
<work_fetch_debug>1</work_fetch_debug>
</log_flags>
</cc_config>


Using NotePad, Try replacing the contents with;

<cc_config>
 <log_flags>
   <work_fetch_debug>1</work_fetch_debug>
 </log_flags>
 <options>
   <dont_contact_ref_site>1</dont_contact_ref_site>
 </options>
</cc_config>

Click on the File Name, Change the Entire File name to;
cc_config.xml
Make sure there isn't a Space in front of the Name.
ID: 1488571 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1488583 - Posted: 13 Mar 2014, 20:41:46 UTC - in response to Message 1488571.  

TBar, please remember that you are advising a user who is likely to have default folder options set. If the file is described as an XML Document, and it opens with Internet Explorer as the default rendering engine (as we saw with the <?xml version="1.0"?> post), then it has a (hidden?) xml extension already.

We don't want files called cc_config.xml.xml (double extension) - that will certainly confuse BOINC Manager.

(well, to be pedantic - it's the client that re-reads the files, on direction by the Manager)
ID: 1488583 · Report as offensive
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488592 - Posted: 13 Mar 2014, 20:56:35 UTC - in response to Message 1488583.  

And lets not forget that we have also have a very confused user, lol.
Thanks again Richard for spending with me a whole day.
ID: 1488592 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1488594 - Posted: 13 Mar 2014, 20:59:39 UTC - in response to Message 1488583.  

TBar, please remember that you are advising a user who is likely to have default folder options set. If the file is described as an XML Document, and it opens with Internet Explorer as the default rendering engine (as we saw with the <?xml version="1.0"?> post), then it has a (hidden?) xml extension already.

We don't want files called cc_config.xml.xml (double extension) - that will certainly confuse BOINC Manager.

(well, to be pedantic - it's the client that re-reads the files, on direction by the Manager)

That's why I suggested Detaching the Project, which would result in the Old Project folder being instantly Vaporized. Old Version 6 Apps, Bad app_info.xml...all Vaporized. Then a New Project folder would be created and be populated with the Apps appropriate to the Host.

It can still be done.
:-)
ID: 1488594 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
Message 1488771 - Posted: 14 Mar 2014, 10:22:36 UTC

Ok, that cc_config.xml file, what icon does it have?

Does it look like this:



or more like this:


There's an alternative route to get a working, albeit bloated and probably confusing, copy of cc_config.xml by having boinc itself create one, with a little trick, which we can try next...
A person who won't read has no advantage over one who can't read. (Mark Twain)
ID: 1488771 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 1488782 - Posted: 14 Mar 2014, 11:37:35 UTC

William

I put a working file for him to DL in this msg: http://setiathome.berkeley.edu/forum_thread.php?id=74304&postid=1488450
ID: 1488782 · Report as offensive
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488788 - Posted: 14 Mar 2014, 12:11:27 UTC - in response to Message 1488782.  

Juan, thank you, but I tried a copy and paste yesterday and it would not copy.
ID: 1488788 · Report as offensive
Miklos M.

Send message
Joined: 5 May 99
Posts: 955
Credit: 136,115,648
RAC: 73
Hungary
Message 1488791 - Posted: 14 Mar 2014, 12:14:04 UTC - in response to Message 1488771.  

Hi William, thank you for the help. It looks like the first icon and looks like all the other icons of XML nature.
ID: 1488791 · Report as offensive
Batter Up
Avatar

Send message
Joined: 5 May 99
Posts: 1946
Credit: 24,860,347
RAC: 0
United States
Message 1488807 - Posted: 14 Mar 2014, 13:19:24 UTC - in response to Message 1488788.  

Juan, thank you, but I tried a copy and paste yesterday and it would not copy.

One has to open an XML file with a text app like notepad, make changes then save the file.
ID: 1488807 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
Message 1488811 - Posted: 14 Mar 2014, 13:45:14 UTC

'fascinating'

Ok, I need to switch boinc version, then I'll try to lead you through getting boinc to do the work for you.
A person who won't read has no advantage over one who can't read. (Mark Twain)
ID: 1488811 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 1488832 - Posted: 14 Mar 2014, 14:43:00 UTC - in response to Message 1488807.  

Juan, thank you, but I tried a copy and paste yesterday and it would not copy.

One has to open an XML file with a text app like notepad, make changes then save the file.

You don´t need to edit or copy the file, just DL it directly to the boinc directory and reload the configurations it will work, i made in this way to avoid you exactly to use any editor.
ID: 1488832 · Report as offensive
Batter Up
Avatar

Send message
Joined: 5 May 99
Posts: 1946
Credit: 24,860,347
RAC: 0
United States
Message 1488836 - Posted: 14 Mar 2014, 14:55:00 UTC - in response to Message 1488832.  


You don´t need to edit or copy the file, just DL it directly to the boinc directory and reload the configurations it will work, i made in this way to avoid you exactly to use any editor.

How come you told me to Read The Fine Manual when I needed DOS help? j/k ja ja.
ID: 1488836 · Report as offensive
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 1488841 - Posted: 14 Mar 2014, 14:59:14 UTC - in response to Message 1488836.  


You don´t need to edit or copy the file, just DL it directly to the boinc directory and reload the configurations it will work, i made in this way to avoid you exactly to use any editor.

How come you told me to Read The Fine Manual when I needed DOS help? j/k ja ja.

The msg was not for you, was directed to you, was directed to Miklos M., seems like he has problem to build the file with the right name.
ID: 1488841 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
Message 1488842 - Posted: 14 Mar 2014, 15:01:54 UTC

Ok, so, now let us try to get BOINC to dump the cc_config.xml file.

in Advanced View (that is the one that shows you the list of your tasks and has tabs like projects, tasks and transfers) go to

Tools -> Computing preferences

go to the tab 'exclusive applications'

click on 'Add'

you'll get a file selection screen looking at your Program directory.
Pick a folder from some program you use - any .exe will do, we are going to remove the entry again.

Pick a folder, double click tpo open if there are more folders inside open until you see an executable file. Doubleclick it.

The window should now have the name of the executable in the top box.

click 'ok' - the window will close and BOINC will generate a cc_config.xml in the right place.

now, we didn;t really want to have an exclusive app, so

tools -> computing preferences

it should open on the right tab.

click on the .exe entry you made and click 'remove'. click 'ok'

Ok, I think that's far too much in one go, so, start at the top and when you get stuck, holler.

NB if all goes well you now have a fully fledged cc_config.xml with every tag under the sun in it. Much more than you'll ever need, but that way you get a working copy in the right location.
A person who won't read has no advantage over one who can't read. (Mark Twain)
ID: 1488842 · Report as offensive
Previous · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 . . . 11 · Next

Message boards : Number crunching : how to debug?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.