[zope-pt] Zmysqlda

2009-10-13 Por tôpico simonemedeirosm
Oi pessoal estou usando plone 3.3 e zope 2.10 no metodo de standalone, preciso 
realizar conexão com o banco mysql. Já instalei o mysqldb e zmysqlda, também 
importei o diretorio do zmysqlda para o diretório de produtos da instancia, e 
também do zope.

Enfim, gostaria da ajuda de vocês pois ainda não consigo visualizar este 
conector no zope.

obrigada
[]s



[zope-pt] Plone-3.3.1-UnifiedInstaller - Ajuda

2009-10-03 Por tôpico simonemedeirosm
Resolvido agradeço pelas ideias.

Acredito que estava ocorrendo o erro devido ao compilador padrão do ubuntu ser 
o dash, modifiquei para bash, e rodou blz. 

[]s

--- Em zope-pt@yahoogrupos.com.br, "simonemedeirosm"  
escreveu
>
> Oi tentei instalar pelo easy_install da instancia porém ocorreu o erro 
> abaixo. Me surgiu a seguinte dúvida existe algum problema do plone ou PIL com 
> 64bit?
> 
> /home/Zope/Plone1/Python-2.4/bin# easy_install -i 
> http://dist.repoze.org/plone/latest/simple PIL
> Searching for PIL
> Reading http://dist.repoze.org/plone/latest/simple/PIL/
> Best match: PIL 1.1.6
> Downloading http://dist.repoze.org/plone/latest/PIL-1.1.6.tar.gz
> Processing PIL-1.1.6.tar.gz
> Running PIL-1.1.6/setup.py -q bdist_egg --dist-dir 
> /tmp/easy_install-3LxgNA/PIL-1.1.6/egg-dist-tmp-4mytXm
> _imaging.c:2907: warning: initialization from incompatible pointer type
> _imaging.c:2967: warning: initialization from incompatible pointer type
> path.c:559: warning: initialization from incompatible pointer type
> libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
> libImaging/File.c: In function âImagingOpenPPMâ:
> libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared 
> with attribute warn_unused_result
> libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared 
> with attribute warn_unused_result
> libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
> libImaging/Quant.c: In function ârehash_collideâ:
> libImaging/Quant.c:154: warning: cast to pointer from integer of different 
> size
> libImaging/Quant.c: At top level:
> libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
> libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
> libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
> /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against 
> `_length_code' can not be used when making a shared object; recompile with 
> -fPIC
> /usr/local/lib/libz.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: Setup script exited with error: command 'gcc' failed with exit status 1
>




[zope-pt] Re: Plone-3.3.1-UnifiedInstaller - Ajuda

2009-09-23 Por tôpico simonemedeirosm
Oi tentei instalar pelo easy_install da instancia porém ocorreu o erro abaixo. 
Me surgiu a seguinte dúvida existe algum problema do plone ou PIL com 64bit?

/home/Zope/Plone1/Python-2.4/bin# easy_install -i 
http://dist.repoze.org/plone/latest/simple PIL
Searching for PIL
Reading http://dist.repoze.org/plone/latest/simple/PIL/
Best match: PIL 1.1.6
Downloading http://dist.repoze.org/plone/latest/PIL-1.1.6.tar.gz
Processing PIL-1.1.6.tar.gz
Running PIL-1.1.6/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-3LxgNA/PIL-1.1.6/egg-dist-tmp-4mytXm
_imaging.c:2907: warning: initialization from incompatible pointer type
_imaging.c:2967: warning: initialization from incompatible pointer type
path.c:559: warning: initialization from incompatible pointer type
libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
libImaging/File.c: In function âImagingOpenPPMâ:
libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with 
attribute warn_unused_result
libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with 
attribute warn_unused_result
libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
libImaging/Quant.c: In function ârehash_collideâ:
libImaging/Quant.c:154: warning: cast to pointer from integer of different size
libImaging/Quant.c: At top level:
libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
/usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against 
`_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1




[zope-pt] Re: Plone-3.3.1-UnifiedInstaller - Ajuda

2009-09-22 Por tôpico simonemedeirosm
No arquivo de log da instalação segue o erro:

Obrigada a todos!!
[]s

Processing PILwoTk-1.1.6.3.tar.gz
Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
libImaging/File.c: In function âImagingOpenPPMâ:
libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with 
attribute warn_unused_result
libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with 
attribute warn_unused_result
libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
libImaging/Quant.c: In function ârehash_collideâ:
libImaging/Quant.c:154: warning: cast to pointer from integer of different size
libImaging/Quant.c: At top level:
libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
/usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against 
`_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command '/usr/bin/gcc' failed with exit 
status 1




[zope-pt] Re: Plone-3.3.1-UnifiedInstaller - Ajuda

2009-09-22 Por tôpico simonemedeirosm
No arquivo de log da instalação segue o erro:

Obrigada a todos!!
[]s

Processing PILwoTk-1.1.6.3.tar.gz
Running Imaging-1.1.6.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-pc1Vr5/Imaging-1.1.6.3/egg-dist-tmp-VFEbRy
libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
libImaging/File.c: In function âImagingOpenPPMâ:
libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared with 
attribute warn_unused_result
libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared with 
attribute warn_unused_result
libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
libImaging/Quant.c: In function ârehash_collideâ:
libImaging/Quant.c:154: warning: cast to pointer from integer of different size
libImaging/Quant.c: At top level:
libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
/usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against 
`_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command '/usr/bin/gcc' failed with exit 
status 1




