[Zope-DB] ZODBCDA-3.1.0b2-win32-x86.tgz on Linux
Peter Sabaini
peter at sabaini.at
Thu Jan 8 03:16:36 EST 2004
M.-A. Lemburg wrote:
> 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 :-)
Yes I was referring to the setup of ODBC under Linux :-)
mxODBC DA itself is pretty drop-in like most Zope Products.
> 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
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3461 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.zope.org/pipermail/zope-db/attachments/20040108/9871a207/smime.bin
More information about the Zope-DB
mailing list