[Zope-DB] Warnings from mxODBC in 2.8.5

Chris Withers chris at simplistix.co.uk
Fri Jan 20 02:27:25 EST 2006


Hi All,

I get the following warnings from mxODBC on Zope 2.8.5:

lib/python/OFS/Application.py:788:
DeprecationWarning: __init__.py of Products.mxODBCZopeDA has a long
deprecated '__ac_permissions__' attribute. '__ac_permissions__' will be
ignored by install_product in Zope 2.10. Please use registerClass instead.
   DeprecationWarning)
lib/python/OFS/Application.py:803:
DeprecationWarning: __init__.py of Products.mxODBCZopeDA has a long
deprecated 'meta_types' attribute. 'meta_types' will be ignored by
install_product in Zope 2.10. Please use registerClass instead.
   DeprecationWarning)
lib/python/OFS/Application.py:820:
DeprecationWarning: __init__.py of Products.mxODBCZopeDA has a long
deprecated 'methods' attribute. 'methods' will be ignored by install_product
in Zope 2.10. Please use registerClass instead.
   DeprecationWarning)

Have other people seen this?
I tried adding a warning filter but it didn't have any effect. My only 
guess is becuase mxODBC ships only as .pyc files :-S

Anyway, I guess this is mainly aimed at the eGenix people: is there a 
version of mxODBC available which has these problems fixed?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-DB mailing list