[Zope] mysql problem - broken ZMySQLDA

Jürgen R. Plasser / Hexagon Jürgen R. Plasser / Hexagon
Thu, 11 Oct 2001 17:53:31 +0200


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