Il 02/11/2010 9.40, Davide Moro ha scritto:
> Il giorno sab, 30/10/2010 alle 10.53 +0200, Giuseppe Arvati ha scritto:
>> Il 29/10/2010 8.50, Davide Moro ha scritto:
>> 2010-10-29T18:59:35 ERROR Application Couldn't install ZcxOracleDA
>> Traceback (most recent call last):
>>      File
>> "/home/apam/Plone4/buildout-cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py",
>>
>> line 646, in install_product
>>        global_dict, global_dict, silly)
>>      File "/home/apam/Plone4/zinstance/products/ZcxOracleDA/__init__.py",
>> line 14, in<module>
>>        import DA
>>      File "/home/apam/Plone4/zinstance/products/ZcxOracleDA/DA.py", line
>> 16, in<module>
>>        import Shared.DC.ZRDB.Connection, sys, DABase, os.path
>>      File "/home/apam/Plone4/zinstance/products/ZcxOracleDA/DABase.py",
>> line 16, in<module>
>>        from ImageFile import ImageFile
>> ImportError: No module named ImageFile
>> a questo punto non so + cosa fare
>>
>> qualche idea sarebbe d'aiuto
>
> Ciao,
> penso dipenda dalle pil che hai installato. Dovresti avere lo stesso
> problema che hanno qui:
> http://code.djangoproject.com/ticket/7019
>
> Se usi le PIL usando questo findlink dovresti essere a posto:
> http://dist.repoze.org/
>
> Ciao,
>
> davide
>

Sono di nuovo alle prese con questo dbadapter
per image file ho risolto guardando un altro dbadapter
usando
from App.ImageFile import ImageFile

# ImageFile is deprecated in Zope >= 2.9
try:
     from App.ImageFile import ImageFile
except ImportError:
     # Zope < 2.9.  If PIL's installed with a .pth file, we're probably
     # hosed.
     from ImageFile import ImageFile


cmq non trova i file .gif

OSError: [Errno 2] No such file or directory: 
'/home/apam/Plone4/buildout-cache/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif'


/home/apam/Plone4/buildout-cache/eggs/Products.ZSQLMethods-2.13.2-py2.6.egg/Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif


Zope2-2.12.10-py2.6-linux-i686.egg al posto di
Products.ZSQLMethods-2.13.2-py2.6.egg



dunque come imposto la basefolder in modo che l'istruzione

'conn': ImageFile( 'Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif')}


parta da Products.ZSQLMethods-2.13.2-py2.6.egg
piuttosto che da
Zope2-2.12.10-py2.6-linux-i686.egg ?

posso impostare in percorso assoluto ma non mi sembra carino


grazie
giuseppe
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a