[Zope] ODBC adapter

Miguel Beltran R. yourpadre at gmail.com
Fri Jul 8 16:11:23 CEST 2016


With the help of Tres Seaver I have working my site. Thanks again Tres!!!

I know that egenix have the most complete and well working ODBC adapter,
but ZpyODBCDA do the work for my needs

2016-07-05 10:39 GMT-05:00 Andreas Jung <lists at zopyx.com>:

> http://www.egenix.com/products/python/mxODBC/
>
> is the only reasonable ODBC approach for Zope nowadays...forget the other
> old crap.
>
> -aj
>
> On 4 Jul 2016, at 18:08, Miguel Beltran R. wrote:
>
> > Hi again list,
> >
> > Using zope 2.13.23
> > ZPyODBCDA 1.0.9.dev0 ( https://github.com/tcurvelo/Products.ZPyODBCDA )
> >
> > I have tried to install ZpyODBCDA but when I try to start the instance i
> > got this error
> >
> > (control-emisiones3)
> > N:\zope\control-emisiones3>"N:\zope\control-emisiones3\Scripts\runzope"
> -C
> > "N:\zope\control-emisiones3\instance_zope\etc\zope.conf"
> >
> > 2016-07-04 10:48:05 ERROR Application Could not import Products.ZPyODBCDA
> > Traceback (most recent call last):
> >   File "n:\zope\control-emisiones3\lib\site-packages\OFS\Application.py",
> > line 606, in import_product
> >     product=__import__(pname, global_dict, global_dict, silly)
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\__init__.py",
> > line 27, in <module>
> >     from pyodbc_browser import pyodbcConnectionBrowser,
> > addpyodbcConnectionBrowser, addpyodbcConnectionForm
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_browser.py",
> > line 23, in <module>
> >     from pyodbc_DA import pyodbcConnection, database_type,
> > addpyodbcConnectionForm
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_DA.py",
> > line 27, in <module>
> >     from pyodbc_db import DB
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_db.py",
> > line 37, in <module>
> >     from Shared.DC.ZRDB.TM import TM
> > ImportError: No module named ZRDB.TM
> > Traceback (most recent call last):
> >   File "C:\Python27\Lib\runpy.py", line 162, in _run_module_as_main
> >     "__main__", fname, loader, pkg_name)
> >   File "C:\Python27\Lib\runpy.py", line 72, in _run_code
> >     exec code in run_globals
> >   File "N:\zope\control-emisiones3\Scripts\runzope.exe\__main__.py", line
> > 9, in
> > <module>
> >   File
> "n:\zope\control-emisiones3\lib\site-packages\Zope2\Startup\run.py",
> > line 22, in run
> >     starter.prepare()
> >   File
> > "n:\zope\control-emisiones3\lib\site-packages\Zope2\Startup\__init__.py",
> > line 86, in prepare
> >     self.startZope()
> >   File
> > "n:\zope\control-emisiones3\lib\site-packages\Zope2\Startup\__init__.py",
> > line 262, in startZope
> >     Zope2.startup()
> >   File "n:\zope\control-emisiones3\lib\site-packages\Zope2\__init__.py",
> > line 47, in startup
> >     _startup()
> >   File
> "n:\zope\control-emisiones3\lib\site-packages\Zope2\App\startup.py",
> > line 67, in startup
> >     OFS.Application.import_products()
> >   File "n:\zope\control-emisiones3\lib\site-packages\OFS\Application.py",
> > line 583, in import_products
> >     import_product(product_dir, product_name, raise_exc=debug_mode)
> >   File "n:\zope\control-emisiones3\lib\site-packages\OFS\Application.py",
> > line 606, in import_product
> >     product=__import__(pname, global_dict, global_dict, silly)
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\__init__.py",
> > line 27, in <module>
> >     from pyodbc_browser import pyodbcConnectionBrowser,
> > addpyodbcConnectionBrows
> > er, addpyodbcConnectionForm
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_browser.py",
> > line 23, in <module>
> >     from pyodbc_DA import pyodbcConnection, database_type,
> > addpyodbcConnectionForm
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_DA.py",
> > line 27, in <module>
> >     from pyodbc_db import DB
> >   File
> >
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_db.py",
> > line 37, in <module>
> >     from Shared.DC.ZRDB.TM import TM
> > ImportError: No module named ZRDB.TM
> >
> >
> > What module do I need to install?
> >
> >
> >
> > --
> > ________________________________________
> > Lo bueno de vivir un dia mas
> > es saber que nos queda un dia menos de vida
> > _______________________________________________
> > Zope maillist  -  Zope at zope.org
> > https://mail.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  https://mail.zope.org/mailman/listinfo/zope-announce
> >  https://mail.zope.org/mailman/listinfo/zope-dev )
>



-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope/attachments/20160708/d8dab21b/attachment.html>


More information about the Zope mailing list