Hi there,
Just wondering if anybody has also faced this problem, or could
otherwise help regarding this bug?
We are starting work again on this feature tomorrow, so if anybody could
pitch in, that would be very helpful :)
Thanks,
Anna
On 15/04/15 5:02 PM, Sam Stainsby wrote:
> Hi all,
>
> After doing some work on the external video feature, namely changing the
> workflow of external videos to be the plumi workflow, I put those
> changes into action by deactivating and reactivating plumi.app ('Plumi')
> in the control panel for the staging site. This causes an immediate bug
> with an exception thrown from plumi.content's brain_rendering.py
>
> Module plumi.content.browser.brain_rendering, line 98, in video_tag
> IndexError: list index out of range
>
>
> this comes from the line 'video = '... below :
> def video_tag(self):
> path =
> self.video.url[len(self.__parent__.context.absolute_url())+1:]+'/@@embed_view'
> self.request['width'] = 525
> html = self.__parent__.context.restrictedTraverse(path)(self.request)
>
> video = '<video' + html.split('<video')[1].split('<div
> id="portlets-footer"')[0].split('<div id="portal-footer">')[0]
> return video
>
>
> .. and the root cause seems to be that the @@embed_view view is
> returning an empty string. eg.
>
> http://staging.engagemedia.org:9080/Members/AIPP/videos/Our-Forest-Our-Life-Burmese.mp4.mp4/@@embed_view
>
> -> (nothing)
>
> ... leading to the string manipulation code to fail.
>
> I suspect that view comes from collective.transcode.star, but
> reinstalling that seems to have no effect.
>
> Has anyone seen this and/or does anyone know how to fix it? I've
> reinstalled plumi.content, em.skin, collective.transcode.star in various
> combinations, but this doesn't seem to help.
>
> Cheers,
> Sam.
>
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss