Quantcast

UnicodeDecodeError: 'ascii'

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

UnicodeDecodeError: 'ascii'

pola31
Bonjour,

Je souhaiterai installer le caroussel-portlet sur ma page d'accueil, mais j'ai cette erreur qui apparait : UnicodeDecodeError: 'ascii'

Je m'arrache les cheveux, pouvez vous me filer un petit coup de main, s'il vous plait ?


La voici en entier:


--------------------


Traceback (innermost last):
  Module plone.app.portlets.manager, line 63, in safe_render
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 821, in do_loop_tal
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/portlets/carousel.pt
   - Line 42, Column 28
   - Expression: <PythonExpr (view.get_tile(item_object))>
   - Names:
      {'args': (),
       'container': <ATDocument at /WWW/texte-accueil>,
       'context': <ATDocument at /WWW/texte-accueil>,
       'default': <object object at 0x7fe52106db60>,
       'here': <ATDocument at /WWW/texte-accueil>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa0bc050>,
       'request': <HTTPRequest, URL=http://www-site/texte-accueil/document_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa11fb90>,
       'traverse_subpath': [],
       'user': <PloneUser 'webmaster'>,
       'view': <collective.carousel.portlets.carousel.Renderer object at 0xa6a0a90>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa698610>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (view.get_tile(item_object))
  Module <string>, line 1, in <module>
  Module collective.carousel.portlets.carousel, line 184, in get_tile
  Module Products.Five.browser.metaconfigure, line 479, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/news_item_tile.pt
   - Line 11, Column 4
   - Expression: <PythonExpr ( path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))>
   - Names:
      {'args': (),
       'container': <ATNewsItem at /WWW/actualites/news/news1>,
       'context': <ATNewsItem at /WWW/actualites/news/news2>,
       'default': <object object at 0x7fe52106db60>,
       'here': <ATNewsItem at /WWW/actualites/news/news1>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa3e13c0>,
       'request': <HTTPRequest, URL=http://www-site/texte-accueil/document_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa298a50>,
       'traverse_subpath': [],
       'user': <PloneUser 'webmaster'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/news_item_tile.pt object at 0xa698ad0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa698b90>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: ( path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))
  Module <string>, line 1, in <module>
  Module Products.ATContentTypes.content.newsitem, line 113, in tag
  Module Products.Archetypes.Field, line 2729, in tag
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)


------------------------------

Merci beaucoup



Paule Dossi 



_______________________________________________
Plone-FR mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-fr
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: UnicodeDecodeError: 'ascii'

thomasdesvenain
Bonjour, il y a un bug d'encodage quelque part mais tu peux sans doute le contourner en ajoutant dans ton fichier

/usr/lib/python2.7/sitecustomize.py

les lignes suivantes :

import sys
sys.setdefaultencoding('utf-8')

Thomas

2014-11-04 19:15 GMT+01:00 Paule Dossi <[hidden email]>:
Bonjour,

Je souhaiterai installer le caroussel-portlet sur ma page d'accueil, mais j'ai cette erreur qui apparait : UnicodeDecodeError: 'ascii'

Je m'arrache les cheveux, pouvez vous me filer un petit coup de main, s'il vous plait ?


La voici en entier:


--------------------


