Subject: Re: AW: [Zope] ZMySQLDA
From: harshad behere <[email-masked]>
To: Chandrakantha Nagaraja <[email-masked]>
Date: Thu, 22 Jul 2004 17:06:18 +0530

Chandrakantha Nagaraja wrote:

> Even I had installed it in 2.6 and when I moved them to 2.7.x it did 
> not work, not sure where exactly it installs dependent modules, in 
> older versions I use to compile and copy _mysql to either Products or 
> lib/python folder

As  per my knowledge Zope 2.7.x requires Python 2.3.2 or later and  Zope 
versions 2.5 and 2.6 require a Python 2.1 version equal to or greater 
than 2.1.3.
So i think because of the difference in python versions, we have install 
MySQL-python package for that spec. version as we are shifting from 
Zope2.6.x to 2.7.x. 
comments ?
-hb

> HTH
>
>
> -- cn
> =======================
> ZeOmega
> Southend road
> Bangalore, India
> Ph: 26632589
> http://www.zeomega.com
> ======================
>
>
> Holger Butschek wrote:
>
>> But I should already have installed it, because of Zope 2.6, don't I? It
>> works in version 2.6.
>>
>> Holger
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Chandrakantha Nagaraja [mailto:[email-masked]] Gesendet: 
>> Donnerstag, 22. Juli 2004 11:27
>> An: [email-masked]; [email-masked]
>> Betreff: Re: [Zope] ZMySQLDA
>>
>>
>> ZMySQLDA requires MySQL-python, so u have to install MySQL-python. 
>> Please read INSTALL.txt and README.txt for more info.
>>
>>
>> -- cn
>> =======================
>> ZeOmega
>> Southend road
>> Bangalore, India
>> Ph: 26632589
>> http://www.zeomega.com
>> ======================
>>
>>
>>
>> Holger Butschek wrote:
>>
>>  
>>
>>> Hi folks,
>>>
>>> I need to connect my Zope-instance to MySQL. I have installed Zope 
>>> (2.6) with a working adapter to MySQL. Now I have installed Zope 
>>> 2.7, too. I have downloaded the adapter as a src.rpm-component and 
>>> have installed it with the konquerer. I believe that I have done it. 
>>> At least Yast opened and did something. But nothing appeared in the 
>>> products-list of Zope 2.7. Then, I have copied the product 
>>> "ZMySQLDA"   
>>> from version 2.6 to version 2.7. Now, of course the product appears in 
>>
>>  
>>
>>> the list. But it is marked as 'broken' and produces the following 
>>> error:
>>>
>>>
>>>
>>> Traceback (most recent call last):
>>> File "/opt/zope2.7/zope2.7/lib/python/OFS/Application.py", line 660, 
>>> in import_product
>>>   product=__import__(pname, global_dict, global_dict, silly)
>>> File "/opt/zope2.7/zope_instance/Products/ZMySQLDA/__init__.py", line
>>>   
>>
>>
>>  
>>
>>> 91, in ?
>>>   import DA
>>> File "/opt/zope2.7/zope_instance/Products/ZMySQLDA/DA.py", line 92, 
>>> in ?
>>>   from db import DB
>>> File "/opt/zope2.7/zope_instance/Products/ZMySQLDA/db.py", line 89, 
>>> in ?
>>>   import _mysql
>>> ImportError: No module named _mysql
>>>
>>> Bye,
>>> Holger
>>>
>>> -----------------------------------------------------
>>> Butschek IT Consulting
>>>
>>> Holger Butschek
>>> Hellenstrasse 27
>>> 56179 Vallendar
>>>
>>> Telefon:    02 61 / 96 34 98 8
>>> Fax    :    02 61 / 96 37 75 7
>>> Handy  :    01 79 / 24 18 70 2
>>>
>>> eMail  :    [email-masked]
>>> Web    :    http://www.butschek-consult.de
>>> Anfahrt:    http://mail.map24.com/butschek-consult
>>>
>>> -----------------------------------------------------
>>>
>>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
>>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
>>> E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den 
>>> Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren 
>>> sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>>>
>>> This e-mail may contain confidential and/or privileged information. 
>>> If you are not the intended recipient (or have received this e-mail in
>>> error) please notify the sender immediately and destroy this e-mail. 
>>> Any unauthorized copying, disclosure or distribution of the material in
>>>   
>>
>>
>>  
>>
>>> this e-mail is strictly forbidden.
>>>
>>>
>>> _______________________________________________
>>> Zope maillist  -  [email-masked] 
>>> http://mail.zope.org/mailman/listinfo/zope
>>> **   No cross posts or HTML encoding!  **
>>> (Related lists -
>>> http://mail.zope.org/mailman/listinfo/zope-announce
>>> http://mail.zope.org/mailman/listinfo/zope-dev )
>>>
>>>
>>>   
>>
>>
>>
>>  
>>
>
>
> _______________________________________________
> Zope maillist  -  [email-masked]
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>

-- 
Harshad Behere

ZeOmega (www.zeomega.com)
Open Minds' Open Solutions

20/21,Rajalakshmi Plaza,
South End Road,
Basavanagudi
Bangalore-560 004
India