[egenix-users] ZopeDA columninfos() Problems
M.-A. Lemburg
mal at egenix.com
Thu Mar 11 20:59:44 CET 2004
Joseph Kocherhans wrote:
> I'm developing a zope product, and when I try to call the columninfos()
> method on a connection object I get the following traceback:
>
> Traceback (most recent call last):
> File "C:\Program Files\Zope-2.7.0\lib\python\ZPublisher\Publish.py",
> line 100, in publish
> request, bind=1)
> File "C:\Program Files\Zope-2.7.0\lib\python\ZPublisher\mapply.py",
> line 88, in mapply
> if debug is not None: return debug(object,args,context)
> File "C:\Program Files\Zope-2.7.0\lib\python\ZPublisher\Publish.py",
> line 40, in call_object
> result=apply(object,args) # Type s<cr> to step into published
> object.
> File "C:\zope\devinstance\Products\CMFDBSchemaBrowser\dbschema.py",
> line 28, in getColumns
>
> File "Products\mxODBCZopeDA\ZopeDA.py", line 1582, in columninfos
> NameError: global name 'self' is not defined
>
> I'm doing something like
> conn = mymxZodbcConnection.get_connection()
> return conn.columninfos()
>
> I'm not sure where to start here since I can't see the source code ;)
Looks like you have found a bug. We'll add a fix to the next
release.
Thanks,
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Mar 11 2004)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
EuroPython 2004, Göteborg, Sweden 87 days left
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the egenix-users
mailing list