I have installed the MySQL-python-0.3.5 package on my win2k system using the readme file and it seems to work fine (can I test this?). Mysql 3.23.39-nt is installed in c:\myslq. Then I restart Zope to test ZMySQLDA, but it is broken and I only get the following error message: *** Traceback (most recent call last): File "C:\PROGRA~1\Zope241\lib\python\OFS\Application.py", line 558, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\DA.py", line 91, in ? from db import DB File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\db.py", line 98, in ? from MySQLdb.converters import conversions ImportError: No module named converters *** What have I done wrong? Juergen
Jurgen, You're using a *very* old package the latest I think is 0.9.0 it's available on Sourceforge or at http://www.cs.fhm.edu/~ifw00065/ where you can get an real installer for win32. hth Phil ----- Original Message ----- From: "Jürgen R. Plasser / Hexagon" <plasser@hexagon.at> To: <zope@zope.org> Sent: Thursday, October 11, 2001 4:07 PM Subject: [Zope] mysql problem - broken ZMySQLDA
I have installed the MySQL-python-0.3.5 package on my win2k system using the readme file and it seems to work fine (can I test this?). Mysql 3.23.39-nt is installed in c:\myslq.
Then I restart Zope to test ZMySQLDA, but it is broken and I only get the following error message:
*** Traceback (most recent call last): File "C:\PROGRA~1\Zope241\lib\python\OFS\Application.py", line 558, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\DA.py", line 91, in ? from db import DB File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\db.py", line 98, in ? from MySQLdb.converters import conversions ImportError: No module named converters ***
What have I done wrong?
Juergen
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Thanks Phil, I used this old package from a magazin that came in yesterday... ok, now I've taken your link and installed the latest package 0.9.0. Now I get: Traceback (most recent call last): File "C:\PROGRA~1\Zope241\lib\python\OFS\Application.py", line 558, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\DA.py", line 92, in ? from db import DB File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\db.py", line 99, in ? from MySQLdb.converters import conversions File "C:\PROGRA~1\Zope241\lib\python\MySQLdb.py", line 54, in ? type_conv = { FIELD_TYPE.TINY: int, NameError: name 'FIELD_TYPE' is not defined Is the problem Win2k related? Maybe I should try Zope on Linux for this? ;-) Juergen
-----Original Message----- From: Phil Harris [mailto:phil.harris@zope.co.uk] Sent: Thursday, October 11, 2001 5:12 PM To: Jürgen R. Plasser / Hexagon; zope@zope.org Subject: Re: [Zope] mysql problem - broken ZMySQLDA
Jurgen,
You're using a *very* old package the latest I think is 0.9.0 it's available on Sourceforge or at http://www.cs.fhm.edu/~ifw00065/ where you can get an real installer for win32.
hth
Phil
I had a similar problem because I hadn't python 2.1 in my system On Thu, 11 Oct 2001, Jürgen R. Plasser / Hexagon wrote:
I have installed the MySQL-python-0.3.5 package on my win2k system using the readme file and it seems to work fine (can I test this?). Mysql 3.23.39-nt is installed in c:\myslq.
Then I restart Zope to test ZMySQLDA, but it is broken and I only get the following error message:
*** Traceback (most recent call last): File "C:\PROGRA~1\Zope241\lib\python\OFS\Application.py", line 558, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\__init__.py", line 91, in ? import DA File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\DA.py", line 91, in ? from db import DB File "C:\PROGRA~1\Zope241\lib\python\Products\ZMySQLDA\db.py", line 98, in ? from MySQLdb.converters import conversions ImportError: No module named converters ***
What have I done wrong?
Juergen
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.-
Dear Julián, I have just solved the problem by cleaning up my Zope installation and using the latest versions of MySQL-python. The old package seems to have damaged something... Now it's working fine. On Thu, 12 Oct 2001, Julián Muñoz Domínguez wrote:
I had a similar problem because I hadn't python 2.1 in my system
participants (3)
-
Julián Muñoz Domínguez -
Jürgen R. Plasser / Hexagon -
Phil Harris