From: Keir Fraser Subject: Re: Re: Bug in pygrub? Boot loader didn't return any data! Date: Sat, 08 Aug 2009 18:21:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christian Tramnitz , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Can you try removing line 538: log.debug("PyGrub: Default selection is not valid, using first boot configuration...") ...from /usr/bin/pygrub? I think its inclusion may be an error. -- Keir On 08/08/2009 16:50, "Christian Tramnitz" wrote: > The problem seems to be related to the "-q" (quite) option, when invoked > standalone I'm getting the following error: > > > /usr/bin/pygrub -q /dev/vg00/test > Traceback (most recent call last): > File "/usr/bin/pygrub", line 684, in > chosencfg = run_grub(file, entry, fs, incfg["args"]) > File "/usr/bin/pygrub", line 538, in run_grub > log.debug("PyGrub: Default selection is not valid, using first boot > configuration...") > NameError: global name 'log' is not defined > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel