From c06c07cf14f4dbfbb69f7c5cf3b1dd440df80fa4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 3 Oct 2009 00:20:52 +0000 Subject: [PATCH] - client: if GPU is removed while jobs in progress, don't show messages as internal errors. svn path=/trunk/boinc/; revision=19237 --- checkin_notes | 26 +++++++++++++++++--------- client/app.cpp | 4 ---- client/cs_statefile.cpp | 4 ++-- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/checkin_notes b/checkin_notes index 290506e020..e06b1fa259 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8369,13 +8369,21 @@ David 2 Oct 2009 error_numbers.h David 2 Oct 2009 - - client: fix bug where if you change project "no CPU/NVIDIA/ATI" - prefs and update, the change wouldn't take effect until client restart. - - client: fix bug in enforcement of "no CPU/NVIDIA/ATI" prefs + - client: fix bug where if you change project "no CPU/NVIDIA/ATI" + prefs and update, the change wouldn't take effect until client restart. + - client: fix bug in enforcement of "no CPU/NVIDIA/ATI" prefs - client/ - client_state.cpp - cs_account.cpp - work_fetch.cpp - lib/ - coproc.cpp + client/ + client_state.cpp + cs_account.cpp + work_fetch.cpp + lib/ + coproc.cpp + +David 2 Oct 2009 + - client: if GPU is removed while jobs in progress, + don't show messages as internal errors. + + client/ + app.cpp + cs_statefile.cpp diff --git a/client/app.cpp b/client/app.cpp index acc0f7e802..f3a3a7b1b8 100644 --- a/client/app.cpp +++ b/client/app.cpp @@ -631,10 +631,6 @@ int ACTIVE_TASK::parse(MIOFILE& fin) { || result->ready_to_report || result->state() != RESULT_FILES_DOWNLOADED ) { - msg_printf(project, MSG_INTERNAL_ERROR, - "State file error: result %s is in wrong state\n", - result_name - ); return ERR_BAD_RESULT_STATE; } diff --git a/client/cs_statefile.cpp b/client/cs_statefile.cpp index cc2a9cfbf0..b462e52cee 100644 --- a/client/cs_statefile.cpp +++ b/client/cs_statefile.cpp @@ -269,7 +269,7 @@ int CLIENT_STATE::parse_state_file() { } } if (avp->missing_coproc()) { - msg_printf(project, MSG_INTERNAL_ERROR, + msg_printf(project, MSG_INFO, "Application uses missing %s GPU", avp->ncudas?"NVIDIA":"ATI" ); @@ -353,7 +353,7 @@ int CLIENT_STATE::parse_state_file() { continue; } if (rp->avp->missing_coproc()) { - msg_printf(project, MSG_INTERNAL_ERROR, + msg_printf(project, MSG_INFO, "Missing coprocessor for task %s; aborting", rp->name ); rp->abort_inactive(ERR_MISSING_COPROC);