hi,

once, while trying to play a file, I had a crash in freevo; I added this patch

--- video/videoitem.py.orig     2009-05-16 20:10:55.000000000 +0200
+++ video/videoitem.py  2009-05-29 11:34:38.000000000 +0200
@@ -375,6 +375,9 @@
                         length = s.length
                     if not length:
                         continue
+                    if type(length) != int:
+                        _debug_(' length is %s  ???' % repr(length), 3)
+                        continue
                     total += length
                 total = '%s min' % str(int(total) / 60)
             else:


and it turns out that the variable 'length' was containing a unicode string  
u'None'
(that is, None converted to unicode...)

I propose this patch , just in case

a.

-- 
Andrea Mennucc

"The EULA sounds like it was written by a team of lawyers who want to tell 
me what I can't do, and the GPL sounds like it was written by a human 
being who wants me to know what I can do."
Anonymous,    http://www.securityfocus.com/columnists/420

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to