Traceback (innermost last):
  Module plone.app.portlets.manager, line 63, in safe_render
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 821, in do_loop_tal
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/portlets/carousel.pt
   - Line 42, Column 28
   - Expression: <PythonExpr (view.get_tile(item_object))>
   - Names:
      {'args': (),
       'container': <ATDocument at /WWW/texte-accueil>,
       'context': <ATDocument at /WWW/texte-accueil>,
       'default': <object object at 0x7fe52106db60>,
       'here': <ATDocument at /WWW/texte-accueil>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa0bc050>,
       'request': <HTTPRequest, URL=http://www-site/texte-accueil/document_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa11fb90>,
       'traverse_subpath': [],
       'user': <PloneUser 'webmaster'>,
       'view': <collective.carousel.portlets.carousel.Renderer object at 0xa6a0a90>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa698610>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (view.get_tile(item_object))
  Module <string>, line 1, in <module>
  Module collective.carousel.portlets.carousel, line 184, in get_tile
  Module Products.Five.browser.metaconfigure, line 479, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/news_item_tile.pt
   - Line 11, Column 4
   - Expression: <PythonExpr ( path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))>
   - Names:
      {'args': (),
       'container': <ATNewsItem at /WWW/actualites/news/news1>,
       'context': <ATNewsItem at /WWW/actualites/news/news2>,
       'default': <object object at 0x7fe52106db60>,
       'here': <ATNewsItem at /WWW/actualites/news/news1>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa3e13c0>,
       'request': <HTTPRequest, URL=http://www-site/texte-accueil/document_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa298a50>,
       'traverse_subpath': [],
       'user': <PloneUser 'webmaster'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/news_item_tile.pt object at 0xa698ad0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa698b90>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: ( path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))
  Module <string>, line 1, in <module>
  Module Products.ATContentTypes.content.newsitem, line 113, in tag
  Module Products.Archetypes.Field, line 2729, in tag
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)


------------------------------

Merci beaucoup



Paule Dossi 



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




--
Thomas Desvenain

Téléphone : 09 51 37 35 18

_______________________________________________
Plone-FR mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-fr
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: UnicodeDecodeError: 'ascii'

Gilles Lenfant-2
Hmmm,

Attention aux effets de bord de cette solution. Si je me souviens bien, il y a des bouts de code gruik gruik où "unicode(xxx)" est utilisé intentionnellement pour vérifier qu'une chaine est en pur ASCII.

J'ajoute que placer ceci dans /usr/lib/python2.7/
sitecustomize.py a un impact potentiel sur *toutes* les application Python de la machine, y compris celles n'ayant rien à voir avec Plone.

Il est préférable de choisir un emplacement spécifique à l'appli Plone plus approprié parmi ceux proposés par l'exécution de cette ligne, et qui ne nécessitent pas l'accès root :

zopepy -m site

zopepy étant le point d'accès à l'interpréteur Python généré par le buildout.

Bon courage

2014-11-05 9:35 GMT+01:00 Thomas Desvenain <[hidden email]>:
Bonjour, il y a un bug d'encodage quelque part mais tu peux sans doute le contourner en ajoutant dans ton fichier

/usr/lib/python2.7/sitecustomize.py

les lignes suivantes :

import sys
sys.setdefaultencoding('utf-8')

Thomas

2014-11-04 19:15 GMT+01:00 Paule Dossi <[hidden email]>:
Bonjour,

Je souhaiterai installer le caroussel-portlet sur ma page d'accueil, mais j'ai cette erreur qui apparait : UnicodeDecodeError: 'ascii'

Je m'arrache les cheveux, pouvez vous me filer un petit coup de main, s'il vous plait ?


La voici en entier:


--------------------


Traceback (innermost last):
  Module plone.app.portlets.manager, line 63, in safe_render
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 821, in do_loop_tal
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/portlets/carousel.pt
   - Line 42, Column 28
   - Expression: <PythonExpr (view.get_tile(item_object))>
   - Names:
      {'args': (),
       'container': <ATDocument at /WWW/texte-accueil>,
       'context': <ATDocument at /WWW/texte-accueil>,
       'default': <object object at 0x7fe52106db60>,
       'here': <ATDocument at /WWW/texte-accueil>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa0bc050>,
       'request': <HTTPRequest, URL=http://www-site/texte-accueil/document_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa11fb90>,
       'traverse_subpath': [],
       'user': <PloneUser 'webmaster'>,
       'view': <collective.carousel.portlets.carousel.Renderer object at 0xa6a0a90>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa698610>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (view.get_tile(item_object))
  Module <string>, line 1, in <module>
  Module collective.carousel.portlets.carousel, line 184, in get_tile
  Module Products.Five.browser.metaconfigure, line 479, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/news_item_tile.pt
   - Line 11, Column 4
   - Expression: <PythonExpr ( path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))>
   - Names:
      {'args': (),
       'container': <ATNewsItem at /WWW/actualites/news/news1>,
       'context': <ATNewsItem at /WWW/actualites/news/news2>,
       'default': <object object at 0x7fe52106db60>,
       'here': <ATNewsItem at /WWW/actualites/news/news1>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa3e13c0>,
       'request': <HTTPRequest, URL=http://www-site/texte-accueil/document_view>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa298a50>,
       'traverse_subpath': [],
       'user': <PloneUser 'webmaster'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.carousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/news_item_tile.pt object at 0xa698ad0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa698b90>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: ( path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))
  Module <string>, line 1, in <module>
  Module Products.ATContentTypes.content.newsitem, line 113, in tag
  Module Products.Archetypes.Field, line 2729, in tag
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)


