Bugs item #1607360, was opened at 2006-12-02 12:47
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1607360&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: 1.x svn
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Frank Naude (naudefj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Errors with cache rebuild

Initial Comment:
$ freevo cache --rebuild
...
ERROR factory(192): parse error
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/kaa/metadata/factory.py", line 186, in 
create_from_file
    return parser(file)
  File "/usr/lib/python2.4/site-packages/kaa/metadata/video/mpeginfo.py", line 
147, in __init__
    if not self.isMPEG(file):
  File "/usr/lib/python2.4/site-packages/kaa/metadata/video/mpeginfo.py", line 
475, in isMPEG
    self.length = self.get_length()
  File "/usr/lib/python2.4/site-packages/kaa/metadata/video/mpeginfo.py", line 
798, in get_length
    end = self.get_endpos()
  File "/usr/lib/python2.4/site-packages/kaa/metadata/video/mpeginfo.py", line 
787, in get_endpos
    end    = self.get_time(buffer[pos:])
  File "/usr/lib/python2.4/site-packages/kaa/metadata/video/mpeginfo.py", line 
316, in ReadSCRMpeg1
    highbit = (ord(buffer[0]) >> 3) & 0x01
IndexError: string index out of range


----------------------------------------------------------------------

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-12-02 13:43

Message:
Logged In: YES 
user_id=104395
Originator: NO

It's complaining about an mpeg 1 type video. Do you have these in your
media? Do you have a clue as to which file this is?

The metadata/video/mpeginfo.py has some stray tabs in there and a return
that is a incorrecly indented. I've updated this in svn. I don't this will
correct the problem but would you give it a try.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1607360&group_id=46652

-------------------------------------------------------------------------
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
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to