boinc icon indicating copy to clipboard operation
boinc copied to clipboard

"In Use" and "Not In Use" suspension preferences could prevent computing indefinitely

Open Vulpine05 opened this issue 3 years ago • 4 comments

Describe the bug BOINC has the option to suspend computer usage in two ways: When the computer is in use (IU), and when it is not in use (NIU). It is possible to enable suspension for both IU and NIU at the same time. It is also possible to set the values for each such that BOINC will never work on any tasks.

Steps To Reproduce

  1. Open BOINC Manager->Options->Preferences.
  2. Set IU time to 0.08, and NIU to 0.05 minutes. Save changes.

Expected behavior A message should let the user know to change the settings, and these settings should not be saved.

System Information

  • OS: Windows 10
  • BOINC Version: 7.20.2, but I have seen this in earlier versions.

Additional context This bug can occur in three locations:

  • [x] Manager: Changing settings in Options->Preferences - PR #4955
  • [x] Client: Reading global_prefs_override.xml that a user may have manually edited. - PR #5270
  • [ ] Web: User can modify computing preferences from a project.

Vulpine05 avatar Sep 29 '22 02:09 Vulpine05

I had started working on the Manger change via #4634. I should be able to fix this in the Manager and Client. I think the fix for the client will prevent any web preferences from propagating to a client, but having an error message when saving web preferences would be better.

With that said, I am not familiar with php. Also, even if I figure out how to fix it via web, I don't know how to test and verify. If anyone is willing and able to do one or the other, please let me know.

Vulpine05 avatar Sep 29 '22 02:09 Vulpine05

I don't think this is necessary.

davidpanderson avatar Oct 10 '22 08:10 davidpanderson

This issue has one more item that hasn't been completed. I cannot reopen the issue. @davidpanderson, could you reopen please?

Vulpine05 avatar Jun 16 '23 17:06 Vulpine05

Happened to catch your message while I was at a screen.

RichardHaselgrove avatar Jun 16 '23 17:06 RichardHaselgrove