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.
-- 
Sam Stainsby
Technical Director, Sustainable Software Pty Ltd (ABN: 32117186286)
Web: http://www.sustainablesoftware.com.au/
Email: [email protected]
Phone: +61 434 288 937 / Australia: 0434 288 937
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to