Message-ID: <40FFA6B2.5050606@zeomega.com>
Date: Thu, 22 Jul 2004 17:06:18 +0530
From: harshad behere <hbehere@zeomega.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040208)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chandrakantha Nagaraja <cnagaraj@zeomega.com>
Subject: Re: AW: [Zope] ZMySQLDA
References: <000301c46fd0$fd8a3370$be79a8c0@hbklaptop>
	<40FF9091.3080501@zeomega.com>
In-Reply-To: <40FF9091.3080501@zeomega.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Chandrakantha Nagaraja wrote:

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

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

> HTH
>
>
> -- cn
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> ZeOmega
> Southend road
> Bangalore, India
> Ph: 26632589
> http://www.zeomega.com
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>
> 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=FCngliche Nachricht-----
>> Von: Chandrakantha Nagaraja [mailto:cnagaraj@zeomega.com] Gesendet:=20
>> Donnerstag, 22. Juli 2004 11:27
>> An: h.butschek@butschek-consult.de; zope@zope.org
>> Betreff: Re: [Zope] ZMySQLDA
>>
>>
>> ZMySQLDA requires MySQL-python, so u have to install MySQL-python.=20
>> Please read INSTALL.txt and README.txt for more info.
>>
>>
>> -- cn
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> ZeOmega
>> Southend road
>> Bangalore, India
>> Ph: 26632589
>> http://www.zeomega.com
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>>
>>
>> Holger Butschek wrote:
>>
>> =20
>>
>>> Hi folks,
>>>
>>> I need to connect my Zope-instance to MySQL. I have installed Zope=20
>>> (2.6) with a working adapter to MySQL. Now I have installed Zope=20
>>> 2.7, too. I have downloaded the adapter as a src.rpm-component and=20
>>> have installed it with the konquerer. I believe that I have done it.=20
>>> At least Yast opened and did something. But nothing appeared in the=20
>>> products-list of Zope 2.7. Then, I have copied the product=20
>>> "ZMySQLDA"  =20
>>> from version 2.6 to version 2.7. Now, of course the product appears i=
n=20
>>
>> =20
>>
>>> the list. But it is marked as 'broken' and produces the following=20
>>> error:
>>>
>>>
>>>
>>> Traceback (most recent call last):
>>> File "/opt/zope2.7/zope2.7/lib/python/OFS/Application.py", line 660,=20
>>> in import_product
>>>   product=3D__import__(pname, global_dict, global_dict, silly)
>>> File "/opt/zope2.7/zope_instance/Products/ZMySQLDA/__init__.py", line
>>>  =20
>>
>>
>> =20
>>
>>> 91, in ?
>>>   import DA
>>> File "/opt/zope2.7/zope_instance/Products/ZMySQLDA/DA.py", line 92,=20
>>> in ?
>>>   from db import DB
>>> File "/opt/zope2.7/zope_instance/Products/ZMySQLDA/db.py", line 89,=20
>>> 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  :    h.butschek@butschek-consult.de
>>> Web    :    http://www.butschek-consult.de
>>> Anfahrt:    http://mail.map24.com/butschek-consult
>>>
>>> -----------------------------------------------------
>>>
>>> Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte=20
>>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese=20
>>> E-Mail irrt=FCmlich erhalten haben, informieren Sie bitte sofort den=20
>>> Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren=20
>>> sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>>>
>>> This e-mail may contain confidential and/or privileged information.=20
>>> If you are not the intended recipient (or have received this e-mail i=
n
>>> error) please notify the sender immediately and destroy this e-mail.=20
>>> Any unauthorized copying, disclosure or distribution of the material =
in
>>>  =20
>>
>>
>> =20
>>
>>> this e-mail is strictly forbidden.
>>>
>>>
>>> _______________________________________________
>>> Zope maillist  -  Zope@zope.org=20
>>> 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 )
>>>
>>>
>>>  =20
>>
>>
>>
>> =20
>>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>
>


--=20
Harshad Behere

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

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


