On Sun, 2004-07-11 at 12:05 +0200, Dirk Meyer wrote:
> johnm wrote:
> > Traceback (most recent call last):
> > File "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py",
> > line 391, in move_tray
> > s = ioctl(fd, CDROMCLOSETRAY)
> > IOError: [Errno 5] Input/output error
>
> [...]
>
> > device = open(device)
> > IOError: [Errno 124] Wrong medium type: '/dev/hdc'
>
> Not good. Looks like mmpython can't read the disc. I don't know why
> this happens.
>
> > if mmdata.mime == 'unknown/unknown' and not
> > metainfo.has_key('disc_num_video'):
> > AttributeError: 'NoneType' object has no attribute 'mime'
>
> Fixed. It won't crash anymore, but you won't see the disc because of
> the problem above.
>
>
> Dischi
>
> --
> A man generally has two reasons for doing a thing. One that sounds
> good, and a real one.
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
Right a quick poke around show this in the kernel log. 'kernel: cdrom:
pid 4160 must open device O_NONBLOCK!', which didn't look right. Google
gave a suggestion that I'd seen on this list before 'echo
"0" /proc/sys/dev/cdrom/check_media'. This is set to 1 by default which
I believe it should not be. Echo didn't set for some reason but vim
sorted that. Once this is set mmpython has no problems picking up the
disk. Still it's not the best solution, I'm running on Mandrake Cooker
(devel), I'll check when I can to see if this exists in Mandrake 10
Official.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users