Thanks for the help Ron.  This almost works for me.  I now have the product
in zopes control panel,  but it is broken.  (see traceback below)

Is this because my MySQL-Python RPM from your mail is not intalling properly
?

Thanks
Peter

ZMySQLDA Import Traceback
Traceback (innermost last):
  File "/usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/Application.py",
line 387, in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File
"/usr/local/Zope-2.1.6-linux2-x86/lib/python/Products/ZMySQLDA/__init__.py",
line 106, in ?
    import sys, os, Globals, DA
  File
"/usr/local/Zope-2.1.6-linux2-x86/lib/python/Products/ZMySQLDA/DA.py", line
108, in ?
    from db import DB
  File
"/usr/local/Zope-2.1.6-linux2-x86/lib/python/Products/ZMySQLDA/db.py", line
106, in ?
    import _mysql, regex, sys
ImportError: No module named _mysql




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ron
Bickers
Sent: Monday, 10 July 2000 1:17 PM
To: Peter Marriott; [EMAIL PROTECTED]
Subject: RE: [Zope] Trouble compiling ZMySQLDA


The RPMs install in /usr/share/zope/lib/python/Products, where the Zope RPMs
provided by Jeff Rush install the Products folder.  If you're not using the
Zope RPMs and have zope installed somewhere else, you can still use these
RPMs and just make a symlink to your real Products folder.  For example (if
Zope is installed in /usr/local/zope):

# cd /usr/local/zope/lib/python/Products
# ln -s /usr/share/zope/lib/python/Products/ZMySQLDA ZMySQLDA

Restart Zope and that should do it.

_______________________

Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]


> -----Original Message-----
> From: Peter Marriott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 10, 2000 12:58 AM
> To: Ron Bickers; [EMAIL PROTECTED]
> Subject: RE: [Zope] Trouble compiling ZMySQLDA
>
>
> I couldn't seem to get the RPMS to install, what kind of setup are they
> expecting?  Does it matter where I have installed zope?  (I am a linux
> learner so please forgive if I am not making sense)
>
> Thanks
> Peter.


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to