Mytharchive fails to create DVD: IndexError

Bug #511696 reported by Antonio Lopez
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Low
Unassigned

Bug Description

Mythbuntu 9.10 amd64 (standalone MythTV BE/FE host):

When I try to create a DVD (with an animated main menu) using Mytharchive and some avi videos, after ffmpeg has succesfully completed two passes for each file, the process fails with the following error:

IndexError: list index out of range.

The bunch of videos are 2.5 GB approx. so no out of space issue here.

Kind regards
Antonio

Revision history for this message
Mario Limonciello (superm1) wrote :

Hi Antonio:
Unfortunately the developers do not have this equipment to reproduce the issue, so we need to ask you for a few things here.

1) What build of mytharchive is this? Would you mind upgrading it to the latest autobuilds build and retrying? Upstream tends to prefer fresher builds before working on issues.

2) Have you tried to isolate whether it's the animated menu type you are selecting or the files themselves? If you can do some sleuthing on your side to try to isolate the problem, it will help us reach a solution quicker.

Can you please provide the full log of your latest attempt (with auto-builds turned on) as well?

Thanks,

Changed in mythbuntu:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Antonio Lopez (amlopezalonso) wrote : Re: [Bug 511696] Re: Mytharchive fails to create DVD: IndexError

On Mon, Jan 25, 2010 at 7:54 AM, Mario Limonciello <email address hidden>wrote:

> Hi Antonio:
>

Hi Mario,

> Unfortunately the developers do not have this equipment to reproduce the
> issue, so we need to ask you for a few things here.
>
> 1) What build of mytharchive is this?

0.22.0+fixes22594-0ubuntu1

> Would you mind upgrading it to
> the latest autobuilds build and retrying? Upstream tends to prefer
> fresher builds before working on issues.
>

I will try ASAP, as I do not have network connection in my TV's place. BTW
do you mean 0.22 autobuilds or 0.23?

>
> 2) Have you tried to isolate whether it's the animated menu type you are
> selecting or the files themselves? If you can do some sleuthing on your
> side to try to isolate the problem, it will help us reach a solution
> quicker.
>

It seems selecting the simplest menu option neither works. Also, selected
files to store show strange size values (ranging from 0 MB to several
thousand TB!!!)

>
> Can you please provide the full log of your latest attempt (with auto-
> builds turned on) as well?
>

How can I get this mytharchive log? It seems none of the existing files in
/var/log/mythtv/ contains such information. Mytharchive provides this info
through mythfrontend but I cannot find where is this stored. Sure I'm
missing something, though.

Thanks,
Antonio

> Thanks,
>
>
> ** Changed in: mythbuntu
> Status: New => Incomplete
>
> ** Changed in: mythbuntu
> Importance: Undecided => Low
>
> --
> Mytharchive fails to create DVD: IndexError
> https://bugs.launchpad.net/bugs/511696
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Incomplete
>
> Bug description:
> Mythbuntu 9.10 amd64 (standalone MythTV BE/FE host):
>
> When I try to create a DVD (with an animated main menu) using Mytharchive
> and some avi videos, after ffmpeg has succesfully completed two passes for
> each file, the process fails with the following error:
>
> IndexError: list index out of range.
>
> The bunch of videos are 2.5 GB approx. so no out of space issue here.
>
> Kind regards
> Antonio
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/mythbuntu/+bug/511696/+subscribe
>

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Mythbuntu-bugs] [Bug 511696] Re: Mytharchive fails to create DVD: IndexError

>
>
> I will try ASAP, as I do not have network connection in my TV's place. BTW
> do you mean 0.22 autobuilds or 0.23?
>
> 0.22 autobuilds.

>
> It seems selecting the simplest menu option neither works. Also, selected
> files to store show strange size values (ranging from 0 MB to several
> thousand TB!!!)
>

Ok, so the best thing we should do is get a very very simple test case. Can
you upload a (redistributable) video that can reproduce along with the exact
steps and options taken to reproduce?

>
> How can I get this mytharchive log? It seems none of the existing files in
> /var/log/mythtv/ contains such information. Mytharchive provides this info
> through mythfrontend but I cannot find where is this stored. Sure I'm
> missing something, though.
>
> In the mytharchive temp directory you have chosen (usually something in
/var/lib) you'll find a logs subdirectory.

Revision history for this message
Antonio Lopez (amlopezalonso) wrote :

> In the mytharchive temp directory you have chosen (usually something in
> /var/lib) you'll find a logs subdirectory.

OK attaching log (still have not upgraded to autobuilds though but just in case).

Please see the end of the log to check the error.

I will try to reproduce the bug on a virtual machine upgraded to autobuilds.

Revision history for this message
Antonio Lopez (amlopezalonso) wrote :

Updated to mytharchive 0.22.0+fixes23230-0ubuntu0+mythbuntu3 (on a virtual machine) and the bug seems to have been fixed. I'll try to do the same on the real thing and let you know.

Revision history for this message
Antonio Lopez (amlopezalonso) wrote :

No luck after updating the real PC. I'm getting the same error appearing at the end of the previous attached log.

I took a look at the mythburn.py script about not being able to change permissions of temp directory and manually did:

chmod -R a+rw-x+X /var/lib/mytharchive/temp/

to no avail. Any idea?

Regards
Antonio

Revision history for this message
mesc (psd-csem) wrote :

Any solution yet?
I have the same error trying to make a DVD from a *.avi video file. Mytharchive works fine (after deleting .ICEauthority) for recordings.

log:
.
..
2010-02-14 21:41:52 Creating DVD XML file for dvd author (No Menus)
2010-02-14 21:41:52 Adding item 1
2010-02-14 21:41:52 aspect ratio is: 1.77778
2010-02-14 21:41:52 Fixed length chapters: 00:00:00,00:05:00,00:10:00,00:15:00,00:20:00,00:25:00,00:30:00,00:35:00,00:40:00,00:45:00,00:50:00,00:55:00,01:00:00,01:05:00,01:10:00,01:15:00,01:20:00,01:25:00,01:30:00,01:35:00,01:40:00,01:45:00,01:50:00,01:55:00,02:00:00,02:05:00,02:10:00,02:15:00,02:20:00,02:25:00
2010-02-14 21:41:52 Total size of video files, before multiplexing, is 3914 Mbytes, audio is 470 MBytes, menus are 0 MBytes.
2010-02-14 21:41:52 Need to shrink MPEG2 video files to fit onto recordable DVD, video is 215.12 MBytes too big.
2010-02-14 21:41:52 Need to scale by 1.05361914257
2010-02-14 21:41:52 tcrequant /home/mythtv/MythArchiveTemp/work/1/stream.mv2 /home/mythtv/MythArchiveTemp/work/1/video.small.m2v 1.05361914257
2010-02-14 21:49:11 Total DVD size AFTER TCREQUANT is 4371.8 MBytes
2010-02-14 21:49:11 Multiplexing MPEG stream to /home/mythtv/MythArchiveTemp/work/1/final.mpg
2010-02-14 21:49:11 Adding sync offset of 0ms
2010-02-14 21:49:11 Available streams - video and one audio stream
2010-02-14 21:49:11 Multiplex started PID=8153
2010-02-14 21:49:11 Starting dvdauthor
2010-02-14 21:56:04 Finished dvdauthor
2010-02-14 21:56:06 ------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5434, in main
    processJob(job)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5218, in processJob
    title = expandItemText(infoDOM,"%title",1,0,0,0,0)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 935, in expandItemText
    if getText( infoDOM.getElementsByTagName("coverfile")[0]) =="":
IndexError: list index out of range
2010-02-14 21:56:06 ------------------------------------------------------------

apt-cache policy mytharchive:
mytharchive:
  Installed: 0.22.0+fixes22594-0ubuntu1
  Candidate: 0.22.0+fixes22594-0ubuntu1
  Version table:
 *** 0.22.0+fixes22594-0ubuntu1 0
        500 http://ch.archive.ubuntu.com karmic/multiverse Packages
        100 /var/lib/dpkg/status

Regards Phil

Revision history for this message
Antonio Lopez (amlopezalonso) wrote :

I did not need to delete .ICEauthority but I also succeeded in generating a pair of DVD using LiveTV recordings.

When it comes to videos it depends: mytharchive seems to work fine with some avis and mpegs but not with others thus spitting this IndexError. Wondering if this got to do with some video attributes but we will have to wait the answer of some mythburn.py guru :-).

I guess nobody has dealt with this yet as it is still marked as "incomplete" in despite of the info supplied.

Regards,
Antonio

Revision history for this message
Peter Lamb (peter-baalambs) wrote :

Hi

I am getting the same error (line 935) when I attempt to burn a .AVI or .WMV file to a DVD

It works when I burn a recording although the sound was not synchronized (different problem?)

Could the problem be related to the strange file sizes being displayed

eg when adding a 3 meg WMV file it reports the file size is 128 TB

a second AVI file 350 meg reports a file size of 0KB

Both have the Encoder set to SP

While a 45 minute recording reports a file size of 1.45 GB with encoder set to none.

So is the problem with what ever reports expected file size rather then Mythburn
as recordings that show the correct final size burn but other files that do not report the correct
size will fail

Peter

Revision history for this message
Antonio Lopez (amlopezalonso) wrote :

Reported upstream. Seems to be on progress:

http://svn.mythtv.org/trac/ticket/8115

Antonio

Revision history for this message
Thomas Mashos (tgm4883) wrote :

Marking incomplete as this release isn't supported anymore. Can anyone confirm that this issue is still present on a supported Mythbuntu/MythTV release?

Revision history for this message
Antonio Lopez (amlopezalonso) wrote :

According to upstream this issue is fixed since 0.23-fixes. I did not experience it after upgrading to 0.24-fixes.

Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.