SourceForge.net wrote:

A simple patch for kaa metadata is, stops it crashing but may not be
what is intended:

Index: src/video/ogm.py
===================================================================
--- src/video/ogm.py    (revision 2368)
+++ src/video/ogm.py    (working copy)
@@ -153,7 +153,7 @@
                             break

         for stream in self.all_streams:
-            if not stream.length:
+            if not hasattr(stream, 'length'):
                 stream.length = self.length

         # If there are no video streams in this ogg container, it

> Bugs item #1626510, was opened at 2007-01-02 23:32
> Message generated for change (Comment added) made by gorka
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1626510&group_id=46652
> 
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: core
> Group: kaa svn
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Gorka Olaizola (gorka)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Traceback parsing an .ogm file
> 
> Initial Comment:
> With lates Kaa SVN r2334 doing a freevo cache --rebuild i get this traceback.
> 
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/kaa/metadata/factory.py", line 162, 
> in create_from_file
>     return parser(file)
>   File "/usr/lib/python2.4/site-packages/kaa/metadata/video/ogm.py", line 
> 156, in __init__
>     if not stream.length:
> AttributeError: 'Subtitle' object has no attribute 'length'
> 
> 
> ----------------------------------------------------------------------
> 
>> Comment By: Gorka Olaizola (gorka)
> Date: 2007-01-09 15:40
> 
> Message:
> Logged In: YES 
> user_id=309801
> Originator: YES
> 
> I've tried to upload a 2 megs file to the ftp and I got an access denied
> message. I've uploaded the file to my server
> http://helvete.escomposlinux.org/voyager101.ogm

Duncan


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to