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

[Xen-devel] Exception starting xend: global name 'sha' is not defined

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Exception starting xend: global name 'sha' is not defined
From: "John McDermott (U.S. Navy Employee)" <john.mcdermott@xxxxxxxxxxxx>
Date: Fri, 2 Oct 2009 11:51:35 -0400
Delivery-date: Fri, 02 Oct 2009 08:54:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I am trying to get ACM running on an openSuSE dom0. I get the exception in the subject line above, from xend-debug.log. I believe the error is caused by using the deprecated sha module instead of hashlib. I think the code where this happens is in acmpolicy.py. There is a try: at the start of the code that checks for hashlib, but down inside the module, there is a reference to sha.sha.

I am not a python expert, so I am stuck here. Is anyone still maintaining this code?

Sincerely,

John
----
What is the formal meaning of the one-line program
#include "/dev/tty"

J.P. McDermott                          building 12
Code 5542                                       mcdermott@xxxxxxxxxxxxxxxx
Naval Research Laboratory       voice: +1 202.404.8301
Washington, DC 20375, US        fax:   +1 202.404.7942








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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Exception starting xend: global name 'sha' is not defined, John McDermott (U.S. Navy Employee) <=