[Zope] ODBC product won't import
Rik Hoekstra
hoekstra@fswrul.fsw.leidenuniv.nl
Mon, 20 Sep 1999 10:07:28 +0200
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Graham Chiu
> Sent: Monday, September 20, 1999 5:35 AM
> To: zope@zope.org
> Subject: [Zope] ODBC product won't import
>
>
> hi,
>
> I've just downloaded the 2.01 Win32 version, and the latest ODBC
> adapter. However, the ODBC product is broken with the following:
>
> ZODBCDA Import Traceback
> Traceback (innermost last):
> File "F:\Zope2\lib\python\OFS\Application.py", line 393, in
> import_products
> product=__import__(pname, global_dict, global_dict, silly)
> File "F:\Zope2\lib\python\Products\ZODBCDA\__init__.py", line 91, in ?
> import DA
> File "F:\Zope2\lib\python\Products\ZODBCDA\DA.py", line 92, in ?
> from db import DB, manage_ODBCDataSources
> File "F:\Zope2\lib\python\Products\ZODBCDA\db.py", line 89, in ?
> from Shared.DC.ZRDB.THUNK import THUNK_TM
> ImportError: cannot import name THUNK_TM
>
Hello,
I also had the same problem with zope2.0.0, which I installed over a
2.0.b<something> installation. After uninstalling zope2.0.0 and reinstalling
it, and reinstalling zodbc it went away.
ymmv,
Rik Hoekstra