Discussion:
[Erp5-dev] Re: [Erp5-report] ZSQLCatalog
Kevin Deldycke
2005-05-31 16:37:04 UTC
Permalink
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
Yoshinori Okuji
2005-05-31 17:35:23 UTC
Permalink
Sorry. I have fixed it right now. I thought I checked it worked, but it seems
that I tested another zope instance (I have many in my laptop).

YO
--
Yoshinori Okuji, Nexedi Research Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Storever: OpenBrick, WiFi infrastructure, notebooks and servers
http://www.storever.com
Loading...