[Erp5-dev] Re: [Erp5-report] ZSQLCatalog

Kevin Deldycke kevin at nexedi.com
Tue May 31 18:37:04 CEST 2005


Le Mardi 31 Mai 2005 14:29, cvsdigest a écrit :
> User:   yo
> Date:   2005-05-31 16:13:17
> Module: ZSQLCatalog
>
>     Move queue methods from ZSQLCatalog to SQLCatalog, and do some horrible
> optimizations.
>
>     M SQLCatalog.py
>       http://cvs.erp5.org/ZSQLCatalog/SQLCatalog.py.diff?r1=2.50&r2=2.51
>     M ZSQLCatalog.py
>       http://cvs.erp5.org/ZSQLCatalog/ZSQLCatalog.py.diff?r1=2.15&r2=2.16


After these modifications, I can't start my zope and get the following error :


Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 51, in app
  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 47, in startup
  File 
"/usr/lib/zope/./build/build-base/python-2.4/build-lib/Zope/App/startup.py", 
line 45, in startup
  File 
"/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/Application.py", 
line 650, in import_products
  File 
"/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/Application.py", 
line 673, in import_product
  File "/var/lib/zope/Products/ERP5Catalog/__init__.py", line 40, in ?
    import CatalogTool
  File "/var/lib/zope/Products/ERP5Catalog/CatalogTool.py", line 30, in ?
    from Products.ZSQLCatalog.ZSQLCatalog import ZCatalog
  File "/var/lib/zope/Products/ZSQLCatalog/__init__.py", line 16, in ?
    import ZSQLCatalog, SQLCatalog
  File "/var/lib/zope/Products/ZSQLCatalog/ZSQLCatalog.py", line 28, in ?
    from SQLCatalog import Catalog, CatalogError
  File "/var/lib/zope/Products/ZSQLCatalog/SQLCatalog.py", line 59, in ?
    catalogged_path_dict_lock = threading.Lock()
NameError: name 'threading' is not defined



More information about the Erp5-dev mailing list