Is your Zope one of the standard installs or did you build it yourself?
If it's one of the standard installs then it was built with Python 1.5.2.
This means that your build of _mysql.pyd won't work with Zope as it was
built with Python2.0. You will need to get Python 1.5.2 and rebuild
At least that's my take on it.
----- Original Message -----
From: "Mike Blake" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 10:20 AM
Subject: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDAMike
> There are two copies of the _mysql.pyd file on my disk:
> the one I built yesterday is here
> and there's another one here that I didn't know about here:
> I'm not sure where that one came from...
> Anyway, I took the _mysql.pyd from
> and tried putting it in <zopedir>bin/lib
> But then when I tried to startup zope, it died. No error messages.
> It just tried to start and then died (on win, this is a console
> window that opens and closes itself)
> I then tried putting it in
> but had the same results.
> Sorry to continue with the saga, but at least there's no
> copy in html this time! I apologize to everyone for that...
> mike blake
> phil wrote:
> > RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDAMike,
> > You need to put the file _mysql.pyd into your PYTHONPATH.
> > Try putting it into the same folder as the ZMySQLDA or into
> > <zopedir>bin/lib. Either should work OK.
> mike wrote:
> >> Ok, I installed Microsoft Visual C++ from Studio 6, and
> >> after I did a successful build and install of the
> >> setup.py file for the MySQL-python-0.3.5
> >> I installed it in a folder in my python directory:
> >> C:\Python20\win32comext\MySQL-python-0.3.5
> >> the error reads as follows:
> >> Traceback (innermost last):
> >> File C:\zopes\chikoon\lib\python\OFS\Application.py, line 536 in
> >> (Object: string)
> >> File C:\zopes\chikoon\lib\python\Products\ZMySQLA\__init__.py, line 91,
> >> File C:\zopes\chikoon\lib\python\Products\ZMySQLA\DA.py, line 91, in ?
> >> File C:\zopes\chikoon\lib\python\Products\ZMySQLA\db.py, line 89, in ?
> >> ImportError: No module named _mysql
> [[EMAIL PROTECTED] chikoon]$ whoami
> Mike Blake
> Zope-Dev maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -