Opened 12 years ago
Closed 11 years ago
Last modified 11 years ago
#10758 closed Patch - Bug Fix (fixed)
[PATCH] Mytharchive: Catch StopIteration exception in mythburn.py
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | Plugin - MythArchive | Version: | 0.25-fixes |
Severity: | medium | Keywords: | StopIteration exception |
Cc: | Ticket locked: | no |
Description
If a DVD is created from a single mpeg video then mythburn.py attempts to transcode the file to eliminate errors. However, runMythtranscode calls DB.searchRecorded to obtain the cutlist with an invalid chanid and starttime which results in a StopIteration? exception.
This patch catches the exception and returns an empty cutlist.
NB After applying this patch further errors are encountered later on in mythburn.py when running mplex, which reports that the file produced by mythreplex is unreadable, mythburn.log attached
Attachments (2)
Change History (5)
Changed 12 years ago by
Attachment: | mythburn.log added |
---|
Changed 12 years ago by
Attachment: | 0001-Mytharchive-Catch-StopIteration-exception-in-mythbur.patch added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
Owner: | set to Lawrence Rust <lvr@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 11 years ago by
Milestone: | unknown → 0.27 |
---|
Note: See
TracTickets for help on using
tickets.
mythburn.log shows that mythtranscode failed with many stream discontinuities, probably soon after being called. The patch looks as if it's doing something worthwhile, but IMHO no-one should spend time trying to 'solve' the other problems by making changes within MythArchive?.