Bonjour à tous,
J'essaye d'installer CPS sur une distribution Debian Sarge. J'ai installé Zope
2.9.3 qui est tout à fait fonctionnel (python 2.4.2).
Quant j'essaye de le redémarrer après avoir décompresser CPS dans le dossier
Products, je me fait engueuler:

[EMAIL PROTECTED]:~/zope-cps/bin$ ./runzope
/opt/Zope-2.9.3/lib/python/ZServer/utils.py:33: DeprecationWarning: The zLOG pac
kage is deprecated and will be removed in Zope 2.11. Use the Python logging modu
le instead.
  LOG('ZServer', severity[type], message)
/home/cyril/zope-cps/Products/CPSCompat/__init__.py:46: DeprecationWarning: The
zLOG package is deprecated and will be removed in Zope 2.11. Use the Python
logg ing module instead.
  LOG('CPSCompat', DEBUG, "Patching for Zope/CMF forward compatibility")
/home/cyril/zope-cps/Products/CPSCore/PatchCMFCore.py:29: DeprecationWarning: Th
e zLOG package is deprecated and will be removed in Zope 2.11. Use the Python lo
gging module instead.
  LOG('PatchCMFCore', TRACE, "Patched mergedLocalRoles to use aclu")
/home/cyril/zope-cps/Products/CPSCore/PatchCMFCoreCatalogTool.py:262: Deprecatio
nWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use t
he Python logging module instead.
  LOG('PatchCatalogTool', TRACE, "Patching CMF CatalogTool.catalog_object")
/home/cyril/zope-cps/Products/CPSCore/PatchCMFCoreCatalogTool.py:283: Deprecatio
nWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use t
he Python logging module instead.
  LOG('PatchCatalogTool', TRACE, "Patching CMF CatalogTool.unindexObject")
/home/cyril/zope-cps/Products/CPSCore/PatchCMFCoreCatalogTool.py:292: Deprecatio
nWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use t
he Python logging module instead.
  "Patching CMF CatalogTool._listAllowedRolesAndUsers")
/home/cyril/zope-cps/Products/CPSSchemas/BasicWidgets.py:48: DeprecationWarning:
 The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python
 logging module instead.
  LOG('CPSSchemas', INFO, "No PIL library found so no image resizing will "
/home/cyril/zope-cps/Products/CPSSchemas/DublinCorePatch.py:31: DeprecationWarni
ng: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Pyt
hon logging module instead.
  LOG('DublinCorePatch', TRACE, "Patching DublinCore...")
/home/cyril/zope-cps/Products/CPSSchemas/__init__.py:51: DeprecationWarning: The
 zLOG package is deprecated and will be removed in Zope 2.11. Use the Python log
ging module instead.
  "EpozPatch can't be applied")
/home/cyril/zope-cps/Products/CPSDirectory/__init__.py:63: DeprecationWarning: T
he zLOG package is deprecated and will be removed in Zope 2.11. Use the Python l
ogging module instead.
  LOG('LDAPDirectory', INFO, "Disabled (no LDAP user folder product found).")
/home/cyril/zope-cps/Products/CPSDirectory/__init__.py:80: DeprecationWarning: T
he zLOG package is deprecated and will be removed in Zope 2.11. Use the Python l
ogging module instead.
  "Disabled (no LDAP user folder product found).")
/home/cyril/zope-cps/Products/CPSDirectory/UserFolderPatch.py:253: DeprecationWa
rning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the
Python logging module instead.
  LOG('UserFolderPatch', TRACE, 'Patching UserFolder and User')
/home/cyril/zope-cps/Products/CPSDirectory/MemberToolsPatch.py:348: DeprecationW
arning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the
 Python logging module instead.
  LOG('MemberToolsPatch', TRACE, 'Patching Member Tools')
/home/cyril/zope-cps/Products/CPSOOo/__init__.py:50: DeprecationWarning: The zLO
G package is deprecated and will be removed in Zope 2.11. Use the Python logging
 module instead.
  "CPSOOo cannot be loaded because there are some dependencies missing: "
/home/cyril/zope-cps/Products/CPSUserFolder/__init__.py:33: DeprecationWarning:
The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python
logging module instead.
  LOG('CPSUserFolder', DEBUG, 'Faking Products.NuxUserGroups')
/home/cyril/zope-cps/Products/Localizer/__init__.py:161: DeprecationWarning: The
 zLOG package is deprecated and will be removed in Zope 2.11. Use the Python log
ging module instead.
  LOG('Localizer', DEBUG, 'Unicode patching')
/home/cyril/zope-cps/Products/CMFQuickInstallerTool/__init__.py:34: DeprecationW
arning: The product_name parameter of ToolInit is deprecated and will be ignored
 in CMF 2.0: QuickInstallerTool
  icon='tool.gif'
Traceback (most recent call last):
  File "/opt/Zope-2.9.3/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
  File "/opt/Zope-2.9.3/lib/python/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/opt/Zope-2.9.3/lib/python/Zope2/Startup/__init__.py", line 98, in prepa
re
    self.startZope()
  File "/opt/Zope-2.9.3/lib/python/Zope2/Startup/__init__.py", line 257, in star
tZope
    Zope2.startup()
  File "/opt/Zope-2.9.3/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/opt/Zope-2.9.3/lib/python/Zope2/App/startup.py", line 103, in startup
    OFS.Application.initialize(application)
  File "/opt/Zope-2.9.3/lib/python/OFS/Application.py", line 304, in initialize
    initializer.initialize()
  File "/opt/Zope-2.9.3/lib/python/OFS/Application.py", line 333, in initialize
    self.install_products()
  File "/opt/Zope-2.9.3/lib/python/OFS/Application.py", line 612, in install_pro
ducts
    return install_products(app)
  File "/opt/Zope-2.9.3/lib/python/OFS/Application.py", line 643, in install_pro
ducts
    folder_permissions, raise_exc=debug_mode)
  File "/home/cyril/zope-cps/Products/CPSCompat/PatchOFSApplication.py", line 15
0, in install_product
    LOG('Zope',ERROR,'Couldn\'t install %s' % product_name,
NameError: global name 'LOG' is not defined

Quelqu'un a une idée du problème peut-être?
Merci d'avance

Cyril
_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à