Meneer Jansen wrote:
>
>
> 2009/6/1 Duncan Webb <[email protected] <mailto:[email protected]>>
>
> /dev/hdc /mnt/dvd auto noauto,ro,nosuid 0 0
>
> The ro is important for a DVD, noauto stops the drive being mounted
> at boot.
>
> In local_conf.py keep
> ROM_DRIVES_AUTOFS = False
> ROM_DRIVES = [ ('/mnt/dvd', '/dev/hdc', 'DVD') ]
>
> With freevo not running and a DVD in the drive try:
> ls /mnt/dvd
> should show nothing
> mount /mnt/dvd
> should show AUDIO_TS and VIDEO_TS
> umount /mnt/dvd
> eject /mnt/dvd
>
> Then start freevo and see what happens.
>
> Duncan
>
> PS you should keep this on the list in case someone else is having the
> same problem or has solved the same problem.
>
>
> Uninstalled automount, did what you suggested (exept I added "user" to
> the cdrom entry in fstab, else no mounting as non-root). But the same
> prob. Cannot eject from within Freevo etc. Keep seeing video_ts folder.
> May my Python installation may be corrupt? Relavant commandline output:
>
> [CODE]
> Please run 'freevo cache'
>
> version: 1.9.0
> plugin mixer deactivated, reason: Couldn't open mixer PCM
> Freevo 1.9.0 ready
> WARNING: mounting '/mnt/dvd': mount: /dev/hdc already mounted or
> /mnt/dvd busy
This will prevent you from ejecting the disk as it is already mounted.
> mount: according to mtab, /dev/hdc is already mounted on /mnt/dvd
>
> Exception in thread Thread-2:
> Traceback (most recent call last):
> File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
> self.run()
> File "/usr/lib/python2.5/site-packages/freevo/plugins/rom_drives.py",
> line 917, in run
> self.check_all()
> File "/usr/lib/python2.5/site-packages/freevo/plugins/rom_drives.py",
> line 882, in check_all
> self.identify(media)
> File "/usr/lib/python2.5/site-packages/freevo/plugins/rom_drives.py",
> line 718, in identify
> util.mount(media.mountdir, force=True)
> File "/usr/lib/python2.5/site-packages/freevo/util/fileops.py", line
> 385, in mount
> from util.misc import print_upper_execution_stack
> ImportError: cannot import name print_upper_execution_stack
>
> WARNING: Drive was mounted out of rom_drives.py: /mnt/dvd
> WARNING: Inconsistency regarding the mount status of: /mnt/dvd
> WARNING: opening '/dev/hdc' failed: [Errno 5] Input/output error"
> WARNING: Inconsistency regarding the mount status of: /mnt/dvd
> WARNING: opening '/dev/hdc' failed: [Errno 5] Input/output error"
> Freevo 1.9.0 exited
> [/CODE]
>
> Is the "Errno 5" from Python, Freevo or Linux? I am considering to
> downgrade to Freevo 1.8.3 or earlier (mounting DVD's worked in 1.8.3,
> exept for the IMDB part).
Error 5 is a Linux error, google for "debian [Errno 5] Input/output
error". Take a look at the output from dmesg.
I would guess that this is a disk/driver problem. But could be a RAM
problem, see:
http://www.linuxquestions.org/questions/linux-newbie-8/errno-5-inputoutput-error-639355/
You can fix the error "ImportError: cannot import name
print_upper_execution_stack", which you should never really hit.
by applying this patch:
Index: src/util/fileops.py
===================================================================
--- src/util/fileops.py (revision 11576)
+++ src/util/fileops.py (working copy)
@@ -382,8 +382,7 @@
so, se = p.communicate()
if rc in (1,32,):
_debug_('mounting %r: %s' % (dir, se), DWARNING)
- from util.misc import print_upper_execution_stack
- print_upper_execution_stack()
+ traceback.print_stack()
if os.path.ismount(dir) and not dir in mounted_dirs:
mounted_dirs.append(dir)
if force and not dir in mounted_dirs:
It is a hangover that should have been removed, :-(
Index: src/util/fileops.py
===================================================================
--- src/util/fileops.py (revision 11576)
+++ src/util/fileops.py (working copy)
@@ -382,8 +382,7 @@
so, se = p.communicate()
if rc in (1,32,):
_debug_('mounting %r: %s' % (dir, se), DWARNING)
- from util.misc import print_upper_execution_stack
- print_upper_execution_stack()
+ traceback.print_stack()
if os.path.ismount(dir) and not dir in mounted_dirs:
mounted_dirs.append(dir)
if force and not dir in mounted_dirs:
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users