[mythtv] Still problems with length mismatch on Qt4

Kevin Kuphal kkuphal at gmail.com
Tue Jul 22 07:56:00 UTC 2008


I decided to try again to upgrade to QT4 on my systems after moving from FC6
to CentOS5.  But yet I still have a problem between the frontend and backend
with a length mismatch when populating the Watch Recordings:

backend when frontend connects:

2008-07-22 02:35:40.944 adding: frontend as a client (events: 1)
2008-07-22 02:35:40.944 write -> 45 2       OK
2008-07-22 02:35:40.945 read  <- 44 21      QUERY_RECORDINGS Play
2008-07-22 02:35:41.160 write -> 44 1321    312[]:[]Friends[]:[]The One
Where Joey Speaks French[]:[]Monica a...
backend when mythweb connects:

2008-07-22 02:36:47.212 adding: mythtv as a client (events: 0)
2008-07-22 02:36:47.213 write -> 44 2       OK
2008-07-22 02:36:47.778 read  <- 44 19      QUERY_GETALLPENDING
2008-07-22 02:36:47.841 write -> 44 244427
0[]:[]463[]:[]WordWorld[]:[]Dog's Camping Adventure; V Is for Vac...
2008-07-22 02:36:49.131 read  <- 44 23      QUERY_RECORDINGS Delete
2008-07-22 02:36:49.352 write -> 44 183541  312[]:[]Friends[]:[]The One
Hundredth[]:[]Joey suddenly becomes i...

frontend logs (viewing a single filtered group)

2008-07-22 02:35:40.938 write -> 45 22      ANN Monitor frontend 1
2008-07-22 02:35:40.939 read  <- 45 2       OK
2008-07-22 02:35:40.939 write -> 46 21      QUERY_RECORDINGS Play
2008-07-22 02:35:41.156 read  <- 46 1321    312[]:[]Friends[]:[]The One
Where Joey Speaks French[]:[]Monica a...

and backend in the Delete section with all reocrdings:

2008-07-22 02:25:59.777 read  <- 44 23      QUERY_RECORDINGS Delete
2008-07-22 02:25:59.991 write -> 44 183541  312[]:[]Friends[]:[]The One
Hundredth[]:[]Joey suddenly becomes i...

Comparing the last with the mythweb example, they both look the same, but
this test from remoteutil.cpp:

        if (numrecordings * NUMPROGRAMLINES + 1 > (int)strList.size())
        {
            cerr << "length mismatch between programinfo\n";
            return 0;
        }
fails on the frontend.  I saw this behavior a long time past (
http://mythtv.org/pipermail/mythtv-dev/2008-April/061674.html) and thought
it might just be my FC5 setup but I still have it.  The frontend logs with
the filtered group troubles me because it says there are 312 recordings but
the size is only 1321.  1321 would be appropriate for the 23 recordings (23
* 46 = 1058) but with the 312, that seems wrong.

I think this goes back to my original debugging of query.next() failing in
HandleQueryRecordings, but then why is it not failing for mythweb?

I could really use some help here...

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080722/eb945b1a/attachment.htm 


More information about the mythtv-dev mailing list