From: <gsb...@ya...> - 2003-06-30 23:36:31
|
Okay, I tried mmpython from the site, removed runtime/lib/python2.2/site-packages/mmpython and extracted the new files to that directory... It crashes: Traceback (most recent call last): File "src/main.py", line 397, in ? main_func() File "src/main.py", line 336, in main_func osd.focused_app.eventhandler(event) File "src/menu.py", line 540, in eventhandler action( menuw=self ) File "src/directory.py", line 322, in cwd self.do_cwd(arg, menuw) File "src/directory.py", line 381, in do_cwd mmpython.cache_dir(mmpython_dir) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/__init__.py", line 69, in cache_dir return object_cache.cache_dir(directory, uncachable_keys) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/cache.py", line 219, in cache_dir info = mediainfo.get_singleton().create(file) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/mediainfo.py", line 603, in __call__ return self.__method(self.__obj, *args, **kwargs) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/mediainfo.py", line 554, in create return self.create_from_filename(name) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/mediainfo.py", line 523, in create_from_filename r = self.create_from_file(f) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/mediainfo.py", line 457, in create_from_file t = self.extmap[e][3](file) File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/image/pnginfo.py", line 80, in __init__ while self._readChunk(file): File "/home/gustavo/cvs/freevo/runtime/lib/python2.2/site-packages/mmpython/image/pnginfo.py", line 96, in _readChunk meta[key] = value So I replaced meta[] with self.meta[]... it stopped crashing... but the music player has the same problem... (only show "length" and "elapsed")... I did some debugging (not much) and I've found that item.getattr('title') (for example) evaluates to nothing: eval('item.getattr("title")') => '' Gustavo --- Dirk Meyer <dm...@tz...> escreveu: > Gustavo Sverzut Barbieri wrote: > > Dischi, > > > > The new info_area is working all right to you? It's not to me (just > > checked CVS now (14:20 -300) and some fields are missing... In > music > > player I get only "Lenght" and "Elapsed", no title, artist, > album... > > Using barbieri.fxd I even get 2 times "lenght" and "elapsed"! > > > > Maybe is something you've changed? > > Can you try blue2 please? It works for me. And make sure you have the > latest mmpython. > > > Dischi > > -- > Those that make the rules don't play the game! > > > ------------------------------------------------------- > 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 > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freevo-devel _______________________________________________________________________ Yahoo! Mail Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam. http://br.mail.yahoo.com/ |