Hola a todos, estoy tratando de configurar fileSystem Storage y he tratado de 
las mil una maneras. En el canal IRC de Plone, el usuario naro me dijo que los 
metodos de almacenamiento site1 y site2 actualmente no funcionan como metodos 
globales, si no que hay que definirlos para sitios especificos. Siguiendo este 
ejemplo 
http://tarekziade.wordpress.com/2007/10/23/iwrecipefss-a-recipe-to-install-file-system-storage/
 ; junto al de la pagina de pypi http://pypi.python.org/pypi/iw.recipe.fss  y 
guiandome por este otro ejemplo 
http://www.noenieto.com/blog/the-perfect-buildout-plone-3.3.5-fss-relstorage
Por cierto, estoy usando Plone 3.35.Cree este buildout:
[buildout]parts =    zope2    productdistros    instance    zopepy    fss
# Change the number here to change the version of Plone being usedextends =     
http://dist.plone.org/release/3.3.5/versions.cfgversions = versions

# Add additional egg download sources here. dist.plone.org contains archives# 
of Plone packages.find-links =    http://dist.plone.org/release/3.3.5    
http://dist.plone.org/thirdparty
# Add additional eggs hereeggs =    iw.fss    cenditel.multimedia       
# Reference any eggs you are developing here, one per line# e.g.: develop = 
src/my.packagedevelop =     src/cenditel.multimediazcml=     iw.fss     
iw.fss-meta     cenditel.multimedia
[zope2]# For more information on this step and configuration options see:# 
http://pypi.python.org/pypi/plone.recipe.zope2installrecipe = 
plone.recipe.zope2installfake-zope-eggs = trueurl = ${versions:zope2-url}
# Use this section to download additional old-style products.# List any number 
of URLs for product tarballs under URLs (separate# with whitespace, or break 
over several lines, with subsequent lines# indented). If any archives contain 
several products inside a top-level# directory, list the archive file name 
(i.e. the last part of the URL,# normally with a .tar.gz suffix or similar) 
under 'nested-packages'.# If any archives extract to a product directory with a 
version suffix, list# the archive name under 
'version-suffix-packages'.[productdistros]# For more information on this step 
and configuration options see:# 
http://pypi.python.org/pypi/plone.recipe.distrosrecipe = 
plone.recipe.distrosurls =nested-packages =version-suffix-packages =
[instance]# For more information on this step and configuration options see:# 
http://pypi.python.org/pypi/plone.recipe.zope2instancerecipe = 
plone.recipe.zope2instancezope2-location = ${zope2:location}user = 
admin:adminhttp-address = 8082debug-mode = onverbose-security = on# If you want 
Zope to know about any additional eggs, list them here.# This should include 
any development eggs you listed in develop-eggs above,# e.g. eggs = Plone 
my.packageeggs =    Plone    ${buildout:eggs}
# If you want to register ZCML slugs for any packages, list them here.# e.g. 
zcml = my.package my.other.packagezcml =
products =    ${buildout:directory}/products    ${productdistros:location}
[fss]recipe= iw.recipe.fsszope-instances = ${instance:location}storages =     
global ${instance:location} directory 
/home/victor/buildouts/FSSsite1/var/fss_storage_files 
/home/victor/buildouts/FSSsite1/var/fss_backup_files    FSSsite1 
${instance:location}/var/fss_site1 site1 
/home/victor/buildouts/FSSsite1/var/fss_site1 
/home/victor/buildouts/FSSsite1/var/fss_sitebk[zopepy]# For more information on 
this step and configuration options see:# 
http://pypi.python.org/pypi/zc.recipe.eggrecipe = zc.recipe.eggeggs = 
${instance:eggs}interpreter = zopepyextra-paths = 
${zope2:location}/lib/pythonscripts = zopepy El producto cenditel.multimedia es 
un tipo de contenido que estoy desarrollando y es el que va a utilizar el File 
System Storage porque se trata de archivos de vídeo y audio. Por cierto, el 
archivo FSSsite1/parts/instance/etc/plone-filesystemstorage.conf por lo que he 
notado es el que se encarga de manejar la configuración que se genera con el  
iw.fss-recipe por lo que entiendo todo esta bien. # FSS conf file generated by 
iw.recipe.fss

# main storage global for /home/victor/buildouts/FSSsite1/parts/instance
storage-path /home/victor/buildouts/FSSsite1/var/fss_storage_files
backup-path /home/victor/buildouts/FSSsite1/var/fss_backup_files
storage-strategy directory

# storage FSSsite1
<site /home/victor/buildouts/FSSsite1/parts/instance/var/fss_site1>
 storage-path /home/victor/buildouts/FSSsite1/var/fss_site1
 backup-path /home/victor/buildouts/FSSsite1/var/fss_sitebk
 storage-strategy site1
</site>Pero en mi sitio de Plone, sigo obteniendo.Configuración específica del 
sitio WebCarpeta en la que se guardan los archivos : 
/home/victor/buildouts/FSSsite1/var/fss_storage_filesEstrategia para guardar 
archivos : directoryCarpeta de la copia de seguridad : 
/home/victor/buildouts/FSSsite1/var/fss_backup_filesConfiguración global (por 
defecto)Carpeta en la que se guardan los archivos : 
/home/victor/buildouts/FSSsite1/var/fss_storage_filesEstrategia para guardar 
archivos : directoryCarpeta de la copia de seguridad : 
/home/victor/buildouts/FSSsite1/var/fss_backup_files
Pero seguramente hay algo que no estoy viendo, por eso recurro a uds.
Esperando una respuesta y agradeciendo de antemano su ayuda:
Vìctor Teràn
 
 
www.greenpeace.org.ar
 

                                          
_______________________________________________
Plone-ConoSur mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-conosur

Responder a