Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 77580

Summary: foldingathome user stats not assigned to the correct userid
Product: Gentoo Linux Reporter: Bill Krueger <bill_krueger>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tereutes
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300119    

Description Bill Krueger 2005-01-11 12:48:26 UTC
Apparently the FAH client requires that there be no spaces between the = sign and the userid in the config file. Apparently the client code sees the space and prepends an underscore to the userid. This results in the stats for the Gentoo FAH participants being applied to the wrong id and loss of bragging rights, etc that comes with those stats. I've managed to track down the following:

/etc/init.d/foldingathome start 

runs copy_client_config

which uses Pythons ConfigParser::write which has the following line of code:

   fp.write("%s = %s\n" %
          (key, str(value).replace('\n', '\n\t'))) 

Which I believe is the line that's introducing the spaces.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-12 00:04:47 UTC

*** This bug has been marked as a duplicate of 71700 ***
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-31 01:47:41 UTC
*** Bug 80055 has been marked as a duplicate of this bug. ***