On Friday 13 April 2007 5:09 am, Dominique Leuenberger wrote:
Gi,
on my own OBS installation, on many things I do (like adding a repo, deleting a repo), I get the message stated below.
The computer is not busy at all at this moment (so no workers running, CPU at 0 - 2 %, and out of the 4Gig of Ram, there is also plenty available.
Is there anything I can do?
I had the same problem. It appears to caused by this bug: https://bugzilla.novell.com/show_bug.cgi?id=239886 My machine isn't eactly slow (Athlon64 3800+), but the API regularly brought it to it's knees. As a temporary measure, I made the following patch. I haven't had an "execution expired" error since. Index: obs/frontend/lib/opensuse/validator.rb =================================================================== --- obs.orig/frontend/lib/opensuse/validator.rb +++ obs/frontend/lib/opensuse/validator.rb @@ -134,10 +134,8 @@ module Suse raise ValidationError, "illegal document type '#{document.class.name}'" end - if @schema_path.nil? - logger.debug "schema path not set, skipping validation" - return doc_str - end + # Validation is kicking my ass + return doc_str logger.debug "trying to validate against schema '#@schema_path'" -- James Oakley jfunk@funktronics.ca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org