[plonegov-br] ajuda

Wesley Lopes wesleybl em gmail.com
Segunda Maio 25 20:10:13 BRT 2015


Esse erro já foi mapeado aqui:

https://github.com/plonegovbr/brasil.gov.portal/issues/166

Lá tem uma solução temporária.

Wesley

2015-05-25 14:21 GMT-03:00 Leonardo Nolasco Gama <lgama em ines.gov.br>:

> Boa Tarde,
>
> Me chamo Leonardo e trabalho INES (Instituto Nacional de Educação de
> Surdos) e aconteceu esse erro no Plone:
>
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 126, in publish
>   Module ZPublisher.mapply, line 77, in mapply
>   Module ZPublisher.Publish, line 46, in call_object
>   Module Shared.DC.Scripts.Bindings, line 322, in __call__
>   Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
>   Module Products.CMFCore.FSPageTemplate, line 237, in _exec
>   Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
>   Module Products.PageTemplates.PageTemplate, line 79, in pt_render
>   Module zope.pagetemplate.pagetemplate, line 132, in pt_render
>   Module five.pt.engine, line 93, in __call__
>   Module z3c.pt.pagetemplate, line 163, in render
>   Module chameleon.zpt.template, line 257, in render
>   Module chameleon.template, line 190, in render
>   Module chameleon.template, line 172, in render
>   Module 276dfd01de81376474408abfc6ae45f21061fbec, line 1080, in render
>   Module 57487441d22b0c36e6d04fdef3879ad1dc86a068, line 1393, in render_master
>   Module 57487441d22b0c36e6d04fdef3879ad1dc86a068, line 560, in render_content
>   Module 276dfd01de81376474408abfc6ae45f21061fbec, line 1068, in __fill_content_core
>   Module 276dfd01de81376474408abfc6ae45f21061fbec, line 536, in render_content_core
> AttributeError: 'getField'
>
>  - Expression: "python:random_image.tag(scale='thumb', title=album.Description)"
>  - Filename:   ... s/ATContentTypes/skins/ATContentTypes/atct_album_view.pt
>  - Location:   (61:60)
>  - Source:     ... python:random_image.tag(scale='thumb', title=album.Description) ...
>                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  - Expression: "nocall:context/aq_explicit/getText"
>  - Filename:   <string>
>  - Location:   (0:0)
>  - Expression: "nocall:context/getField"
>  - Filename:   <string>
>  - Location:   (0:0)
>  - Expression: "nocall:context/getField"
>  - Filename:   <string>
>  - Location:   (0:0)
>  - Expression: "nocall:context/getField"
>  - Filename:   <string>
>  - Location:   (0:0)
>  - Expression: "nocall:context/getField"
>  - Filename:   <string>
>  - Location:   (0:0)
>  - Arguments:  repeat: {...} (0)
>                template: <ImplicitAcquisitionWrapper atct_album_view at 0xde6102c>
>                modules: <instance - at 0x968f88c>
>                here: <ImplicitAcquisitionWrapper Plone at 0xde61eb4>
>                user: <ImplicitAcquisitionWrapper - at 0xde3289c>
>                nothing: <NoneType - at 0x82af5a0>
>                container: <ImplicitAcquisitionWrapper Plone at 0xde61eb4>
>                default: <object - at 0xb72bd698L>
>                request: <instance - at 0xb3cb1decL>
>                wrapped_repeat: <SafeMapping - at 0xde7a694>
>                traverse_subpath: <list - at 0xb3cb16ecL>
>                loop: {...} (2)
>                context: <ImplicitAcquisitionWrapper Plone at 0xde61eb4>
>                translate: <function translate at 0xb43e3ae4L>
>                root: <ImplicitAcquisitionWrapper Zope at 0xde3643c>
>                options: {...} (1)
>                target_language: pt_BR
>
>
>
> Alguém sabe solucionar?
>
>
> Att,
>
>
> Leonardo Nolasco Gama
>
>
>
> --
> Comunidade Plone no Governo
> Site: http://www.softwarelivre.gov.br/plone
> Wiki: http://colab.interlegis.leg.br/wiki/PloneGovBr
> Histórico:
> http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=plonegov-br
> Lista: https://listas.interlegis.gov.br/mailman/listinfo/plonegov-br
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.interlegis.gov.br/pipermail/plonegov-br/attachments/20150525/6c940d1a/attachment.html>


Mais detalhes sobre a lista de discussão PloneGov-BR