------------------------------

Merci beaucoup



Paule Dossi 



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




--
Thomas Desvenain

Téléphone : <a href="tel:09%2051%2037%2035%2018" value="+33951373518" target="_blank">09 51 37 35 18

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




--
--
Gilles LENFANT


_______________________________________________
Plone-FR mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-fr
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: UnicodeDecodeError: 'ascii'

Encolpe DEGOUTE
In reply to this post by thomasdesvenain
PAN !


Le mercredi 5 novembre 2014, 09:35:17 Thomas Desvenain a écrit :

> Bonjour, il y a un bug d'encodage quelque part mais tu peux sans doute le
> contourner en ajoutant dans ton fichier
>
> /usr/lib/python2.7/sitecustomize.py
>
> les lignes suivantes :
>
> import sys
> sys.setdefaultencoding('utf-8')
>
> Thomas
>
> 2014-11-04 19:15 GMT+01:00 Paule Dossi <[hidden email]>:
> > Bonjour,
> >
> > Je souhaiterai installer le caroussel-portlet sur ma page d'accueil, mais
> > j'ai cette erreur qui apparait : UnicodeDecodeError: 'ascii'
> >
> > Je m'arrache les cheveux, pouvez vous me filer un petit coup de main, s'il
> > vous plait ?
> >
> >
> > La voici en entier:
> >
> >
> > --------------------
> >
> > Traceback (innermost last):
> >   Module plone.app.portlets.manager, line 63, in safe_render
> >   Module Products.Five.browser.pagetemplatefile, line 125, in __call__
> >   Module Products.Five.browser.pagetemplatefile, line 59, in __call__
> >   Module zope.pagetemplate.pagetemplate, line 132, in pt_render
> >   Module zope.pagetemplate.pagetemplate, line 240, in __call__
> >   Module zope.tal.talinterpreter, line 271, in __call__
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
> >   Module zope.tal.talinterpreter, line 513, in no_tag
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 852, in do_condition
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 821, in do_loop_tal
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
> >   Module zope.tal.talinterpreter, line 518, in do_optTag
> >   Module zope.tal.talinterpreter, line 513, in no_tag
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
> >   Module zope.tal.talinterpreter, line 513, in no_tag
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
> >   Module Products.PageTemplates.Expressions, line 218, in
> >   evaluateStructure
> >   Module zope.tales.tales, line 696, in evaluate
> >  
> >    - URL:
> > /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.c
> > arousel-1.6.2-py2.7.egg/collective/carousel/portlets/ carousel.pt
> >
> >    - Line 42, Column 28
> >    - Expression: <PythonExpr (view.get_tile(item_object))>
> >    
> >    - Names:
> >       {'args': (),
> >      
> >        'container': <ATDocument at /WWW/texte-accueil>,
> >        'context': <ATDocument at /WWW/texte-accueil>,
> >        'default': <object object at 0x7fe52106db60>,
> >        'here': <ATDocument at /WWW/texte-accueil>,
> >        'loop': {},
> >        'nothing': None,
> >        'options': {},
> >        'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
> >
> > 0xa0bc050>,
> >
> >        'request': <HTTPRequest, URL=
> >
> > http://www-site/texte-accueil/document_view>,
> >
> >        'root': <Application at >,
> >
> >        'template':
> > <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> > 0xa11fb90>,
> >
> >        'traverse_subpath': [],
> >        'user': <PloneUser 'webmaster'>,
> >        'view': <collective.carousel.portlets.carousel.Renderer object at
> >
> > 0xa6a0a90>,
> >
> >        'views': <Products.Five.browser.pagetemplatefile.ViewMapper object
> >
> > at 0xa698610>}
> >
> >   Module zope.tales.pythonexpr, line 59, in __call__
> >  
> >    - __traceback_info__: (view.get_tile(item_object))
> >  
> >   Module <string>, line 1, in <module>
> >   Module collective.carousel.portlets.carousel, line 184, in get_tile
> >   Module Products.Five.browser.metaconfigure, line 479, in __call__
> >   Module Products.Five.browser.pagetemplatefile, line 125, in __call__
> >   Module Products.Five.browser.pagetemplatefile, line 59, in __call__
> >   Module zope.pagetemplate.pagetemplate, line 132, in pt_render
> >   Module zope.pagetemplate.pagetemplate, line 240, in __call__
> >   Module zope.tal.talinterpreter, line 271, in __call__
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
> >   Module zope.tal.talinterpreter, line 518, in do_optTag
> >   Module zope.tal.talinterpreter, line 513, in no_tag
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 852, in do_condition
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
> >   Module zope.tal.talinterpreter, line 513, in no_tag
> >   Module zope.tal.talinterpreter, line 343, in interpret
> >   Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
> >   Module Products.PageTemplates.Expressions, line 218, in
> >   evaluateStructure
> >   Module zope.tales.tales, line 696, in evaluate
> >  
> >    - URL:
> > /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.c
> > arousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/
> > news_item_tile.pt
> >
> >    - Line 11, Column 4
> >    - Expression: <PythonExpr (
> >
> > path('nocall:context/tag')(scale=image_scale, css_class='tileImage'))>
> >
> >    - Names:
> >       {'args': (),
> >      
> >        'container': <ATNewsItem at /WWW/actualites/news/news1>,
> >        'context': <ATNewsItem at /WWW/actualites/news/news2>,
> >        'default': <object object at 0x7fe52106db60>,
> >        'here': <ATNewsItem at /WWW/actualites/news/news1>,
> >        'loop': {},
> >        'nothing': None,
> >        'options': {},
> >        'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
> >
> > 0xa3e13c0>,
> >
> >        'request': <HTTPRequest, URL=
> >
> > http://www-site/texte-accueil/document_view>,
> >
> >        'root': <Application at >,
> >
> >        'template':
> > <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> > 0xa298a50>,
> >
> >        'traverse_subpath': [],
> >        'user': <PloneUser 'webmaster'>,
> >        'view': <Products.Five.metaclass.SimpleViewClass from
> >
> > /opt/local/services/plone-dev/plone-4.3.2/buildout-cache/eggs/collective.c
> > arousel-1.6.2-py2.7.egg/collective/carousel/browser/templates/
> > news_item_tile.pt object at 0xa698ad0>,
> >
> >        'views': <Products.Five.browser.pagetemplatefile.ViewMapper object
> >
> > at 0xa698b90>}
> >
> >   Module zope.tales.pythonexpr, line 59, in __call__
> >  
> >    - __traceback_info__: ( path('nocall:context/tag')(scale=image_scale,
> >
> > css_class='tileImage'))
> >
> >   Module <string>, line 1, in <module>
> >   Module Products.ATContentTypes.content.newsitem, line 113, in tag
> >   Module Products.Archetypes.Field, line 2729, in tag
> >
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36:
> > ordinal not in range(128)
> >
> >
> > ------------------------------
> >
> > Merci beaucoup
> >
> >
> >
> > Paule Dossi
> >
> >
> >
> > _______________________________________________
> > Plone-FR mailing list
> > [hidden email]
> > https://lists.plone.org/mailman/listinfo/plone-plone-fr

--
Encolpe Degoute
_______________________________________________
Plone-FR mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-fr
Loading...