I found two other mmpython crashes.
The first is for PNG data:
File "/usr/lib/python2.2/site-packages/mmpython/image/pnginfo.py", line 80, in
__init__
while self._readChunk(file):
File "/usr/lib/python2.2/site-packages/mmpython/image/pnginfo.py", line 96, in
_readChunk
meta[key] = value
NameError: global name 'meta' is not defined
I changed all the references to 'meta' in pnginfo.py to 'self.meta'
and it worked fine after that.
The second is for a movie file with xml imdb data:
File "src/video/plugins/imdb_info.py", line 54, in info_showdata
box = AlertBox(icon=info.image, width=550, height=400, text='%s\n \n %s\n \n Year:
%s\n Genre: %s\n Rating: %s\n Runtime: %s' %%
%(info.name,info.info['plot'],info.info['year'],info.info['genre'],info.info['rating'],info.info['runtime']))
File "/usr/lib/python2.2/site-packages/mmpython/mediainfo.py", line 306, in
__getitem__
if isinstance(self.__dict__[key], str):
KeyError: runtime
It looks like mmpython is trying to fill in the runtime information,
which should be coming out of the XML file. All I can do to fix this
is trapping and ignoring the KeyError.
Aubin
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel