[Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 -> compile/install ..

Jørgen Skogstad jorgen.skogstad@norway.sun.com
Fri, 28 Jul 2000 13:32:29 +0200


Kindest ..

I am having certain problems with the installment of the product.
I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to 
install and compile just fine with no errors reported.

.. and I have manually checked that "import _mysql" works in 
python .. so it has mysql support.

.. however this error message occurs when I restart Zope and
check if the product was imported fine (which is obviously was
not!)

ZMySQLDA Import Traceback

Traceback (innermost last):
  File
"/usr/local/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/Application.py",
line 396, in import_products
  File
"/<path>/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/__init__.py",
line 106, in ?
    import sys, os, Globals, DA
  File
"/<path>/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/DA.py",
line 108, in ?
    from db import DB
  File "/usr/share/zope/lib/python/Products/ZMySQLDA/db.py", line 106,
in ?
ImportError: No module named _mysql

Why does this path occur;
"/usr/share/zope/lib/python/Products/ZMySQLDA/db.py"

??

I have not referenced anything there.. and should be in the general
Zope implementation.. should it not?

Anyone had similar problems and solved them?

-- 


Med vennlig hilsen,
Jørgen Skogstad


      /\        System Specialist
     \\ \       
    \ \\ /      Sun Microsystems AS
   / \/ / /     Gjerdrums vei 12          
  / /   \//\    N-0486 Oslo, NORWAY                              
  \//\   / /                  
   / / /\ /     Phone:    + 47 22 02 39 00             
    / \\ \      Cellular: + 47 92 41 30 23
     \ \\       Fax:      + 47 22 02 39 99                  
      \/        EMail:    jorgen.skogstad@Norway.Sun.Com
                Web:      www.sun.no          

BTW; Opinions formed by myself in informal mailings are 
     mine and not of my employer.