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

2000-07-28 Thread Jørgen Skogstad

> > 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.
> Try to use the most recent packages to be found at:
> http://www.dustman.net/andy/python
> Don't use any patch or whatever.. This should solve your problems.

Got it running now.. wierd stuff.. I had an old implementation og
Zope in /usr/local... .. and the new in /test .. and when I added the
db adapter to the /zope thing .. the paths went all crazy .. 

.. though; when I added the $PYTHONPATH to the /site-packages dir 
with the mysql db adapter and the mysqlclient.so file.. even the
zope packaged python could import _mysql .. so; now all is well
and I am ready to conquer mysql land once again.

Thanks alot for the input.. and you guys have a real nice weekend. ;) 

-- 


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:[EMAIL PROTECTED]
Web:  www.sun.no  

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

___
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 )




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

2000-07-28 Thread Christian Scholz

Hi!

> 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.

Try to use the most recent packages to be found at:

http://www.dustman.net/andy/python

Don't use any patch or whatever.. This should solve your problems.

cheers,
  Christian

-- 
Christian Scholz   MrTopf@IRC
COM.lounge  http://comlounge.net/
communication & design [EMAIL PROTECTED]

___
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] Reg. ZMySQLDA/MySQLdb-0.1.2 -> compile/install ..

2000-07-28 Thread Jørgen Skogstad

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
"//zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/__init__.py",
line 106, in ?
import sys, os, Globals, DA
  File
"//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:[EMAIL PROTECTED]
Web:  www.sun.no  

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

___
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 )