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

Re: [Xen-devel] python scripts

To: victor <victor@xxxxxxxx>
Subject: Re: [Xen-devel] python scripts
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Tue, 02 Mar 2004 21:34:17 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 02 Mar 2004 21:39:07 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Message from victor <victor@xxxxxxxx> of "Tue, 02 Mar 2004 21:06:41 +0200." <4044DB41.6040100@xxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Strange.  It sounds like there's a problem with pysqlite (e.g. Python couldn't 
find the pysqlite module).  We supress the ImportError this would produce (the 
code is near the top of XenoUtil.py if you're interested), so a function 
trying to access the module would be the first error you get (which matches 
with what you saw).

It's probably worth trying to reinstall pysqlite-0.5.0.tar.gz, looking 
carefully for any errors.

If that doesn't work, please try:

ls -l /usr/lib/python2.2/site-packages/*sqlite*

(if your python stuff is in a different directory, e.g. /usr/lib/python2.x 
(where x is some other version), please substitute as appropriate).

Also, you could try typing the following at the prompt:

python                                 # to start the python shell
import sqlite                          # try to import pysqlite
sqlite.connect('/tmp/wibble')          # try to use pysqlite

Post back any errors you get. If there's anything unusual about your Python / 
SQLite / PySQLite configuration, please let us know.

We should have you up and running soon!

Mark



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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