[Zope-DB] ZODBCDA-3.1.0b2-win32-x86.tgz on Linux

M.-A. Lemburg mal at egenix.com
Wed Jan 7 18:10:31 EST 2004


Peter Sabaini wrote:
> ZODBDA is win32-only. From the Product page:
> 
> """
>  **** IMPORTANT ****
> 
> This product is distributed as a BINARY release!
> 
> The Z ODBC database adapter is currently available for win32 platforms 
> only. It comes with a compiled ODBC extension (sql.pyd) for win32. You 
> do NOT need to add any external binaries to use this database adapter.
> """
> 
> The commercially available mxODBC DA should work with ODBC under Linux, 
> though its not particularly straightforward to set up.

I hope you refer to the setup of the ODBC environment, not the
Zope DA itself :-)

To access AS/400 from Linux you need this IBM ODBC driver:

         IBM has an ODBC driver which makes this setup possible. See
         their web-page on the "iSeries ODBC driver for Linux" for
         details:

	http://www-1.ibm.com/servers/eserver/iseries/linux/odbc/

(hope that URL is still correct)

> Alexander wrote:
> 
>> Hello.  Running Zope 2.6 on a Red Hat 7.3 server.
>>
>>
>>
>> [zope at mail Zope-2.6.2-linux2-x86]$ ./start
>> ------
>> 2004-01-07T11:06:37 INFO(0) zdaemon Started subprocess: pid 13089
>> ------
>> 2004-01-07T11:06:40 ERROR(200) Zope Could not import Products.ZODBCDA
>> Traceback (innermost last):
>>  File /usr/local/Zope-2.6.2-linux2-x86/lib/python/OFS/Application.py, 
>> line 522, in import_product
>>  File 
>> /usr/local/Zope-2.6.2-linux2-x86/lib/python/Products/ZODBCDA/__init__.py, 
>> line 91, in ?
>>  File 
>> /usr/local/Zope-2.6.2-linux2-x86/lib/python/Products/ZODBCDA/DA.py, 
>> line 92, in ?
>>  File 
>> /usr/local/Zope-2.6.2-linux2-x86/lib/python/Products/ZODBCDA/db.py, 
>> line 86, in ?
>> ImportError: No module named sql
>> ------
>> 2004-01-07T11:06:40 PANIC(300) z2 Startup exception
>> Traceback (innermost last):
>>  File /usr/local/Zope-2.6.2-linux2-x86/z2.py, line 585, in ?
>>  File /usr/local/Zope-2.6.2-linux2-x86/lib/python/Zope/__init__.py, 
>> line 46, in startup
>>    (Object: startup)
>>  File /usr/local/Zope-2.6.2-linux2-x86/lib/python/Zope/App/startup.py, 
>> line 45, in startup
>>  File /usr/local/Zope-2.6.2-linux2-x86/lib/python/OFS/Application.py, 
>> line 500, in import_products
>>  File /usr/local/Zope-2.6.2-linux2-x86/lib/python/OFS/Application.py, 
>> line 522, in import_product
>>  File 
>> /usr/local/Zope-2.6.2-linux2-x86/lib/python/Products/ZODBCDA/__init__.py, 
>> line 91, in ?
>>  File 
>> /usr/local/Zope-2.6.2-linux2-x86/lib/python/Products/ZODBCDA/DA.py, 
>> line 92, in ?
>>  File 
>> /usr/local/Zope-2.6.2-linux2-x86/lib/python/Products/ZODBCDA/db.py, 
>> line 86, in ?
>> ImportError: No module named sql
>>
>>
>>
>>
>> It seems to want a file called "sql.py", rather than the supplied 
>> sql.pyd.  Since sql.pyd is binary, python won't parse it.
>>
>> I really need to get these AS/400 tables up on the website.  I've 
>> successfully done it on php, and if I can't do it on Zope, I'm going 
>> to have to program some very quirky workarounds!
>>
>> thanks
>> --Alexander
>>
>>
>>
>> _______________________________________________
>> Zope-DB mailing list
>> Zope-DB at zope.org
>> http://mail.zope.org/mailman/listinfo/zope-db
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope-DB mailing list
> Zope-DB at zope.org
> http://mail.zope.org/mailman/listinfo/zope-db

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 06 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/
________________________________________________________________________

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



More information about the Zope-DB mailing list