"Jan Grewe" wrote:
> Here we go, DEBUG is 0, SVCD in CDROM (switched_inside) and DVD in DVDROM
> (hellfest):
>
> /usr/share/freevo/data/disc/metadata/2002072318450000SW1TCHED_INSIDE.freevo
> no
> {}
> /usr/share/freevo/data/disc/metadata/2003061716411800HELLFEST2003_DVD.freevo
> no
> {}
> Exception in thread Thread-2:
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
>     self.run()
>   File "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py", line
> 782, in run
>     self.check_all()
>   File "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py", line
> 742, in check_all
>     self.identify(media)
>   File "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py", line
> 492, in identify
>     disc_info = util.mediainfo.disc_info(media)
>   File "/usr/lib/python2.3/site-packages/freevo/util/mediainfo.py", line
> 674, in disc_info
>     if mmdata.mime == 'unknown/unknown' and not
> metainfo.has_key('disc_num_video'):
> AttributeError: 'NoneType' object has no attribute 'mime'

Arg, I should read better. mmdata is the problem, not metainfo. Above
the stuff from the last debug changes:

    if os.path.isfile(cachefile):
        mmdata = util.read_pickle(cachefile)
    else:
        mmdata = mmpython.parse(media.devicename)
        util.save_pickle(mmdata, cachefile)


to

    print cachefile
    if os.path.isfile(cachefile):
        print 'yes'
        mmdata = util.read_pickle(cachefile)
    else:
        print 'no'
        mmdata = mmpython.parse(media.devicename)
        util.save_pickle(mmdata, cachefile)
    print mmdata


It looks like the mmpython cache file is broken. 


Dischi

-- 
Take care to get what you like, otherwise you will be forced to like
what you get.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to