From: SourceForge.net <no...@so...> - 2008-12-29 15:10:54
|
Bugs item #2432751, was opened at 2008-12-16 08:15 Message generated for change (Settings changed) made by duncanwebb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=2432751&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 (rel-1) >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Alexander Markelov (nordeep) Assigned to: Nobody/Anonymous (nobody) Summary: freevo cache failed Initial Comment: I have error then I try to cache my media files: #freevo cache [..skip..] creating audio metadata............................... done creating playlist metadata............................ Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/helpers/cache.py", line 583, in <module> create_metadata() File "/usr/lib/python2.5/site-packages/freevo/helpers/cache.py", line 373, in create_metadata util.extendedmeta.PlaylistParser(i) File "/usr/lib/python2.5/site-packages/freevo/util/extendedmeta.py", line 252, in __init__ songs += p.get(None, [ i ]) File "/usr/lib/python2.5/site-packages/freevo/video/__init__.py", line 131, in get if parent.media: AttributeError: 'NoneType' object has no attribute 'media' ---------------------------------------------------------------------- Comment By: Duncan Webb (duncanwebb) Date: 2008-12-24 09:11 Message: Hi Alexander, It makes sense that freevo does not handle mixed encodings well as this is a rare situation. Will you attach a sample of you m3u files as a tar file so that I can analyse the problem and fix it? Thanks ---------------------------------------------------------------------- Comment By: Alexander Markelov (nordeep) Date: 2008-12-23 11:22 Message: I have change PLAYLIST_SUFFIX = []in local_conf.py and don't have this exeption now. I think this is because I have .m3u files this varios charset encoding, it's RUSSIAN feature :) Some files name in KOI8-R charset, some in WINDOWS-1251, some in UTF-8. ---------------------------------------------------------------------- Comment By: Alexander Markelov (nordeep) Date: 2008-12-22 19:39 Message: I have set DEBUG=2 in local_conf.py But don't have more useful information. tail -n20 /var/log/freevo/cache-1013.log 22/24 /var/opt/disk6/mp3-3/Lumen/2004 - п╒я─п╦ п©я┐я┌п╦/folder.jpg 2008-12-21 23:28:49,611 WARNING fileops.py (575): Cannot cache image '/var/opt/disk6/mp3-3/Lumen/2004 - \xd0\xa2\xd1\x80\xd0\xb8 \xd0\xbf\xd1\x83\xd1\x82\xd0\xb8/folder.jpg': Could not open /var/opt/disk6/mp3-3/Lumen/2004 - п╒я─п╦ п©я┐я┌п╦/folder.jpg: 14 23/24 /var/cache/freevo/vf [...] forms/Hydroponic Garden/07 Exosphere.jpg 2008-12-21 23:28:49,627 WARNING fileops.py (575): Cannot cache image '/var/cache/freevo/vfs/var/opt/disk5/mp3-2/Carbon Based Lifeforms/Hydroponic Garden/07 Exosphere.jpg': Could not open /var/cache/freevo/vfs/var/opt/disk5/mp3-2/Carbon Based Lifeforms/Hydroponic Garden/07 Exosphere.jpg: 14 24/24 /var/opt/disk6/mp3-3 [...] п╣пЇ п╨п╬пҐя│п╣я─п╡п╟пҐя┌п╬п╡/folder.jpg 2008-12-21 23:28:49,628 WARNING fileops.py (575): Cannot cache image '/var/opt/disk6/mp3-3/Lumen/2003 - \xd0\x91\xd0\xb5\xd0\xb7 \xd0\xba\xd0\xbe\xd0\xbd\xd1\x81\xd0\xb5\xd1\x80\xd0\xb2\xd0\xb0\xd0\xbd\xd1\x82\xd0\xbe\xd0\xb2/folder.jpg': Could not open /var/opt/disk6/mp3-3/Lumen/2003 - п▒п╣пЇ п╨п╬пҐя│п╣я─п╡п╟пҐя┌п╬п╡/folder.jpg: 14 checking webserver thumbnails......................... 0 files creating audio metadata............................... done creating playlist metadata............................ Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/helpers/cache.py", line 583, in <module> create_metadata() File "/usr/lib/python2.5/site-packages/freevo/helpers/cache.py", line 373, in create_metadata util.extendedmeta.PlaylistParser(i) File "/usr/lib/python2.5/site-packages/freevo/util/extendedmeta.py", line 252, in __init__ songs += p.get(None, [ i ]) File "/usr/lib/python2.5/site-packages/freevo/video/__init__.py", line 131, in get if parent.media: AttributeError: 'NoneType' object has no attribute 'media' ---------------------------------------------------------------------- Comment By: Duncan Webb (duncanwebb) Date: 2008-12-17 17:55 Message: Hi Alexander, I can't help you with this information, there is nothing to go on. The only clue is that a .fxd file may be corrupt. What is needed is a sample of a fxd that is causing problems. I'm not sure if it will help but there is a log file created when freevo cache is run. Setting DEBUG=2 and running freevo cache may help pin point the file that is causing the crash. ---------------------------------------------------------------------- Comment By: Alexander Markelov (nordeep) Date: 2008-12-17 15:55 Message: I'm use kaa-metadata-0.7.5. #freevo cache Freevo cache Freevo will now generate a metadata cache for all your files and create thumbnails from images for faster access. Cache too old, forcing rebuild deleting old cache files from older freevo version.... deleted 0 files deleting old webserver thumbnails..................... deleted 0 files deleting old cachefiles............................... deleted 0 files deleting cache for directories not existing anymore... done deleting old entries in metainfo...................... done deleting cache files.................................. done checking mmpython cache files......................... 1817 changes 1/1817 /var/opt/iso/1 100% 2/1817 /var/opt/iso 9%libdvdread: Invalid IFO for title 5 (VTS_05_0.IFO). libdvdread: Invalid IFO for title 5 (VTS_05_0.BUP). 2/1817 /var/opt/iso 28%*** Zero check failed in ifo_read.c:2015 for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000 *** Zero check failed in ifo_read.c:2015 for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000 2/1817 /var/opt/iso 100% 3/1817 /var/opt/disk1/torrent/deep/Acronis True Image Home 11 100% 4/1817 /var/opt/disk1/torrent/deep/Brainstorm-Four Shores 100% 5/1817 /var/opt/disk1/ [...] -ROM [3rd edition.2004] (1CD&Books) 100% [..skip many files mp3, avi, photo... ] 1817/1817 /home/deep/PHOTO 100% checking thumbnails................................... 24 files 1/24 /var/cache/freevo/vfs/var/opt/iso/SERENITY.jpg [..skip..] 24/24 /var/opt/disk6/mp3-3 [...] п╣п╥ п╨п╬п╫я│п╣я─п╡п╟п╫я┌п╬п╡/folder.jpg п÷п═п∙п■пёп÷п═п∙п√п■п∙п²п≤п∙: Cannot cache image '/var/opt/disk6/mp3-3/Lumen/2003 - \xd0\x91\xd0\xb5\xd0\xb7 \xd0\xba\xd0\xbe\xd0\xbd\xd1\x81\xd0\xb5\xd1\x80\xd0\xb2\xd0\xb0\xd0\xbd\xd1\x82\xd0\xbe\xd0\xb2/folder.jpg': Could not open /var/opt/disk6/mp3-3/Lumen/2003 - п▒п╣п╥ п╨п╬п╫я│п╣я─п╡п╟п╫я┌п╬п╡/folder.jpg: 14 checking webserver thumbnails......................... 0 files creating audio metadata............................... done creating playlist metadata............................ Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/helpers/cache.py", line 583, in <module> create_metadata() File "/usr/lib/python2.5/site-packages/freevo/helpers/cache.py", line 373, in create_metadata util.extendedmeta.PlaylistParser(i) File "/usr/lib/python2.5/site-packages/freevo/util/extendedmeta.py", line 252, in __init__ songs += p.get(None, [ i ]) File "/usr/lib/python2.5/site-packages/freevo/video/__init__.py", line 131, in get if parent.media: AttributeError: 'NoneType' object has no attribute 'media' ---------------------------------------------------------------------- Comment By: Duncan Webb (duncanwebb) Date: 2008-12-16 20:14 Message: This could be caused by kaa.metadata, which version are you using. If you are using the latest version could you provide some more information about the media item that is causing the problem. If you are able add some print statements to find out which media item is causing the error. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=2432751&group_id=46652 |