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

Antonio Sagliocco antonio.sagliocco a abstract.it
Mar 29 Lug 2008 17:11:25 UTC


Ciao,
di base non hai installato le PIL.
Poi probabilmente hai qualche problema con il PYTHONPATH credo...

sei su win vero?

Il giorno 29/lug/08, alle ore 18:43, Massimiliano Magli ha scritto:

> 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
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html

-- 
Antonio Sagliocco - Security & Networking  
[antonio.sagliocco a abstract.it]
Abstract Open Solutions [ http://www.abstract.it ]
Mobile +39 320 8145331 Tel./Fax +39 081 0608213
PGP Public Key: http://www.abstract.it/gpg/antonio.sagliocco

(*)Please avoid sending me Word or PowerPoint attachments.
(*)See http://www.gnu.org/philosophy/no-word-attachments.html

-------------------------------------------------------------------------------------------------------------------------
Ai sensi del d.lgs. 196 del 30 giugno 2003, recante disposizioni per  
la tutela delle persone e di altri soggetti
rispetto al trattamento dei dati personali, si precisa che questa  
email è inviata unicamente ai destinatari sopra esposti,
con espressa diffida di leggerla, copiarla, diffonderla ed usarla  
senza autorizzazione. Se avete ricevuto questa email per
errore, vi preghiamo di distruggerla immediatamente e contattarci  
tramite uno dei recapiti sopra indicati.
--------------------------------------------------------------------------------------------------------------------------








Maggiori informazioni sulla lista Plone-IT