haessle thomas wrote:
Salut,
Je voulais savoir si le PortalTransforms avait été modifié.
J’utilise un script python basique qui y fait appel (qui fonctionnait
parfaitement) :
##parameters=REQUEST=None, htmlText = ''
transform_tool = context.portal_transforms
htmlinText = ‘’
if htmlText:
htmlinText = transform_tool.convert('html_to_text',htmlText)
htmlinText = string.replace(str(HtmlinText),' ',' ')
return htmlinText
or depuis ma dernière mise à jour de ce produit j’ai une erreur :
* Module Products.PortalTransforms.TransformEngine, line 138, in
convert
Exception: No such transform "html_to_text" (Also, an error occurred
while attempting to render the standard error message.)
La transformation "html_to_text" a probablement disparu du tool (facile
a verifier depuis la ZMI).
Il suffit de reinstaller PortalTransforms (depuis portal_quickinstaller
par exemple).
S.
--
Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile).
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source!
begin:vcard
fn:Stefane Fermigier
n:Fermigier;Stefane
org:Nuxeo
adr:;;14, rue Soleillet;Paris;;75020;France
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+33 1 40 33 79 87
tel;fax:+33 1 43 58 14 15
tel;cell:+33 6 63 04 12 77
url:http://www.nuxeo.com/
version:2.1
end:vcard
_______________________________________________
cps-users-fr
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>