Hi,
please either do one of the following:

1)
manually apply the change
https://github.com/plumi/plumi.content/commit/6c2111577ae8ad01b1667279f6c766da09658ee8on
plumi/content/browser/video.py
, or

2)
checkout master on plumi.content and git pull, to get the latest commits.
cd src/plumi.content && git checkout master && git pull

Let us know for other issues,
regards



On Sat, Aug 10, 2013 at 7:24 PM, ubik pl <[email protected]> wrote:

> Hi,
>
> I am trying to setup Plumi(
> https://github.com/plumi/plumi.app/blob/master/docs/INSTALL.rst). It
> works but I get 503 error on form saving.
>
> This seems to be the same as reported here:
> http://comments.gmane.org/gmane.comp.web.zope.plone.plumi.general/5693
>
> I found some errors in logs:
> ==================================================================
>
> ==> var/log/uwsgi-stdout---supervisor-L4eEjQ.log <==
> Traceback (most recent call last):
>   File
> "/opt/http/plumi.app/eggs/repoze.retry-1.0-py2.7.egg/repoze/retry/__init__.py",
> line 90, in __call__
>     app_iter = self.application(environ, replace_start_response)
>   File
> "/opt/http/plumi.app/eggs/repoze.tm2-1.0b2-py2.7.egg/repoze/tm/__init__.py",
> line 24, in __call__
>     result = self.application(environ, save_status_and_headers)
>   File
> "/opt/http/plumi.app/eggs/repoze.vhm-0.14-py2.7.egg/repoze/vhm/middleware.py",
> line 106, in __call__
>     return self.application(environ, start_response)
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/ZPublisher/WSGIPublisher.py",
> line 282, in publish_module
>     response = _publish(request, 'Zope2')
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/ZPublisher/WSGIPublisher.py",
> line 205, in publish
>     bind=1,
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/ZPublisher/mapply.py",
> line 77, in mapply
>     if debug is not None: return debug(object,args,context)
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/ZPublisher/Publish.py",
> line 46, in call_object
>     result=apply(object,args) # Type s<cr> to step into published object.
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/Products/Five/browser/metaconfigure.py",
> line 476, in __call__
>     return self.index(*args, **kw)
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/Products/Five/browser/pagetemplatefile.py",
> line 125, in __call__
>     return self.im_func(im_self, *args, **kw)
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/Products/Five/browser/pagetemplatefile.py",
> line 59, in __call__
>     sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
>   File
> "/opt/http/plumi.app/eggs/zope.pagetemplate-3.5.2-py2.7.egg/zope/pagetemplate/pagetemplate.py",
> line 113, in pt_render
>     strictinsert=0, sourceAnnotations=sourceAnnotations)()
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 271, in __call__
>     self.interpret(self.program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 888, in do_useMacro
>     self.interpret(macro)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 533, in do_optTag_tal
>     self.do_optTag(stuff)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 518, in do_optTag
>     return self.no_tag(start, program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 513, in no_tag
>     self.interpret(program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 954, in do_defineSlot
>     self.interpret(block)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 533, in do_optTag_tal
>     self.do_optTag(stuff)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 518, in do_optTag
>     return self.no_tag(start, program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 513, in no_tag
>     self.interpret(program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 858, in do_defineMacro
>     self.interpret(macro)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 954, in do_defineSlot
>     self.interpret(block)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 533, in do_optTag_tal
>     self.do_optTag(stuff)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 518, in do_optTag
>     return self.no_tag(start, program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 513, in no_tag
>     self.interpret(program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 946, in do_defineSlot
>     self.interpret(slot)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 533, in do_optTag_tal
>     self.do_optTag(stuff)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 518, in do_optTag
>     return self.no_tag(start, program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 513, in no_tag
>     self.interpret(program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 858, in do_defineMacro
>     self.interpret(macro)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 533, in do_optTag_tal
>     self.do_optTag(stuff)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 518, in do_optTag
>     return self.no_tag(start, program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 513, in no_tag
>     self.interpret(program)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 343, in interpret
>     handlers[opcode](self, args)
>   File
> "/opt/http/plumi.app/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py",
> line 583, in do_setLocal_tal
>     self.engine.setLocal(name, self.engine.evaluateValue(expr))
>   File
> "/opt/http/plumi.app/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py",
> line 696, in evaluate
>     return expression(self)
>   File
> "/opt/http/plumi.app/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/expressions.py",
> line 217, in __call__
>     return self._eval(econtext)
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/Products/PageTemplates/Expressions.py",
> line 147, in _eval
>     ob = self._subexprs[-1](econtext)
>   File
> "/opt/http/plumi.app/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/expressions.py",
> line 124, in _eval
>     ob = self._traverser(ob, element, econtext)
>   File
> "/opt/http/plumi.app/eggs/Zope2-2.13.15-py2.7.egg/Products/PageTemplates/Expressions.py",
> line 97, in trustedBoboAwareZopeTraverse
>     request=request)
>   File
> "/opt/http/plumi.app/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py",
> line 136, in traversePathElement
>     return traversable.traverse(nm, further_path)
>   File
> "/opt/http/plumi.app/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py",
> line 42, in traverse
>     attr = getattr(subject, name, _marker)
>   File
> "/opt/http/plumi.app/src/plumi.content/plumi/content/browser/video.py",
> line 218, in contact_author_link
>     link =  '/author/' +
> self.context.aq_inner.aq_parent.getPhysicalPath()[3] + '#contact-author'
> IndexError: tuple index out of range
> [pid: 6901|app: 0|req: 11/27] 127.0.0.1 () {32 vars in 899 bytes} [Sat Aug
> 10 18:17:26 2013] GET /VirtualHostBase/http/
> video.mydomain.com:80/Plone/VirtualHostRoot/video-title/ => generated 0
> bytes in 999 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on core
> 0)
>
>
> Regards,
>
>
> _______________________________________________
> Discuss mailing list
> [email protected]
> http://lists.plumi.org/listinfo/discuss
>
>


-- 
https://unweb.me
state of the art information systems
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to