I was able to run mythfrontend-0.18.1 and talk to backend-0.18 on the same machine without installing it (adding lib paths in /etc/ld.so.conf and running ldconfig). Since the version numbers are so close to each other, nothing in the database has been changed.
I'm able to get all the network:write printfs in the logfile. I think I'm doing something similar in the python script. But something may be missing or out of order. Here is a sample log of write calls from the frontend. write->9 21 MYTH_PROTO_VERSION 15: write->9 23 ANN Playback mythtvbe 0: write->9 36 QUERY_IS_ACTIVE_BACKEND[]:[]mythtvbe: write->9 21 MYTH_PROTO_VERSION 15: write->9 23 ANN Playback mythtvbe 0: write->9 29 GET_NEXT_FREE_RECORDER[]:[]-1: write->12 21 MYTH_PROTO_VERSION 15: write->12 23 ANN Playback mythtvbe 0: write->12 44 QUERY_RECORDER 1[]:[]SETUP_RING_BUFFER[]:[]0: write->13 23 ANN Playback mythtvbe 0: write->14 25 ANN RingBuffer mythtvbe 1: write->12 33 QUERY_RECORDER 1[]:[]SPAWN_LIVETV: write->12 37 QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 66 QUERY_RECORDER 1[]:[]SEEK_RINGBUF[]:[]0[]:[]0[]:[]0[]:[]0[]:[]2048: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 68 QUERY_RECORDER 1[]:[]SEEK_RINGBUF[]:[]0[]:[]0[]:[]0[]:[]0[]:[]393216: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 39 QUERY_RECORDER 1[]:[]GET_FRAMES_WRITTEN: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 51 QUERY_RECORDER 1[]:[]FILL_POSITION_MAP[]:[]0[]:[]61: write->12 33 QUERY_RECORDER 1[]:[]IS_RECORDING: write->12 33 QUERY_RECORDER 1[]:[]IS_RECORDING: write->12 34 QUERY_RECORDER 1[]:[]GET_FRAMERATE: write->12 35 QUERY_RECORDER 1[]:[]GET_INPUT_NAME: write->12 35 QUERY_RECORDER 1[]:[]FRONTEND_READY: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 39 QUERY_RECORDER 1[]:[]GET_FRAMES_WRITTEN: write->12 47 QUERY_RECORDER 1[]:[]GET_FREE_SPACE[]:[]0[]:[]0: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 26 QUERY_RECORDER 1[]:[]PAUSE: write->12 41 QUERY_RECORDER 1[]:[]CHANGE_CHANNEL[]:[]1: write->12 37 QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO: write->12 37 QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 39 QUERY_RECORDER 1[]:[]GET_FRAMES_WRITTEN: write->12 53 QUERY_RECORDER 1[]:[]GET_FREE_SPACE[]:[]0[]:[]1114112: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 42 QUERY_RECORDER 1[]:[]CHECK_CHANNEL[]:[]5_1: write->12 26 QUERY_RECORDER 1[]:[]PAUSE: write->12 40 QUERY_RECORDER 1[]:[]SET_CHANNEL[]:[]5_1: write->12 37 QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO: write->12 37 QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 39 QUERY_RECORDER 1[]:[]GET_FRAMES_WRITTEN: write->12 47 QUERY_RECORDER 1[]:[]GET_FREE_SPACE[]:[]0[]:[]0: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->13 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]128000: write->12 32 QUERY_RECORDER 1[]:[]STOP_LIVETV: write->13 33 QUERY_RECORDER 1[]:[]DONE_RINGBUF: write->9 36 QUERY_IS_ACTIVE_BACKEND[]:[]mythtvbe: On 5/26/05, Mudit Wahal <[EMAIL PROTECTED]> wrote: > Issac, > > The 0.18.1 binary is linked with all 0.18.1.so libraries. I've added > the paths where the new libraries are present (in the /etc/ld.so.conf) > file. Before I did that mythfrontend.0.18.1 was complaining about > libmythtv.0.18.1.so not found. After the ld.so.conf change and running > ldconfig, mythfrontend.0.18.1 no longer complains and starts fine. > > ----- in my /etc/ld.so.conf ---- > /myth/packages/mythtv-0.18.1/libs/libmyth > /myth/packages/mythtv-0.18.1/libs/libavformat > /myth/packages/mythtv-0.18.1/libs/libavcodec > /myth/packages/mythtv-0.18.1/libs/libmythtv > /myth/packages/mythtv-0.18.1/filters > --------------------------------------- > > I'm only interested in watching Live TV and changing channel/volume. > The new 0.18.1 binary runs fine. Unfortunately I'm at work so can't > watch live TV via vnc :( Will have to continue this little experiment > after I get back home. Right now if I try to watch liveTV, I'm getting > some xv error messages etc in the logfile, which is understandable as > there is no graphics device connected on the vnc. Or it may be just a > configuration issue at the build time (like xv directory not defined > etc). > > -- current messages in frontend log file ----- > > 2005-05-26 13:28:39.995 New DB connection, total: 1 > Total desktop width=640, height=480, numscreens=1 > 2005-05-26 13:28:39.999 Using screen 0, 640x480 at 0,0 > 2005-05-26 13:28:40.001 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org > 2005-05-26 13:28:40.002 Enabled verbose msgs : important general > Xlib: extension "RANDR" missing on display ":1.0". > DisplaResX: Unable to XRRgetScreenInfo > Xlib: extension "RANDR" missing on display ":1.0". > DisplaResX: Unable to XRRgetScreenInfo > testdir 1: /root/.mythtv/themes/blue > testdir 2: /usr/local/share/mythtv/themes/blue > testdir 1: /root/.mythtv/themes/blue > testdir 2: /usr/local/share/mythtv/themes/blue > 2005-05-26 13:28:40.117 Switching to square mode (blue) > testdir 1: /root/.mythtv/themes/Default > testdir 2: /usr/local/share/mythtv/themes/Default > testdir 3: ../menutest/Default > testdir 4: /usr/local/share/mythtv/ > 2005-05-26 13:28:40.501 Registering Internal as a media playback plugin. > mythtv: could not connect to socket > mythtv: No such file or directory > lirc_init failed for mythtv, see preceding messages > 2005-05-26 13:28:40.502 Joystick disabled. > 2005-05-26 13:28:48.071 New DB connection, total: 2 > 2005-05-26 13:28:48.084 Connecting to backend server: > 192.168.123.3:6543 (try 1 of 5) > 2005-05-26 13:28:48.096 Using protocol version 15 > 2005-05-26 13:28:48.142 Using protocol version 15 > adding pes stream at pid 0x41 with type 2 > adding pes stream at pid 0x44 with type 129 > 2005-05-26 13:28:49.969 Opening audio device '/dev/dsp'. > 2005-05-26 13:28:49.969 Opening OSS audio device '/dev/dsp'. > Xlib: extension "XVideo" missing on display ":1.0". > Xlib: extension "XVideo" missing on display ":1.0". > Xlib: extension "XVideo" missing on display ":1.0". > Xlib: extension "XVideo" missing on display ":1.0". > XvQueryExtension failed. > XvQueryAdaptors failed. > *** > * Couldn't find Xv support, falling back to non-Xv mode. > * MythTV performance will be much slower since color > * conversion and scaling will be done in software. > * Consider upgrading your video card or X server if > * you would like better performance. > 2005-05-26 13:28:49.982 Couldn't get the color key color, and we need it. > You likely won't get any video. > 2005-05-26 13:28:50.779 The realtime priority setting is not enabled. > 2005-05-26 13:28:50.796 FilterManager: failed to load filter > 'linearblend', no such filter exists > 2005-05-26 13:28:50.797 Couldn't load deinterlace filter linearblend > Xlib: extension "XFree86-VidModeExtension" missing on display ":1.0". > 2005-05-26 13:28:50.845 Changing from None to WatchingLiveTV > Xlib: extension "XFree86-VidModeExtension" missing on display ":1.0". > 2005-05-26 13:28:50.939 Video timing method: RTC > 2005-05-26 13:28:51.082 Non Xv mode only supports 16, 24, and 32 bpp displays > 2005-05-26 13:28:51.082 VideoOutputXv::Show() called while IsErrored istrue. > 2005-05-26 13:28:51.082 NVP: Error condition detected in videoOutput > after Show(), aborting playback. > 2005-05-26 13:28:51.082 VideoOutputXv::ProcessFrame() called while > IsErrored is true. > 2005-05-26 13:28:51.082 NVP: Error condition detected in videoOutput > before PrepareFrame(), aborting playback. > 2005-05-26 13:28:51.082 VideoOutputXv::ProcessFrame() called while > IsErrored is true. > 2005-05-26 13:28:51.082 NVP: Error condition detected in videoOutput > before PrepareFrame(), aborting playback. > 2005-05-26 13:28:51.082 VideoOutputXv::ProcessFrame() called while > IsErrored is true. > ==================== > > Thanks > Mudit > > On 5/26/05, Isaac Richards <[EMAIL PROTECTED]> wrote: > > On Thursday 26 May 2005 04:13 pm, Mudit Wahal wrote: > > > Solved the problem by putting some printfs in mythcontext.cpp file in > > > function QString MythContext::FindThemeDir > > > > > > Then simply linked /usr/share/mythtv to /usr/local/share/mythtv :-) > > > > That doesn't solve anything. The binary you're running will be using the > > libraries from 0.18. You can't run myth without installing it. You can't > > run different versions at the same time without using two different > > databases. > > > > Isaac > > _______________________________________________ > > mythtv-dev mailing list > > [email protected] > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev > > > _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
