[Zope] SQLite database adapter
Kevin Carlson
khcarlso at bellsouth.net
Thu Sep 25 19:18:25 EDT 2003
It looks like Zope can't find the SQLite libraries it needs in order to
make the connection. I'm not familiar with SQLite, but I know in the
case of MySQL one needs to install the MySQL-python libraries in order
for the Zope database adapter to be able to talk to MySQL. This looks
like the same issue.
I searched on zope.org for SQLite, found the ZSQLLiteDA product, and it
mentions that it works with pysqlite. This omitted software is most
likely causing the error you are experiencing. Get the software at:
http://pysqlite.sourceforge.net/index-old.html and see if you have
better luck after installing the product. Make certain that you compile
the pysqlite libraries with the same python you are using to run Zope.
Kevin
Bob Gailer wrote:
> After trashing around and making a bunch of guesses I put a folder
> called ZSQLiteDA into the
> E:\Program Files\WebSite\lib\python\Products\ directory and now ZOPE
> startup recognizes the folder and attempts to load the product.
>
> It failed with ImportError: No module named sqlite. I tried putting
> the sqlite folder in the products directory, then the ZSQLiteDA
> directory. Now it fails with ImportError: No module named _sqlite.
>
> I have run out of ideas. What should I do?
>
> Is there some place that explains how all this is supposed to work, or
> are we all on our own?
>
> Bob Gailer
> bgailer at alum.rpi.edu
> 303 442 2625
>
>------------------------------------------------------------------------
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Zope maillist - Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
More information about the Zope
mailing list