[mythtv-commits] Ticket #10535: mythburn.py crash
MythTV
noreply at mythtv.org
Sun Apr 1 08:25:01 UTC 2012
#10535: mythburn.py crash
---------------------------+--------------------------------------
Reporter: t.brackertz@… | Type: Patch - Bug Fix
Status: new | Priority: minor
Milestone: unknown | Component: Plugin - MythArchive
Version: Unspecified | Severity: medium
Keywords: | Ticket locked: 0
---------------------------+--------------------------------------
Burn a DVD using mytharchive:
In the very end of the process the script tries to eject the burned DVD.
If this is impossible it crashes with the following backtrace:
{{{
Failed to eject the disc!
chmod: Beim Setzen der Zugriffsrechte für „/mythpuffer/mytharchive/“: Die
Operation ist nicht erlaubt
chmod: Beim Setzen der Zugriffsrechte für „/mythpuffer/mytharchive/logs“:
Die Operation ist nicht erlaubt
chmod: Beim Setzen der Zugriffsrechte für
„/mythpuffer/mytharchive/logs/mythburn.log“: Die Operation ist nicht
erlaubt
chmod: Beim Setzen der Zugriffsrechte für
„/mythpuffer/mytharchive/config“: Die Operation ist nicht erlaubt
chmod: Beim Setzen der Zugriffsrechte für
„/mythpuffer/mytharchive/config/mydata.xml“: Die Operation ist nicht
erlaubt
chmod: Beim Setzen der Zugriffsrechte für „/mythpuffer/mytharchive/work“:
Die Operation ist nicht erlaubt
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5182, in
main
processJob(job)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4980, in
processJob
BurnDVDISO(title)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2335, in
BurnDVDISO
tray(CDROM.CDROMEJECT)
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2266, in
tray
os.close(f)
UnboundLocalError: local variable 'f' referenced before assignment
------------------------------------------------------------
}}}
The produced DVD is fine.
But the script leaves back a .lock-file which prevents the user from
burning another DVD.
Path attached.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10535>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list