Change to preferences not working

Message boards : Web site : Change to preferences not working

Author Message
Chris Sutton
Send message
Joined: Nov 10 05
Posts: 297
Credit: 4,941,683
RAC: 0

I\'m having a problem getting my prefs to change and stay changed in my account.

Specifically, I\'m trying to change the following two:
Suspend work while computer is on battery power? no
Suspend work while computer is in use? no

Every time I change them to the \'yes\' value and save them, they immediately revert to \'no\' and display \'no\' on the \'your prefs have been updated\' page.

Does anyone know about this problem?
Does it happen to anyone else?

TIA

[edit]
Freaky. I can\'t change them over at SAH either... :(
And luckily I\'m not alone on this one. There\'s a thread over there about it too.
link to problem report at SAH
[/edit]

Chris Sutton
Send message
Joined: Nov 10 05
Posts: 297
Credit: 4,941,683
RAC: 0

There\'s a thread over there about it too.
link to problem report at SAH

Too late to edit....

For anyone else with this problem, I posted a quick workaround in the other thread, until the problem is fixed.

[edit]
Well, it\'s almost a quick workaround....
[/edit]

Profile maire
Volunteer moderator
Project administrator
Project developer
Project scientist
Send message
Joined: Nov 7 05
Posts: 438
Credit: 118,258
RAC: 0

There\'s a thread over there about it too.
link to problem report at SAH

Too late to edit....

For anyone else with this problem, I posted a quick workaround in the other thread, until the problem is fixed.

[edit]
Well, it\'s almost a quick workaround....
[/edit]


Thanks Chris! I hope that there\'ll be a fix for this soon. Until then, let me repost your link, as your URL seems to require an account over at SETI.
Here\'s the workaround
Thanks
Nick
____________
Nicolas Maire
Swiss Tropical and Public Health Institute
http://www.swisstph.ch

Profile Krunchin-Keith [USA]
Volunteer moderator
Volunteer tester
Avatar
Send message
Joined: Nov 10 05
Posts: 3217
Credit: 5,500,548
RAC: 3,634

This is very odd, strange and bizzarre.

I just changed my prefs and as reported the website shows no change. I tried 3 times. Then I was going to report it when I found it had previously been reported here. After reading this thread I read the one pointed to but did nothing else.

As I sat here my co-worker walked up to his computer, the one I was trying to affect, back from lunch and started using it, then the host suspended work, as I saw from monitoring via boincview, which it was not doing before lunch and before I started to try to change them on the site. He has no knowledge of how anything boinc works so I know he did not do anything that would affect settings. So the only way this computer could have changed was to get the new pref settings from the MCdN database.

So it seems even though they do not show correctly on the site after pressing update, they are transferring correctly to the database for hosts to use.

I would not have beleived this if I did not see it actually happen live.

Note:
I think to change you prefs, you need to make sure you set all options to what you want, press update and then ignore what-ever it shows until next time you want to change them, where you start over and set them all again.

Chris Sutton
Send message
Joined: Nov 10 05
Posts: 297
Credit: 4,941,683
RAC: 0

So it seems even though they do not show correctly on the site after pressing update, they are transferring correctly to the database for hosts to use.

Keith, beware.
This behaviour is not as it seems and can cause unpredictable results if you use multiple venues.

Sadly, I haven\'t had any time to work out what\'s going on with this yet.
Instead, I have resorted to not changing my prefs on the website any more and rather manually editing global_prefs.xml on the host I want to change.

Here\'s an exercise for anyone interested:
Take a look at your global_prefs.xml
Make changes on the web site
Update the host to get the new prefs.

You\'ll notice that only the prefs of the venue that you changed reflect in the new prefs file. The prefs of the other venues are as shown on the website.

That may not make as much sense as I would have liked. Let\'s try an example.

Change a venue (e.g work) to not run when active.
The web site will not reflect your change
Update a host to get new prefs
The new global_prefs.xml will not have a line \"<run_if_user_active/>\" for the venue that you changed, but it will show up in your other venues.
Go back to the web and change it for another venue (e.g. home).
Update the host and look at the prefs.
The affected line won\'t appear in the venue you just changed (home), but will appear in the other venues, even the one you changed previously (e.g. work in my example).

It\'s odd and I don\'t know the solution. Frankly, I\'m surprised that it\'s not yet widespread. Perhaps people aren\'t changing their prefs or they\'re just overriding them these days, or they\'re all on single venues.

Short-term solution is geeky, but just edit the global_prefs.xml file directly to reflect your prefs and then don\'t change them on the web. Doing so will overwrite your manual changes, and you\'ll need to reapply them again.

Profile Krunchin-Keith [USA]
Volunteer moderator
Volunteer tester
Avatar
Send message
Joined: Nov 10 05
Posts: 3217
Credit: 5,500,548
RAC: 3,634

It appears the last update to the web code has fixed this, at least when I looked at my preferences, that option that always showed as no even though it was set to yes, now shows as yes.

Post to thread

Message boards : Web site : Change to preferences not working


Return to malariacontrol.net main page


Copyright © 2013 africa@home