Hi I'm on win2k and installed ZMySQLDA as well as the win32 MySQLdb module from Gerhard's ( http://home.t-online.de/home/err666/ ) The mysqldb is installed in my python dir. I can import from the python window just fine, but ZMySQLDA does not find it in Zope - missing _mysql is the message. What do I need to do for Zope to recognize it? I've searched the list but found nothing on win32 and this. Thanks
Hi Joshua, You say its in your python dir, but do you mean your zope/bin/ dir or /lib/python/ dir...? Your MysqlDA stuff should be in the products directory and the _mysql stuff to go in the /bin/lib directory. This should work.... It took me ages to get through all of the confusion about it. But thats why there lives a certain creature whose name is 'tech writer', and note that it doesnt have anything to do with 'developer' for specific reasons... Developers suck at taking their heads out of the clouds to pretend to be someone else who doesnt have their brain ; _) Cheers, Paz Joshua wrote:
Hi
I'm on win2k and installed ZMySQLDA as well as the win32 MySQLdb module from Gerhard's ( http://home.t-online.de/home/err666/ ) The mysqldb is installed in my python dir. I can import from the python window just fine, but ZMySQLDA does not find it in Zope - missing _mysql is the message. What do I need to do for Zope to recognize it? I've searched the list but found nothing on win32 and this.
Thanks
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Am Mittwoch, 14. März 2001 18:52 schrieb Joshua:
Hi
I'm on win2k and installed ZMySQLDA as well as the win32 MySQLdb module from Gerhard's ( http://home.t-online.de/home/err666/ ) The mysqldb is installed in my python dir. I can import from the python window just fine, but ZMySQLDA does not find it in Zope - missing _mysql is the message. What do I need to do for Zope to recognize it?
Apparently you need to *compile* it yourself. There is a package called MySQLdb-0.1.2 which contains the source to the _mysqlmodule.so (for Linux) and _mysqlmodule.dll (for win32) It comes along with a README and a README.windows that describes the things to do. For Linux I had to apply the ZMySQLDA.diff (patch the ZMySQLDA Source) and compile ZMySQLDA. - Holger
I've searched the list but found nothing on win32 and this.
Thanks
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------- catWorkX GmbH Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 (0700) catWorkX Tel: +49 (40) 890 646-0 Fax: +49 (40) 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de
participants (3)
-
Holger Lehmann -
Joshua -
Paul Zwarts