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] Errors running current xend

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Errors running current xend
From: Steve Kemp <steve@xxxxxxxxxxxx>
Date: Sat, 20 Jan 2007 20:46:11 +0000
Delivery-date: Sat, 20 Jan 2007 12:45:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070119111048.GA24525@xxxxxxxxxxxx>
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: <20070119111048.GA24525@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Jan 19, 2007 at 11:10:49AM +0000, Steve Kemp wrote:

>   Does this look like a bug, or user-error?

  Mats Petersson gave me a pointer to fix this problem, editing
 /usr/lib/python2.4/logging/__init__.py with the context diff
 below.

  (Debian Sid, AMD64.)

  This allows things to work, but probably indicates a bug
 somewhere...

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/

--- __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>