[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] python scripts



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.