[mythtv-commits] Ticket #4022: MythArchive fails to eject the DVD drive after burn, then fails

MythTV mythtv at cvs.mythtv.org
Thu Sep 27 18:22:28 UTC 2007


#4022: MythArchive fails to eject the DVD drive after burn, then fails
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |       Owner:  paulh     
     Type:  defect       |      Status:  new       
 Priority:  minor        |   Milestone:  unknown   
Component:  mytharchive  |     Version:  0.20-fixes
 Severity:  medium       |     Mlocked:  0         
-------------------------+--------------------------------------------------
 Using Fedora 7 and the stable RPMS from ATrpms.net, I get the following
 error at the end of the MythArchive process:

 Traceback (most recent call last):
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3642, in
 <module>
     processJob(job)
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3482, in
 processJob
     BurnDVDISO()
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1536, in
 BurnDVDISO
     r = ioctl(f,CDROMEJECT, 0)
 IOError: [Errno 5] Input/output error


 The burn is fine, but this error causes the archive process to fail. If I
 comment out the following starting at line 1534 in mythburn.py:

     # eject the burned disc
     f = os.open(dvddrivepath, os.O_RDONLY | os.O_NONBLOCK)
     r = ioctl(f,CDROMEJECT, 0)
     os.close(f)

 the process finishes as expected.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4022>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list