[Plone-IT] Problema con trasferimento di un server zope/plone

Massimiliano Magli m.magli a ibimet.cnr.it
Mar 29 Lug 2008 16:43:00 UTC


Buonasera a tutti,
avrei bisogno del vostro aiuto per risolvere un problema di
trasferimento di un server zope/plone da una vecchia macchina ad una
nuova. Premesso che una cosa analoga mi e' riuscita senza problemi con
un server passato da zope 2.8.0, plone 2.1, python 2.3.5 a zope 2.8.9.1
plone 2.1 python 2.3.7, ora mi ritrovo a non riuscire a far partire un
server (creato inizialmente con zope 2.8.8, plone 2.1.4 e python 2.3.5)
cercando di portarlo a zope 2.8.9.1, plone 2.1.4 e python 2.3.7.
Ovviamente tutti i prodotti sono stati trasferiti ma all'avvio mi da il 
seguente messaggio:

./runzope -X "debug-mode=on"
2008-07-29 18:38:02 INFO ZServer HTTP server started at Tue Jul 29 
18:38:02 2008
         Hostname: 0.0.0.0
         Port: 9080
2008-07-29 18:38:02 INFO Zope Set effective user to "zope"
/usr/local/zope-2.8/ibimet/Products/Archetypes/__init__.py:12: 
DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is 
a deprecated compatiblity alias for 'Products.CMFCore.permissions'; 
please use the new module instead.
   from Products.CMFCore import CMFCorePermissions
/usr/local/zope-2.8/ibimet/Products/Archetypes/PloneCompat.py:12: 
DeprecationWarning: PloneUtilities is deprecated, please import from 
Products.CMFPlone.utils instead.
   from Products.CMFPlone.PloneUtilities import IndexIterator
2008-07-29 18:38:03 INFO Archetypes Products/Archetypes/Field.py[88]:?
Warning: no Python Imaging Libraries (PIL) found.Archetypes based 
ImageField's don't scale if neccessary.

2008-07-29 18:38:03 INFO PlacelessTranslationService Applying patch
*** Patching ZPublisher.Publish with the get_request patch! ***
2008-07-29 18:38:03 WARNING Init Class 
Products.ATContentTypes.content.base.ATCTFolderMixin has a security 
declaration for nonexistent method 'manage_copyObjects'
2008-07-29 18:38:03 ERROR Zope Could not import Products.ATContentTypes
Traceback (most recent call last):
   File "/usr/local/zope-2.8/lib/python/OFS/Application.py", line 695, 
in import_product
     product=__import__(pname, global_dict, global_dict, silly)
   File "/usr/local/zope-2.8/data/Products/ATContentTypes/__init__.py", 
line 54, in ?
     started = False
   File 
"/usr/local/zope-2.8/data/Products/ATContentTypes/content/__init__.py", 
line 34, in ?
     if sys.platform[:3].lower() == "win":
   File 
"/usr/local/zope-2.8/data/Products/ATContentTypes/content/topic.py", 
line 33, in ?
   File "/usr/local/zope-2.8/data/Products/CMFPlone/CatalogTool.py", 
line 27, in ?
ImportError: cannot import name base_hasattr
Traceback (most recent call last):
   File "/usr/local/zope-2.8/lib/python/Zope2/Startup/run.py", line 56, in ?
     run()
   File "/usr/local/zope-2.8/lib/python/Zope2/Startup/run.py", line 21, 
in run
     starter.prepare()
   File "/usr/local/zope-2.8/lib/python/Zope2/Startup/__init__.py", line 
98, in prepare
     self.startZope()
   File "/usr/local/zope-2.8/lib/python/Zope2/Startup/__init__.py", line 
257, in startZope
     Zope2.startup()
   File "/usr/local/zope-2.8/lib/python/Zope2/__init__.py", line 47, in 
startup
     _startup()
   File "/usr/local/zope-2.8/lib/python/Zope2/App/startup.py", line 45, 
in startup
     OFS.Application.import_products()
   File "/usr/local/zope-2.8/lib/python/OFS/Application.py", line 672, 
in import_products
     import_product(product_dir, product_name, raise_exc=debug_mode)
   File "/usr/local/zope-2.8/lib/python/OFS/Application.py", line 695, 
in import_product
     product=__import__(pname, global_dict, global_dict, silly)
   File "/usr/local/zope-2.8/lib/python/Zope2/Startup/__init__.py", line 
54, in ?
     started = False
   File "/usr/local/zope-2.8/lib/python/Zope2/Startup/__init__.py", line 
34, in ?
     if sys.platform[:3].lower() == "win":
   File 
"/usr/local/zope-2.8/data/Products/ATContentTypes/content/topic.py", 
line 33, in ?
   File "/usr/local/zope-2.8/data/Products/CMFPlone/CatalogTool.py", 
line 27, in ?
ImportError: cannot import name base_hasattr

Mi potete aiutare.

Grazie in anticipo.


Massimiliano


-- 
Massimiliano Magli
Istituto di Biometeorologia - CNR
Via P.Gobetti, 101
I-40129 Bologna, Italy
Tel. +39 0516399011
Fax  +39 0516399024
E-mail: mailto:m.magli a ibimet.cnr.it
http://www.ibimet.cnr.it
http://rqpa.ibimet.cnr.it





Maggiori informazioni sulla lista Plone-IT