This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: Bug in pygrub? Boot loader didn't return any data!

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Bug in pygrub? Boot loader didn't return any data!
From: Christian Tramnitz <chris.ace@xxxxxxx>
Date: Sat, 08 Aug 2009 17:50:13 +0200
Delivery-date: Sat, 08 Aug 2009 08:50:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <h5k6du$sd1$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <h5k6du$sd1$1@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20090605)
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 <module>
    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

<Prev in Thread] Current Thread [Next in Thread>