Documentation manquante ?

7 messages Options
Embed this post
Permalink
Selkie

Documentation manquante ?

Reply Threaded More More options
Print post
Permalink
Bonjour,

J'essaie de faire un formulaire sous plone.

j'ai essayé d'installer "ploneformgen" via la méthode buildout. Sans succès.. quand je lance le buildout.exe j'obtiens ce message "
C:\Program Files\Plone>buildout.exe
Develop: 'C:\\Program Files\\Plone\\buildout-cache/eggs/Products.PloneFormGen-1.
2.7-py2.4.egg'
C:\Program Files\Plone\buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg
:11: DeprecationWarning: Non-ASCII character '\xf5' in file C:\Program Files\Plo
ne\buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg on line 2, but no e
ncoding declared; see http://www.python.org/peps/pep-0263.html for details
  Î#¥F▄9UÁ2╣2ÖV■        [î3ã↔xQ├«©¦!∟µ£Ó7◄¸¾½│♣⌂µð▀+x☺▀╬cì0ä⌂CO‼▼{'ÌòJøÎ^,8Þ─½Ú¯
eC0³V⌂§¦#Å:úodâîúUd¿ÿØ 0►▀F♠º▬┴ö@Y♦x(♥ƒ┤A­╦‗p┤d6á´M¶
Traceback (most recent call last):
  File "c:\docume~1\supinfo\locals~1\temp\tmpnm4m3l", line 11, in ?
    execfile('C:\\Program Files\\Plone\\buildout-cache/eggs/Products.PloneFormGe
n-1.2.7-py2.4.egg')
  File "C:\Program Files\Plone\buildout-cache/eggs/Products.PloneFormGen-1.2.7-p
y2.4.egg", line 1
    PK♥♦¶↨♣N§[¦ÏÄa9
      ^
SyntaxError: invalid syntax
While:
  Installing.
  Processing develop directory 'C:\\Program Files\\Plone\\buildout-cache/eggs/Pr
oducts.PloneFormGen-1.2.7-py2.4.egg'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\buildout.py", line 1509, in main
    getattr(buildout, command)(args)
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\buildout.py", line 335, in install
    installed_develop_eggs = self._develop()
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\buildout.py", line 573, in _develop
    zc.buildout.easy_install.develop(setup, dest)
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\easy_install.py", line 896, in develop
    assert os.spawnl(os.P_WAIT, executable, _safe_arg(executable),
AssertionError
"

puis en regardant mieux j'ai vu qu'il y avait déjà de quoi faire des formulaire dans mon Plone (form_controller) je clique donc dur la doc et la premier obstacle..

 "If you are completely new to CMFFormController, please read the tutorial in Products/CMFFormController/documentation. "

Okay je suis un noob donc je cherche le tuto.. mais sans succès.. j'ai fait un windows search dans le dossier de Plone, j'ai regardé a la main.. sans succès..

pouvez vous m'aider ?


Alors je vous donne des références..

Je suis sur Windows, Plone v3.2.2 , Zope 2, installée avec le "Plone-3.2.2-buildout.exe"


En vous remerciant d'avance =)
mbanaouas

Re: Documentation manquante ?

Reply Threaded More More options
Print post
Permalink

Tout d'abord, même si pour d'autres cela n'a jamais posé de pb, je déconseille fortement d'installer Plone sous "program files" .
Pour ma part, je l'installe systèmatiquement en C:\Plone.
Quelle paramètre tu as ajouté au fichier buildout.cfg avant de relancer le buildout ?


Selkie wrote:
Bonjour,

J'essaie de faire un formulaire sous plone.

j'ai essayé d'installer "ploneformgen" via la méthode buildout. Sans succès.. quand je lance le buildout.exe j'obtiens ce message "
C:\Program Files\Plone>buildout.exe
Develop: 'C:\\Program Files\\Plone\\buildout-cache/eggs/Products.PloneFormGen-1.
2.7-py2.4.egg'
C:\Program Files\Plone\buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg
:11: DeprecationWarning: Non-ASCII character '\xf5' in file C:\Program Files\Plo
ne\buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg on line 2, but no e
ncoding declared; see http://www.python.org/peps/pep-0263.html for details
  Î#¥F▄9UÁ2╣2ÖV■        [î3ã↔xQ├«©¦!∟µ£Ó7◄¸¾½│♣⌂µð▀+x☺▀╬cì0ä⌂CO‼▼{'ÌòJøÎ^,8Þ─½Ú¯
eC0³V⌂§¦#Å:úodâîúUd¿ÿØ 0►▀F♠º▬┴ö@Y♦x(♥ƒ┤A­╦‗p┤d6á´M¶
Traceback (most recent call last):
  File "c:\docume~1\supinfo\locals~1\temp\tmpnm4m3l", line 11, in ?
    execfile('C:\\Program Files\\Plone\\buildout-cache/eggs/Products.PloneFormGe
n-1.2.7-py2.4.egg')
  File "C:\Program Files\Plone\buildout-cache/eggs/Products.PloneFormGen-1.2.7-p
y2.4.egg", line 1
    PK♥♦¶↨♣N§[¦ÏÄa9
      ^
SyntaxError: invalid syntax
While:
  Installing.
  Processing develop directory 'C:\\Program Files\\Plone\\buildout-cache/eggs/Pr
oducts.PloneFormGen-1.2.7-py2.4.egg'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\buildout.py", line 1509, in main
    getattr(buildout, command)(args)
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\buildout.py", line 335, in install
    installed_develop_eggs = self._develop()
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\buildout.py", line 573, in _develop
    zc.buildout.easy_install.develop(setup, dest)
  File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.2.1-py2.4.egg\z
c\buildout\easy_install.py", line 896, in develop
    assert os.spawnl(os.P_WAIT, executable, _safe_arg(executable),
AssertionError
"

puis en regardant mieux j'ai vu qu'il y avait déjà de quoi faire des formulaire dans mon Plone (form_controller) je clique donc dur la doc et la premier obstacle..

 "If you are completely new to CMFFormController, please read the tutorial in Products/CMFFormController/documentation. "

Okay je suis un noob donc je cherche le tuto.. mais sans succès.. j'ai fait un windows search dans le dossier de Plone, j'ai regardé a la main.. sans succès..

pouvez vous m'aider ?


Alors je vous donne des références..

Je suis sur Windows, Plone v3.2.2 , Zope 2, installée avec le "Plone-3.2.2-buildout.exe"


En vous remerciant d'avance =)
Selkie

Re: Documentation manquante ?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Selkie
[buildout]
 ...
 develop =
        buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg


[instance]
 eggs =
 ...
 Products.PloneFormGen

zcml =
 ...
 Products.PloneFormGen
Encolpe DEGOUTE

Re: Documentation manquante ?

Reply Threaded More More options
Print post
Permalink
Il faut supprimer la ligne

buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg


Selkie a écrit :

> [buildout]
>  ...
>  develop =
>         buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg
>
>
> [instance]
>  eggs =
>  ...
>  Products.PloneFormGen
>
> zcml =
>  ...
>  Products.PloneFormGen
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Plone-FR mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/plone-fr
>  


--
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales


_______________________________________________
Plone-FR mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-fr
Jean-Mathieu Grimaldi

Re: Documentation manquante ?

Reply Threaded More More options
Print post
Permalink
la ligne zcml est inutile dans le buildout pour le namespace Products ;-)

Le 3 juillet 2009 08:05, Encolpe Degoute <[hidden email]> a écrit :
Il faut supprimer la ligne

buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg


Selkie a écrit :
> [buildout]
>  ...
>  develop =
>         buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg
>
>
> [instance]
>  eggs =
>  ...
>  Products.PloneFormGen
>
> zcml =
>  ...
>  Products.PloneFormGen
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Plone-FR mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/plone-fr
>


--
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales


_______________________________________________
Plone-FR mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-fr



--

Jean-mathieu Grimaldi
INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
227 Bureaux de la Colline
1 rue Royale - Bât D - 9ème étage
92213 Saint-Cloud Cedex
Tél : 01.78.15.24.05 / Fax : 01.46.02.44.04
http://www.ingeniweb.com - Une société du groupe AlterWay  

_______________________________________________
Plone-FR mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-fr
dekka

Re: Documentation manquante ?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Selkie
Bonjour,
Je suis un collègue de l'auteur du sujet.

Selkie wrote:
[buildout]
 ...
 develop =
        buildout-cache/eggs/Products.PloneFormGen-1.2.7-py2.4.egg


[instance]
 eggs =
 ...
 Products.PloneFormGen

zcml =
 ...
 Products.PloneFormGen
Comme dit, dans cette solution il y a un souci lorsque l'on execute le buildout.exe.

Vous nous proposez de laisser uniquement ceci donc :

[instance]
 eggs =
 ...
 Products.PloneFormGen

Mais là meme si le buildout.exe se lance bien, le souci est qu'on n'accède vraiment plus au site Plone. Erreur Firefox : La connexion a échoué.

Et pourtant l'instance est bien en "running".

dekka

Re: Documentation manquante ?

Reply Threaded More More options
Print post
Permalink
Problème résolu, merci à tous !