[Zope] ODBC adapter

Miguel Beltran R. yourpadre at gmail.com
Mon Jul 4 18:08:37 CEST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope/attachments/20160704/072e009d/attachment.html>


More information about the Zope mailing list