[plonegov-br] Problema com Coleção

Robério mrcferro em gmail.com
Sexta Fevereiro 27 18:05:12 BRT 2015


Oi Pessoal,

Fiz a migração de um servidor para a versão atual do Plone e instalei o
tema Brasil.gov. Apliquei o tema ao site e estava dando tudo certo, quando
um problema aconteceu durante a criação de uma Coleção.

Vou relatar aqui os passos que segui para criar essa coleção e em seguida
jogar o erro que apareceu. Fico bastante agradecido se alguém puder me
ajudar.

abs

-- 
Robério






Seguem os passos que segui para criar a coleção:

1  - Nova Coleção

2 - Inseri o título da coleção

3 - Em termos da busca, selecionei METADADOS / LOCAL, e em seguida informei
o caminho relativo do site

4 - em ORDENAR, selecionei Data de Efetivação, marcando a opção ORDEM
INVERSA

5 - em VISUALIZAR apareceram os itens que eu preciso

6 - em LIMITE, deixei 100

7 - em NUMERO DE ÍTENS, deixei 30




Aqui está a mensagem de erro completa:

Visualizar traceback como texto
<http://192.168.253.57:8080/portal/error_log/getLogEntryAsText?id=1425070892.210.104937054804>

Traceback (innermost last):

   - Module ZPublisher.Publish, line 138, in publish
   - Module ZPublisher.mapply, line 77, in mapply
   - Module ZPublisher.Publish, line 48, in call_object
   - 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 five.pt.engine, line 93, in __call__
   - Module z3c.pt.pagetemplate, line 149, in render
   - Module chameleon.zpt.template, line 258, in render
   - Module chameleon.template, line 191, in render
   - Module chameleon.template, line 171, in render
   - Module 0ac7f8cd153b4c778ea3e85503738905.py, line 2137, in render
   - Module a33b7a3a6860ffcc439767109f06f27a.py, line 1392, in render_master
   - Module a33b7a3a6860ffcc439767109f06f27a.py, line 559, in render_content
   - Module 0ac7f8cd153b4c778ea3e85503738905.py, line 2124, in
   __fill_content_core
   - Module 0ac7f8cd153b4c778ea3e85503738905.py, line 632, in
   render_content_core
   - Module 0ac7f8cd153b4c778ea3e85503738905.py, line 319, in render_listing
   - Module plone.app.contenttypes.content, line 48, in results
   - Module plone.app.querystring.querybuilder, line 53, in __call__
   - Module plone.app.querystring.querybuilder, line 119, in _makequery
   - Module Products.CMFPlone.CatalogTool, line 393, in searchResults
   - Module Products.ZCatalog.ZCatalog, line 604, in searchResults
   - Module Products.ZCatalog.Catalog, line 916, in searchResults
   - Module Products.ZCatalog.Catalog, line 894, in _getSortIndex

Traceback (innermost last):

  Module ZPublisher.Publish, line 138, in publish

  Module ZPublisher.mapply, line 77, in mapply

  Module ZPublisher.Publish, line 48, in call_object

  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 five.pt.engine, line 93, in __call__

  Module z3c.pt.pagetemplate, line 149, in render

  Module chameleon.zpt.template, line 258, in render

  Module chameleon.template, line 191, in render

  Module chameleon.template, line 171, in render

  Module 0ac7f8cd153b4c778ea3e85503738905.py, line 2137, in render

  Module a33b7a3a6860ffcc439767109f06f27a.py, line 1392, in render_master

  Module a33b7a3a6860ffcc439767109f06f27a.py, line 559, in render_content

  Module 0ac7f8cd153b4c778ea3e85503738905.py, line 2124, in
__fill_content_core

  Module 0ac7f8cd153b4c778ea3e85503738905.py, line 632, in
render_content_core

  Module 0ac7f8cd153b4c778ea3e85503738905.py, line 319, in render_listing

  Module plone.app.contenttypes.content, line 48, in results

  Module plone.app.querystring.querybuilder, line 53, in __call__

  Module plone.app.querystring.querybuilder, line 119, in _makequery

  Module Products.CMFPlone.CatalogTool, line 393, in searchResults

  Module Products.ZCatalog.ZCatalog, line 604, in searchResults

  Module Products.ZCatalog.Catalog, line 916, in searchResults

  Module Products.ZCatalog.Catalog, line 894, in _getSortIndex

CatalogError: getField


 - Expression: "python:context.results(b_start=b_start)"

 - Filename:   ... lone/app/contenttypes/browser/templates/standard_view.pt

 - Location:   (line 30: col 34)

 - Source:     batch python:context.results(b_start=b_start);

                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 - Expression: "nocall:context/aq_explicit/getText"

 - Filename:   <string>

 - Location:   (line 0: col 0)

 - Expression: "nocall:context/getField"

 - Filename:   <string>

 - Location:   (line 0: col 0)

 - Expression: "nocall:context/getField"

 - Filename:   <string>

 - Location:   (line 0: col 0)

 - Expression: "nocall:context/getField"

 - Filename:   <string>

 - Location:   (line 0: col 0)

 - Expression: "nocall:context/getField"

 - Filename:   <string>

 - Location:   (line 0: col 0)

 - Arguments:  repeat: {...} (0)

               template: <ViewPageTemplateFile - at 0x134e46d0>

               views: <ViewMapper - at 0xece1ad0>

               modules: <instance - at 0x34b8830>

               args: <tuple - at 0x7f451c756050>

               here: <ImplicitAcquisitionWrapper noticias-teste-para-capa-1
at 0x161827d0>

               user: <ImplicitAcquisitionWrapper - at 0xbd164b0>

               nothing: <NoneType - at 0x775ce0>

               container: <ImplicitAcquisitionWrapper
noticias-teste-para-capa-1 at 0x161827d0>

               request: <instance - at 0x15804710>

               wrapped_repeat: <SafeMapping - at 0x1547aba8>

               traverse_subpath: <list - at 0x15bcb368>

               default: <object - at 0x7f451c719b60>

               loop: {...} (1)

               context: <ImplicitAcquisitionWrapper
noticias-teste-para-capa-1 at 0x161827d0>

               view: <SimpleViewClass from
/var/www/plone/buildout-cache/eggs/plone.app.contenttypes-1.0-py2.7.egg/plone/app/contenttypes/browser/templates/
standard_view.pt view at 0x141121d0>

               translate: <function translate at 0xc82fa28>

               root: <ImplicitAcquisitionWrapper Zope at 0xbafb460>

               options: {...} (0)

               target_language: <NoneType - at 0x775ce0>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.interlegis.gov.br/pipermail/plonegov-br/attachments/20150227/d8f0b684/attachment.html>


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