Andreas Dick wrote:
> Am Dienstag, 27. Mai 2008 22.47:35 schrieb Duncan Webb:
>> Andreas Dick wrote:
>>> hei all
>>> I tried an old foto-CD (from a foto lab). I can navigate to the pictures
>>> and see the thumbs, but if I try to show it, it shows me that the picture
>>> do not exist...
>>> freevo is 1.8.0, interesting log snippets are:
>>> ...
>>> 2008-05-25 21:39:45,682 INFO     No Type found by Extension. Trying all
>>> 2008-05-25 21:39:45,757 INFO     Invalid header
>>> 2008-05-25 21:39:45,811 INFO     trying mpeg-pes scan
>>> 2008-05-25 21:39:45,840 INFO     No Type found by Extension. Trying all
>>> 2008-05-25 21:39:45,880 INFO     Invalid header
>>> 2008-05-25 21:39:45,881 INFO     trying mpeg-pes scan
>>> 2008-05-25 21:39:56,119 INFO     No Type found by Extension. Trying all
>>> 2008-05-25 21:39:56,120 INFO     Invalid header
>>> 2008-05-25 21:39:56,121 INFO     trying mpeg-pes scan
>>> 2008-05-25 21:40:00,493 INFO     SEGMENT: 0xffe0, len=16
>>> 2008-05-25 21:40:00,673 INFO     SEGMENT: 0xffe0, len=16
>>> 2008-05-25 21:40:00,761 INFO     SEGMENT: 0xffe0, len=16
>>> 2008-05-25 21:40:00,852 INFO     SEGMENT: 0xffe0, len=16
>>> 2008-05-25 21:40:00,940 INFO     SEGMENT: 0xffe0, len=16
>>> 2008-05-25 21:40:01,037 INFO     SEGMENT: 0xffe0, len=16
>>> 2008-05-25 21:40:01,117 INFO     SEGMENT: 0xffe0, len=16
>>> ...
>>> 2008-05-25 21:40:06,621 WARNING  osd.py (648): Bitmap
>>> file "/usr/share/freevo/images/drom/pictures/001325/small/0002-51.jpg"
>>> doesn't exist!
>>> 2008-05-25 21:40:06,634 WARNING  osd.py (648): Bitmap
>>> file "/usr/share/freevo/images/drom/pictures/001325/small/0002-52.jpg"
>>> doesn't exist!
>>>
>>> why is it looking in /usr/share/freevo/images/ ???
>>> and why not in /usr/share/freevo/images/cdrom/ (do not exist anyway)
>> This may be a problem with kaa.metadata not identifying the image
>> correctly. Will you try:
>>
>> mminfo /usr/share/freevo/images/drom/pictures/001325/small/0002-52.jpg
> this is path is very strange!  /usr/share/freevo/images/drom do not exist at 
> all...

I seem to remember that this is caused by a bad path join. I'm guessing 
that freevo is stripping off 8 characters, could be trying to remove 
something line 'thumb:// with a string[8:] some where in the code, doing 
a grep "grep -r '\[8:' src/" reveals that the problem could be in 
src/osd.py or src/video/videoitem.py.

I would guess that osd module is to blame as this deals with images. Try 
adding some prints before the lines that contain [8:] and see what is 
coming out. Then it could be changes to something like:

| if url.find('://') >= 0:
|   filename = url.split('://')[1]

>> The path does look wrong if this is a cdrom. If this is a CDROM what are
>> the settings for the ROM_DRIVES.
> ROM_DRIVES = [ ('/media/cdrom', '/dev/cdrom', 'CD/DVD') ]
> 
> but now I found that the cdrom gets unmounted just before showing the picture 
> in fullsize... showing the error that the picture does not exist! with the 
> BACK button it is possible to navigate the CD after waiting the normal freevo 
> mounting process...
> 
> I use 1.8.0 and I think some other people have the same problem, where could 
> I 
> start to solve it?

The umount may be caused by the image not being found.

HTH
Duncan

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to