[Plone-IT] Problemi con Clouseau /Zope debug

Michele De Mori mdemori a mdmc.biz
Gio 7 Feb 2008 21:07:37 UTC


Mi scuso per la mia ingnoranza in materia, abbiate pazienza e pieta,  ma 
sono un neofita nello sviluppo Plone/Zope.

Ho un'installazione Debian Zope/Plone3

Ho installato Clouseau ma mi da questo errore se tento di usarlo:

*The inspector is not enabled*. There are settings in the file 
/config.py/. If you don't want to read the /readme.txt/ about these 
settings then please note: /By default Clouseau will only be enabled if 
you run Zope with debug-mode turned on/.

Giuro che il file readme.txt lo ho letto :-)

Bene dopo aver capito che il "Zope Inspector"  componente di Clouseau e 
non di Zope, come pensavo ieri  :-)  ( povero me ), ho immaginato che il 
problema fosse l'avvio di Zope in debug che io lanciavo con -D.
Mi  stato suggerito che non va bene allora ho provato con "zopectl fg" 
ma putroppo si peresenta quanto sotto.

Che sta accadendo ?

debian-vm:/home/debian# /home/zope/plone3/parts/instance/bin/zopectl fg
/home/zope/plone3/parts/instance/bin/runzope -X debug-mode=on
2008-01-11 23:03:49 INFO ZServer HTTP server started at Fri Jan 11 
23:03:49 2008
       Hostname: 0.0.0.0
       Port: 8080
2008-01-11 23:03:49 INFO Zope Set effective user to "zope"
2008-01-11 23:03:51 INFO Marshall libxml2-python not available. Unable 
to register libxml2 based marshallers.
2008-01-11 23:03:55 ERROR Application Could not import 
Products.GenericPloneContent
Traceback (most recent call last):
 File "/home/zope/plone3/parts/zope2/lib/python/OFS/Application.py", 
line 709, in import_product
   product=__import__(pname, global_dict, global_dict, silly)
 File "/home/zope/plone3/parts/plone/GenericPloneContent/__init__.py", 
line 7, in ?
   from config import *
 File "/home/zope/plone3/parts/plone/GenericPloneContent/config.py", 
line 1, in ?
   from Products.CMFCore.CMFCorePermissions import AddPortalContent
ImportError: No module named CMFCorePermissions
Traceback (most recent call last):
 File "/home/zope/plone3/parts/zope2/lib/python/Zope2/Startup/run.py", 
line 56, in ?
   run()
 File "/home/zope/plone3/parts/zope2/lib/python/Zope2/Startup/run.py", 
line 21, in run

Login incorrect
debian-vm login:     starter.prepare()
 File 
"/home/zope/plone3/parts/zope2/lib/python/Zope2/Startup/__init__.py", 
line 102, in prepare
   self.startZope()
 File 
"/home/zope/plone3/parts/zope2/lib/python/Zope2/Startup/__init__.py", 
line 278, in startZope
   Zope2.startup()
 File "/home/zope/plone3/parts/zope2/lib/python/Zope2/__init__.py", line 
47, in startup
   _startup()
 File "/home/zope/plone3/parts/zope2/lib/python/Zope2/App/startup.py", 
line 45, in startup
   OFS.Application.import_products()
 File "/home/zope/plone3/parts/zope2/lib/python/OFS/Application.py", 
line 686, in import_products
   import_product(product_dir, product_name, raise_exc=debug_mode)
 File "/home/zope/plone3/parts/zope2/lib/python/OFS/Application.py", 
line 709, in import_product
   product=__import__(pname, global_dict, global_dict, silly)
 File "/home/zope/plone3/parts/plone/GenericPloneContent/__init__.py", 
line 7, in ?
   from config import *
 File "/home/zope/plone3/parts/plone/GenericPloneContent/config.py", 
line 1, in ?
   from Products.CMFCore.CMFCorePermissions import AddPortalContent
ImportError: No module named CMFCorePermissions






Maggiori informazioni sulla lista Plone-IT