[mythtv-users] MythWeb Issue after upgrade to 0.26

Erik Sejr esejr at wildroseinternet.ca
Thu Mar 21 22:44:42 UTC 2013


Hello,
I'm hoping someone in the list can help me with a MythWeb issue after an
upgrade to 0.26. Sometimes (and not all the time) when I select a filter
to view the list of recordings mythweb dumps out the following errors:

*Warning* at /var/www/html/mythweb/modules/tv/recorded.php, line 80:
!!NoTrans: gmp_add(): Unable to convert variable to GMP - wrong type!!

I was looking at the mythweb code at that location and I noticed that
its parsing though a large array ($recordings) which seems to be
essentially an array of arrays returned by the call to the backend:

$recordings = MythBackend::find()->queryProgramRows('QUERY_RECORDINGS
Unsorted');

After looking at the contents of that array for a while, I noticed it
was often incomplete, like the backend had started sending data, then
stopped which seems to result in the error above (the data being passed
into the gmp_add call was not what was expected, sometimes a string,
sometimes just null). I noted each time this occurs the following
appears in the backend logs:

2013-03-21 16:27:56.939009 E [6132/21115] MythSocketThread(80)
mythsocket.cpp:662 (WriteStringListReal) - MythSocket(2638fa0:-1):
WriteStringList: Error, called with unconnected socket.
2013-03-21 16:27:56.940256 I [6132/14013] ProcessRequest
mainserver.cpp:1429 (HandleAnnounce) - MainServer::ANN Monitor
2013-03-21 16:27:56.940261 I [6132/14013] ProcessRequest
mainserver.cpp:1431 (HandleAnnounce) - adding: <removed> as a client
(events: 2)
2013-03-21 16:27:57.095470 E [6132/9447] ProcessRequest
mainserver.cpp:1727 (SendResponse) - SendResponse: Unable to write to
client socket, as it's no longer there.

The issue is very inconsistent. For example I can select the same
recording title from the "show recordings" dropdown box 5 times. 3 times
it'll fail as above and 2 times it'll work and display the filtered list
of recordings properly. This is a recent build of 0.26-fixes from Git on
a clean (freshly installed) Fedora 18 system:

MythTV Version : v0.27-pre2-762-gb2a8b1e
MythTV Branch : fixes/0.26
Network Protocol : 77
Library API : 0.27.20130301-1
QT Version : 4.8.4
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl
using_bindings_python using_bindings_php using_frontend using_hdpvr
using_joystick_menu using_libcrypto using_libdns_sd using_libfftw3
using_libxml2 using_libudf using_lirc using_mheg using_opengl
using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2
using_x11 using_xrandr using_xv using_bindings_perl
using_bindings_python using_bindings_php using_mythtranscode
using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg
using_libass using_libxml2 using_libudf

Any thoughts/ideas? Perhaps an issue with PHP/Apache?

Thaanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130321/48175bc6/attachment.html>


More information about the mythtv-users mailing list