[Zope-DB] 3.1.0b2 for Python 2.1 Failing with Zope-2.7.0-rc1 on WinXP Pro

M.-A. Lemburg mal at egenix.com
Tue Jan 27 16:59:12 EST 2004


Zope 2.7 runs on Python 2.3...

Binary extensions compiled for Python 2.1 are not likely to work with
it, esp. not on Windows since you then get a mix of python23.dll and
python21.dll within a single process which is bound to fail.

The mxODBC Zope DA works happily with Zope 2.7 and Python 2.3.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 27 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/
________________________________________________________________________
2004-01-23: Released mxODBC.Zope.DA 1.0.8        http://zope.egenix.com/

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::

Joey Gibson wrote:
 > I've tried to install 3.1.0b2 for Python 2.1 on my Zope-2.7.0-rc1 and I
 > get this when I try to startup Zope. Any ideas?
 >
 > [C:\Zope-Instance\bin]runzope.bat
 > "C:\Program Files\Zope-2.7.0-rc1\bin\python.exe" "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Zope\St
 > artup\run.py" -C "C:\Zope-Instance\etc\zope.conf"
 > ------
 > 2004-01-27T13:21:26 INFO(0) ZServer HTTP server started at Tue Jan 27
 > 13:21:26 2004
 >        Hostname: morimoto
 >        Port: 8080
 > ------
 > 2004-01-27T13:21:26 INFO(0) ZServer FTP server started at Tue Jan 27
 > 13:21:26 2004
 >        Hostname: morimoto
 >        Port: 8021
 > ------
 > 2004-01-27T13:21:32 ERROR(200) Zope Could not import Products.ZODBCDA
 > Traceback (most recent call last):
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\OFS\Application.py",
 > line 654, in import_product
 >    product=__import__(pname, global_dict, global_dict, silly)
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Products\ZODBCDA\__init__.py", line 91,
 > in ?
 >    import DA
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Products\ZODBCDA\DA.py", line 92, in ?
 >    from db import DB, manage_ODBCDataSources
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Products\ZODBCDA\db.py", line 86, in ?
 >    from sql import *
 > ImportError: DLL load failed: Access is denied.
 > Traceback (most recent call last):
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\Zope\Startup\run.py",
 > line 49, in ?
 >    run()
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\Zope\Startup\run.py",
 > line 19, in run
 >    start_zope(opts.configroot)
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Zope\Startup\__init__.py", line 51, in
 > start_zope
 >
 >    starter.startZope()
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Zope\Startup\__init__.py", line 230, in
 > startZope
 >
 >    Zope.startup()
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\Zope\__init__.py",
 > line 46, in startup
 >    _startup()
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\Zope\App\startup.py",
 > line 45, in startup
 >    OFS.Application.import_products()
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\OFS\Application.py",
 > line 631, in import_products
 >
 >    import_product(product_dir, product_name, raise_exc=debug_mode)
 >  File "C:\Program Files\Zope-2.7.0-rc1\lib\python\OFS\Application.py",
 > line 654, in import_product
 >    product=__import__(pname, global_dict, global_dict, silly)
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Products\ZODBCDA\__init__.py", line 91,
 > in ?
 >    import DA
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Products\ZODBCDA\DA.py", line 92, in ?
 >    from db import DB, manage_ODBCDataSources
 >  File "C:\Program
 > Files\Zope-2.7.0-rc1\lib\python\Products\ZODBCDA\db.py", line 86, in ?
 >    from sql import *
 > ImportError: DLL load failed: Access is denied.
 >



More information about the Zope-DB mailing list