[zope-pt] Plone-3.3.1-UnifiedInstaller - Ajuda

2009-09-22 Por tôpico simonemedeirosm
Oi gente estou instalando no Ubuntu 8.04 LTS Server 64bit o 
Plone-3.3.1-UnifiedInstaller e ao executar o comando de instalação retorna o 
erro abaixo, gostaria da ajuda para entender o que possivelmente possa estar 
ocorrendo.

Installing PIL
Traceback (most recent call last):
  File "", line 1, in ?
ImportError: No module named _imaging
Python imaging support is missing; something went wrong in the PIL or python 
build.

Installation has failed.
See the detailed installation log at 
/home/Zope/Plone-3.3.1-UnifiedInstaller/install.log
to determine the cause.




[zope-pt] Modo Debug -- Ajuda

2009-05-23 Por tôpico simonemedeirosm
Sou nova na comunidade, e quando solicito para o zope start no modo debug 
aparece a mensagem abaixo, já busquei na comunidade exemplo, e na internet, mas 
continuo sem entender o que esta acontecendo.
De antemão agradeço a ajuda.

Abraço,
Simone 

"/var/lib/zope/zopeinstance/bin/runzope -X debug-mode=on
2009-05-23 12:11:54 INFO ZServer HTTP server started at Sat May 23 12:11:54 2009
Hostname: 0.0.0.0
Port: 8080
2009-05-23 12:11:58 INFO Plone OpenID system packages not installed, OpenID 
support not available
/opt/Zope-2.11/lib/python/zope/configuration/xmlconfig.py:331: 
DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of 
zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFActionIcons:actionicons 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFCalendar:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFCalendar:skins_support 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFDefault:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFDefault:views_support taken 
from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFDefault:sample_content 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFTopic:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFUid:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.DCWorkflow:revision2 taken 
from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile 
Products.MimetypesRegistry:MimetypesRegistry taken from version.txt. This is 
deprecated behaviour and will be removed in GenericSetup 1.5: please specify 
the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile 
Products.PortalTransforms:PortalTransforms taken from version.txt. This is 
deprecated behaviour and will be removed in GenericSetup 1.5: please specify 
the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.qPloneSkinSchools:default 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.qPloneSkinSchools:uninstall 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.qPloneSkinSchools:zexps taken 
from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
20

[zope-pt] Modo Debug -- Ajuda

2009-05-23 Por tôpico simonemedeirosm
Sou nova na comunidade, e quando solicito para o zope start no modo debug 
aparece a mensagem abaixo, já busquei na comunidade exemplo, e na internet, mas 
continuo sem entender o que esta acontecendo.
De antemão agradeço a ajuda.

Abraço,
Simone 

"/var/lib/zope/zopeinstance/bin/runzope -X debug-mode=on
2009-05-23 12:11:54 INFO ZServer HTTP server started at Sat May 23 12:11:54 2009
Hostname: 0.0.0.0
Port: 8080
2009-05-23 12:11:58 INFO Plone OpenID system packages not installed, OpenID 
support not available

/opt/Zope-2.11/lib/python/zope/configuration/xmlconfig.py:331: 
DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of 
zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFActionIcons:actionicons 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFCalendar:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.  DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFCalendar:skins_support 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFDefault:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.  DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFDefault:views_support taken 
from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFDefault:sample_content 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFTopic:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.  DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.CMFUid:default taken from 
version.txt. This is deprecated behaviour and will be removed in GenericSetup 
1.5: please specify the version in metadata.xml.  DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.DCWorkflow:revision2 taken 
from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile 
Products.MimetypesRegistry:MimetypesRegistry taken from version.txt. This is 
deprecated behaviour and will be removed in GenericSetup 1.5: please specify 
the version in metadata.xml.  DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile 
Products.PortalTransforms:PortalTransforms taken from version.txt. This is 
deprecated behaviour and will be removed in GenericSetup 1.5: please specify 
the version in metadata.xml.  DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.qPloneSkinSchools:default 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.qPloneSkinSchools:uninstall 
taken from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWarning)

/var/lib/zope/zopeinstance/Products/GenericSetup/registry.py:744: 
DeprecationWarning: Version for profile Products.qPloneSkinSchools:zexps taken 
from version.txt. This is deprecated behaviour and will be removed in 
GenericSetup 1.5: please specify the version in metadata.xml.  
DeprecationWa

[zope-pt] Visualizar o site/plone na internet

2009-02-19 Por tôpico simonemedeirosm
oi espero que possam me ajudar, sou nova na comunidade, estive
procurando tópicos que me ajudasse mais não encontrei. 

Estou utilizando zope 2.11 e Plone 3.1.7, e não consigo visualiza-lo
fora da rede local, já liberei a porta no firewall, e nada.

Gostaria de algum ideia para solucionar este problema.

Obrigada,
Simone