[mythtv-users] length mismatch between programinfo

Rob Verduijn rob.verduijn at gmail.com
Sun Jul 4 09:26:26 UTC 2010


I've experienced the same problems on opensuse.

Things I've found :
the bug you mentioned
and this bug : http://svn.mythtv.org/trac/ticket/5963

tricks that could help :

rebuilding the seek table in your database with :
the following command (adjust for your own recordings)
mythtranscode --mpeg2 --buildindex --showprogress --chanid 1014
--starttime 20100609234500

or try :
mythcommflag --rebuild

both commands take forever to finish for all the recordings

furthermore you could try cleaning up your database with the
contributed scripts, they are included on suse I do not know if they
are also included in ubuntu. A find statement will answer this
* flush_deleted_recgroup.pl
* myth.find_orphans.pl
* optimize_mythdb.pl

my 2 cents
Rob Verduijn

2010/7/3 Curtis Porter <curtis.porter at gmail.com>:
> The myth box I put together for my brother-in-law cannot load its recording
> list.  It was originally Ubuntu 9.10, recently upgraded to Ubuntu 10.04 with
> the standard 0.23 myth packages.  It's always had this problem.  The
> frontend gives the following errors:
> length mismatch between programinfo
> 2010-07-03 13:46:51.600 PlaybackBox Error: SortedList is Empty
> 2010-07-03 13:46:51.700 PlaybackBox Error: SortedList is Empty
> After searching the list archives, I found this ticket:
> http://svn.mythtv.org/trac/ticket/7467
> Which indicates that it's caused by an issue in QT 4 when invalid bookmarks
> data is encountered.  As a workaround, I've put the following wrapper script
> in place to launch mythfrontend (username and password removed):
> #!/bin/bash
> mysql mythconverg -e "update recorded set bookmark=0;"
> mysql  mythconverg -e "update recorded set bookmark=1;"
> mysql  mythconverg -e "update recorded set bookmark=0;"
> /usr/bin/mythfrontend --service
> Obviously that's a hack, but it works to get his recordings loaded.
>  Unfortunately as soon as a recording ends, the problem recurs, and he has
> to exit mythfrontend and run the wrapper script before recordings show up
> again.
> I can reproduce this on my own frontend by port forwarding mysql and the
> mythbackend network traffic through ssh.  I built a debug 0.23-fixes
> frontend and can see that the message is coming from
> mythtv/libs/libmyth/remoteutil.cpp line 205:
>    if (numrecordings * NUMPROGRAMLINES + 1 > (int)strList.size())
>    {
>        cerr << "length mismatch between programinfo\n";
>        return 0;
>    }
> numrecordings is 51, NUMPROGRAMLINES is 47, and strList.size() is 56, so
> obviously the backend isn't sending over a complete recording list.
> A similar issue was reported here:
>  http://www.gossamer-threads.com/lists/mythtv/dev/366886
> Any suggestions on how I can further troubleshoot this?
> Thanks,
> Curtis
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list