WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Trouble Starting Xend using xen-unstable

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Trouble Starting Xend using xen-unstable
From: Luke <secureboot@xxxxxxxxx>
Date: Mon, 12 Feb 2007 15:28:17 -0500
Delivery-date: Mon, 12 Feb 2007 12:39:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45D0C99B.4020306@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45D0C99B.4020306@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
Luke wrote:
> > Using the most recent xen-unstable, I'm getting the following error:
> >


Should have looked more closely at the mailing list archives.  The
following patch fixes this.

What's causing this error?

--- __init__.py-orig    2007-01-20 20:44:29.000000000 +0000
+++ __init__.py 2007-01-20 20:44:11.000000000 +0000
@@ -1068,10 +1068,11 @@
         Low-level logging routine which creates a LogRecord and then calls
         all the handlers of this logger to handle the record.
         """
-        if _srcfile:
-            fn, lno, func = self.findCaller()
-        else:
-            fn, lno, func = "(unknown file)", 0, "(unknown function)"
+        # if _srcfile:
+        #    fn, lno, func = self.findCaller()
+        #else:
+        #    fn, lno, func = "(unknown file)", 0, "(unknown function)"
+        fn,lno = "unknown",0
         if exc_info:
             if type(exc_info) != types.TupleType:
                 exc_info = sys.exc_info()





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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