Hello......... always the same problem... when inserting a dvd-cd with files 
and folders, it creeeeps.....

Mainlog detects:

  File "/usr/lib/python2.4/site-packages/freevo/util/fileops.py", line 118, in 
freespace
    s = os.statvfs(path)
OSError: [Errno 2] No existe el fichero ó directorio: '/media/cdrom0/Tias 
buenisimas'

In English, is something like OSError (operating system?) the file or directory 
does not exists, so the function freespace at 
/usr/lib/python2.4/site-packages/freevo/util/fileops.py just crash.

It is allright freevo is autodetecting files and folders, and trying to show 
and play, but this functions at fileops.py crash, because it is really than 
cdrom is not really mounted. It is said that freevo auto-"mounts" the media to 
play, and it is not necessary to mount it manually or automatically......... 
but the folder /media/cdrom0 is empty when freevo crash, so althought freevo 
detects '/media/cdrom0/Tias buenisimas', that directory doesn´t exists really, 
since media is not really mounted at OS.... 

I think that is the problem..... I need '/media/cdrom0/' gets mounted by OS 
automatically before freevo "automounts" itself... isn´t it?

Hello people.... simple question...... when freevo "automounts" media cd or dvd 
with files and folders for you, ......... can you simply have a look at those 
files and folders with a shell??? it is really mounted at mount directory, or 
it is something like virtual????

I have pretty hundred of dvd and cds with avi movies, I cannot use in my 
freevo-ubuntu edgy machine.

Thanks.



