Lá vai, ah se eu puder ajudar em alguma coisa, pois estou precisando de
utilizar a ferramenta em um portal (Plone3)

2008-10-13 15:21:44 ERROR Zope.SiteErrorLog
http://localhost:8080/Plone/portal_publicator/updatePBItems
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.CMFPublicator.PublicatorTool, line 374, in updatePBItems
  Module Products.CMFPublicator.PublicationBoxInformation, line 302, in
updateItems
  Module Products.CMFPublicator.PublicationBoxInformation, line 347, in
_extractItem
ValueError: An inconsistent path has been passed in item restrictedTraverse.
2008-10-13 15:38:55 ERROR Zope.SiteErrorLog
http://localhost:8080/iff/portal_skins/custom/teste
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 427, in pt_render
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 855, in do_condition
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 855, in do_condition
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 824, in do_loop_tal
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 623, in do_insertText_tal
  Module Products.PageTemplates.Expressions, line 228, in evaluateText
  Module zope.tales.tales, line 696, in evaluate
   - URL:
file:/home/ronaldo/Plone3/zinstance/parts/productdistros/PloneSlideShow/skins/SlideShow/global_slide.zpt
   - Line 89, Column 9
   - Expression: <PythonExpr items['Rights'] + '|' + portal_url + '/' +
items['ImageURL'] + '|' + items['Title'] + '|' + portal_url + '/' +
items['RelativeContentURL'] + '|&nbsp;|' + items['Description'][:75] + '|' +
items['Type'] +'|'>
   - Names:
      {'container': <Folder at /iff/portal_skins/custom>,
       'context': <Folder at /iff/portal_skins/custom>,
       'default': <object object at 0xb7d0e528>,
       'here': <Folder at /iff/portal_skins/custom>,
       'loop': {u'items': <Products.PageTemplates.Expressions.PathIterator
object at 0xdf7c6ec>},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xdf8fe0c>,
       'request': <HTTPRequest, URL=
http://localhost:8080/iff/portal_skins/custom/teste>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /iff/portal_skins/custom/teste>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   - __traceback_info__: items['Rights'] + '|' + portal_url + '/' +
items['ImageURL'] + '|' + items['Title'] + '|' + portal_url + '/' +
items['RelativeContentURL'] + '|&nbsp;|' + items['Description'][:75] + '|' +
items['Type'] +'|'
  Module PythonExpr, line 1, in <expression>
NameError: name 'portal_url' is not defined


vlw

On Mon, Oct 13, 2008 at 3:28 PM, Cleber J Santos <
[EMAIL PROTECTED]> wrote:

> Ronaldo Amaral wrote:
> > Ola, existem algum projeto para colocar o PloneSlideShow para funcionar
> no
> > Plone3?
> > Testei a versão 0.9.0, mas não funciona a macro (global_slide), dá erro
> no
> > "portal_url"
> >
> >
> Olá Ronaldo,
>
> Sim já existe um projeto, inclusive sou um dos desenvolvedores, você
> poderia me informar qual o erro? Enviar um Trace deste erro?
>
> Att,
>
> --
> #!/bin/bash
> # Name: Cleber J Santos
> # Email: [EMAIL PROTECTED]
> # Icq: 200007837
>
>
> ------------------------------------
>
> Para enviar uma mensagem: zope-pt@yahoogrupos.com.br
> Para desistir envie uma mensagem em branco para:
> [EMAIL PROTECTED] do Yahoo! Grupos
>
>
>


-- 
Ronaldo Amaral Santos
Tecnólogo em Desenvolvimento de Software
Núcleo de Pesquisa em Sistemas de Informação – NSI
Cefet-Campos
-------------------------
Linux User #437600

Responder a