Bom dia pessoal!
Quando estou tentando visualizar uma notícia COM IMAGEM, visualizo
normalmente, mas quando tento visualizar uma SEM IMAGEM está me
retornando o seguinte erro:
***
Erro no site
Este site encontrou um erro tentando atender sua requisição. Os erros
foram:
Tipo do Erro
AttributeError
Valor do Erro
imagem
Requisição feita em
2006/05/24 09:51:44.190 GMT-3
***
Segue o traceback:
***
Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PageTemplates.ZopePageTemplate, line 222, in _exec
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
- ZopePageTemplate at /portal/newsitem_view used for
/portal/news_item.2006-05-22.3064073470
Module TAL.TALInterpreter, line 189, in __call__
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 670, in do_useMacro
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 408, in do_optTag_tal
Module TAL.TALInterpreter, line 393, in do_optTag
Module TAL.TALInterpreter, line 388, in no_tag
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 693, in do_defineSlot
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 649, in do_defineMacro
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 408, in do_optTag_tal
Module TAL.TALInterpreter, line 393, in do_optTag
Module TAL.TALInterpreter, line 388, in no_tag
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 290, in do_startTag
Module TAL.TALInterpreter, line 356, in attrAction_tal
Module Products.PageTemplates.TALES, line 227, in evaluateText
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: /portal/portal_skins/custom/newsitem_view
- Line 20, Column 8
- _expression_: PythonExpr context.imagem
- Names:
{'container': PloneSite instance at b5c7dbc0,
'context': NewsItem at /portal/news_item.2006-05-22.3064073470,
'default': Products.PageTemplates.TALES.Default instance at
0xb6aec68c,
'here': NewsItem at /portal/news_item.2006-05-22.3064073470,
'loop': SafeMapping instance at b1265bd0,
'modules':
Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0xb6aec18c,
'nothing': None,
'options': {'args': ()},
'repeat': SafeMapping instance at b1265bd0,
'request': HTTPRequest,
URL="" href="http://news_item.2006-05-22.3064073470/newsitem_view">http://news_item.2006-05-22.3064073470/newsitem_view,
'root': Application instance at b5c7d140,
'template': ZopePageTemplate at /portal/newsitem_view used for
/portal/news_item.2006-05-22.3064073470,
'traverse_subpath': [],
'user': harlleybh}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: context.imagem
Module Python _expression_ context.imagem, line 1, in _expression_
AttributeError: imagem
***
Para enviar uma mensagem: zope-pt@yahoogrupos.com.br
Para desistir envie uma mensagem em branco para: [EMAIL PROTECTED]
Yahoo! Grupos, um serviço oferecido por:
PUBLICIDADE
Links do Yahoo! Grupos
Para visitar o site do seu grupo na web, acesse:http://br.groups.yahoo.com/group/zope-pt/
Para sair deste grupo, envie um e-mail para:[EMAIL PROTECTED]
O uso que você faz do Yahoo! Grupos está sujeito aos Termos do Serviço do Yahoo!.