Duncan Webb escribió (Sat, 24 Mar 2007 15:30:29 +0100):
> Gino wrote:
>> Hello Duncan:
>>
>> At first, THANKS so much for answering me... you are always
>> trying to help people, and I am delighted....
>>
>> Well.. have a look at:
>>
>>[EMAIL PROTECTED]:~# cat /etc/fstab
>> ...
>> blablabla
>> ...
>> /dev/hdb        /media/cdrom0   udf,iso9660 user,noauto     0
>>   0
>>
> I use this:
> /dev/hdc       /mnt/dvd      auto     ro,noauto,utf8         0
> 0 and ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ]
>
> DVD playback is not working, for me, at the moment, libdvdread is
> complaining about not being able to read non copy protected DVDs
> and is showing me the folders of copy protected DVDs. May be a
> change to something else is causing this.
>
> Having said that, I've committed some changes into svn that may fix
> your problem.
>
> Duncan
>
>>
>>[EMAIL PROTECTED]:~# grep "hdb" /home/freevo/.freevo/local_conf.py
>> ROM_DRIVES = [ ('/media/cdrom0', '/dev/hdb', 'DVD') ]
>>
>> It is allright, since I can, by example, watch DVD movies without
>> problems....... just enter dvd and play even without pressing
>> buttons............ but next, I eject DVD, introduce single Data
>> CD with few videos, and crashed............... at the end, I can
>> see /media/cdrom0 was not mounted at all.... just mount it, exit
>> directory, enter directory, and media was there....
>>
>> The log:
>>
>>[EMAIL PROTECTED]:/var/log/freevo# tf main-1003.log ----------------
>> ---------------------------------------------------------------
>> Freevo (1.7.0) start at Tue Mar 20 19:27:17 2007 -----------------
>> --------------------------------------------------------------
>> config.py (519): Logging to /var/log/freevo/main-1003.log Error:
>> VIDEO_SHOW_DATA_DIR not found config.py (903): Using 'UTF-8'
>> encoding osd.py (571): Setting fullscreen mode to 1
>> main.py (210): load basic skin settings: crystal __init__.py
>> (216): Building the xml hash database... __init__.py (248): done
>>
>> ------------------------------------------------------------------
>> ----------------------[HERE I INTRODUCE DVD MOVIE!!!!!]
>>
>> xine.py (174): Xine.play(): Starting cmd=['--prio=-20',
>> '/usr/bin/xine', '--hide-gui', '-pq', '-g', '-B', '--geometry',
>> '1360x768+0+0', '--no-splash', '--stdctl', '-V', 'xv', '-A',
>> 'alsa', '--no-lirc', "--post='pp:quality=10;expand'",
>> u'dvd:///dev/hdb/']
>> registrando proceso hijo en "/var/log/freevo/xine-stdout.log"
>> registrando proceso hijo en "/var/log/freevo/xine-stderr.log"
>> self.t1.isAlive()=True, self.t2.isAlive()=True
>> ChildApp.__init__(), pid=16836, app=/usr/bin/xine --hide-gui -pq -
>> g -B --geometry 1360x768+0+0 --no-splash --stdctl -V xv -A alsa --
>> no-lirc --post='pp:quality=10;expand' dvd:///dev/hdb/, poll=-1
>> childapp.py (396): sending exit command to app "'quit\n'"
>> bookmarker.py (124): auto-bookmark not supported for this item
>>
>> ------------------------------------------------------------------
>> ----------------------[HERE I EJECT DVD MOVIE AND INTRODUCED DATA
>> CD!!!!!]
>>
>> Traceback (most recent call last):
>> File "/usr/lib/python2.4/site-packages/freevo/main.py", line 285,
>> in eventhandler app.eventhandler(event)
>> File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 743,
>> in eventhandler if p.eventhandler(event=event, menuw=self): File
>> "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py",
>> line 172, in eventhandler media.item.actions()[0][0](menuw=menuw)
>> File "/usr/lib/python2.4/site-packages/freevo/directory.py", line
>> 472, in cwd self.check_password_and_build(arg=None, menuw=menuw)
>> File "/usr/lib/python2.4/site-packages/freevo/directory.py", line
>> 527, in check_password_and_build self.build(arg=arg, menuw=menuw)
>> File "/usr/lib/python2.4/site-packages/freevo/directory.py", line
>> 780, in build menuw.pushmenu(item_menu)
>> File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 378,
>> in pushmenu self.refresh()
>> File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 406,
>> in refresh skin.draw('menu', self, self.menustack[-1])
>> File "/usr/lib/python2.4/site-
>> packages/freevo/skins/main/main.py", line 526, in draw
>> a.draw(settings, object, menu, style, type, self.force_redraw)
>> File "/usr/lib/python2.4/site-
>> packages/freevo/skins/main/area.py", line 194, in draw
>> self.update_content() File "/usr/lib/python2.4/site-
>> packages/freevo/skins/main/default_areas.py", line 179, in
>> update_content
>> p.draw((self.widget_type, self.menuw), self) File
>> "/usr/lib/python2.4/site-packages/freevo/plugins/buttonbar.py",
>> line 202, in draw actions = self.get_actions(menu) File
>> "/usr/lib/python2.4/site-packages/freevo/plugins/buttonbar.py",
>> line 344, in get_actions for a in p.actions(menu.selected):
>> File "/usr/lib/python2.4/site-packages/freevo/plugins/df.py",
>> line 57, in actions freespace = util.freespace(item.dir)
>> File "/usr/lib/python2.4/site-packages/freevo/util/fileops.py",
>> line 118, in freespace s = os.statvfs(path) OSError: [Errno 2] No
>> existe el fichero ó directorio: '/media/cdrom0/The Gathering -
>> Black light district vids'
>>
>>
>> ------------------------------------------------------------------
>> ----------------------[HERE I HAVE A LOOK TO SEE IF CDROM IS
>> MOUNTED OR NOT!!!!!]
>>
>>[EMAIL PROTECTED]:/var/log/freevo# cd /media/cdrom0/
>>[EMAIL PROTECTED]:/media/cdrom0# ll total 8,0K drwxr-xr-x 2 root
>> root 4,0K 2007-02-03 01:06 . drwxr-xr-x 3 root root 4,0K 2006-10-
>> 25 15:26 ..
>>
>> ------------------------------------------------------------------
>> ----------------------[HERE I MOUNT CDROM TO TEST!!!!!]
>>
>>[EMAIL PROTECTED]:/media/cdrom0# mount /dev/hdb /media/cdrom0
>> mount: dispositivo de bloques /dev/hdb está protegido contra
>> escritura; se monta como sólo lectura
>>[EMAIL PROTECTED]:/media/cdrom0# cd .. [EMAIL PROTECTED]:/media# cd
>> cdrom0 [EMAIL PROTECTED]:/media/cdrom0# ll total 432M dr-xr-xr-x 1
>> root root 2,0K 2004-03-23 19:10 . drwxr-xr-x 3 root root 4,0K
>> 2006-10-25 15:26 ..
>> -r-xr-xr-x 1 root root 186M 2004-03-11 04:49 Black Eyed Peas -
>> Shut Up.avi -r-xr-xr-x 1 root root  29M 2004-01-28 04:31
>> Britney.Spears.-.Toxic.MUSIC.VIDEO.(Shared.By.Luca).avi
>> -r-xr-xr-x 1 root root  55M 2004-02-11 01:40 Jewel -
>> Intuition(Zone).mpg -r-xr-xr-x 1 root root  57M 2004-02-11 20:35
>> Jewel - Stand.m1v dr-xr-xr-x 1 root root 2,0K 2004-02-25 05:16
>> The Gathering - Black light district vids -r-xr-xr-x 1 root root
>> 106M 2004-03-12 08:03 U2 - Lemon.mpg
>>
>> In cronological order.......
>>
>> Thanks so much.. I don´t know what to do... I suppose Freevo to
>> support data cds or dvds as well as dvd movies............ and.
>> mmmmm.... I think automount is not enabled at fstab.
>>
>>
>> Duncan Webb escribió (Tue, 20 Mar 2007 17:40:47 +0100):
>>
>>> Gino wrote:
>>>> Hello....
>>>>
>>>> Just a question.. when I introduce in my freevo box 1,7
>>>> final, an CD or DVD created with Nero, by example, with few
>>>> folders and/or few movies, Freevo crashes........... doesn´t
>>>> matter if CD or DVD.... I tried twice.
>>>>
>>>> No matter if I introduce a DVD movie, which is currently
>>>> played perfect!
>>>>
>>>> - Introduce cd or dvd
>>>>
>>>> - Freevo starts to scan the folders and files, and then
>>>> crashes.. I must exit, because it´s a bucle of errors.....
>>>>
>>>> Freevo can manage this type of data CDs or DVDs?
>>>>
>>>> The log is here:
>>>>
>>>>[EMAIL PROTECTED]:/home/freevo/.freevo# cat main-1003.log ------
>>>> ------------------------------------------------------------ -
>>>> ------------ Freevo (1.7.0) start at Mon Mar 19 21:47:26 2007
>>>> --------------------------------------------------------------
>>>> ---- ------------- WARNING: duplicate plugin activation,
>>>> ignoring: <mixer None None>
>>>>
>>> Looks like you can remove the plugin.activate for mixer. If you
>>> want to use the ossmixer then you need to
>>> plugin.remove('mixer') first.
>>>
>>>> WARNING: duplicate plugin activation, ignoring: <headlines
>>>> None None>
>>>>
>>> and headlines
>>>
>>>> WARNING: duplicate plugin activation, ignoring: <video.imdb
>>>> None None>
>>>>
>>> and imdb from you local_conf.py
>>>
>>>> config.py (519): Logging to /var/log/freevo/main-1003.log
>>>>
>>>> Error: VIDEO_SHOW_DATA_DIR not found
>>>>
>>>> config.py (903): Using 'UTF-8' encoding
>>>> osd.py (571): Setting fullscreen mode to 1
>>>> main.py (210): load basic skin settings: crystal __init__.py
>>>> (216): Building the xml hash database... __init__.py (248):
>>>> done
>>>> osd.py: Bitmap file "/ARMARIO/almacen/mera_unmount" doesn't
>>>> exist!
>>>>
>>> This looks a bit odd mera_unmount, where is this coming from?
>>>
>>>> Traceback (most recent call last):
>>>> File "/usr/lib/python2.4/site-packages/freevo/main.py", line
>>>> 285, in eventhandler app.eventhandler(event)
>>>> File "/usr/lib/python2.4/site-packages/freevo/menu.py", line
>>>> 673, in eventhandler action( arg=arg, menuw=self ) File
>>>> "/usr/lib/python2.4/site-packages/freevo/directory.py", line
>>>> 472, in cwd self.check_password_and_build(arg=None,
>>>> menuw=menuw) File "/usr/lib/python2.4/site-
>>>> packages/freevo/directory.py", line 527, in
>>>> check_password_and_build self.build(arg=arg, menuw=menuw)
>>>> File "/usr/lib/python2.4/site-packages/freevo/directory.py",
>>>> line 780, in build menuw.pushmenu(item_menu)
>>>> File "/usr/lib/python2.4/site-packages/freevo/menu.py", line
>>>> 378, in pushmenu self.refresh()
>>>> File "/usr/lib/python2.4/site-packages/freevo/menu.py", line
>>>> 406, in refresh skin.draw('menu', self, self.menustack[-1])
>>>> File "/usr/lib/python2.4/site-
>>>> packages/freevo/skins/main/main.py", line 526, in draw
>>>> a.draw(settings, object, menu, style, type,
>>>> self.force_redraw) File "/usr/lib/python2.4/site-
>>>> packages/freevo/skins/main/area.py", line 194, in draw
>>>> self.update_content() File "/usr/lib/python2.4/site-
>>>> packages/freevo/skins/main/default_areas.py", line 179, in
>>>> update_content p.draw((self.widget_type, self.menuw), self)
>>>> File "/usr/lib/python2.4/site-
>>>> packages/freevo/plugins/buttonbar.py", line 202, in draw
>>>> actions = self.get_actions(menu) File
>>>> "/usr/lib/python2.4/site-
>>>> packages/freevo/plugins/buttonbar.py", line 344, in
>>>> get_actions for a in p.actions(menu.selected):
>>>> File "/usr/lib/python2.4/site-packages/freevo/plugins/df.py",
>>>> line 57, in actions freespace = util.freespace(item.dir) File
>>>> "/usr/lib/python2.4/site-packages/freevo/util/fileops.py",
>>>> line 118, in freespace s = os.statvfs(path)
>>>>
>>>> OSError: [Errno 2] No existe el fichero ó directorio:
>>>> '/media/cdrom0/The Gathering - Black light district vids'
>>>>
>>> So Freevo can't find "/media/cdrom0/The Gathering - Black light
>>> district vids"; what happens when you do a: ls /media/cdrom0/
>>> do you see the disk?
>>>
>>> What have you set in local_conf.py for ROM_DRIVES? It should be
>>> something like:
>>> ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ]
>>>
>>> You don't need to use automount as freevo does this for you.
>>>
>>> Duncan
>>>
>>> PS HTML mail is a bit crap in a mailing list.
>>
>>
>> ------------------------------------------------------------------
>> ------- Take Surveys. Earn Cash. Influence the Future of IT Join
>> SourceForge.net's Techsay panel and you'll get the chance to
>> share your opinions on IT & business topics through brief surveys-
>> and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
>> DEV _______________________________________________ Freevo-users
>> mailing list [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freevo-users




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to