LinHES Forums
http://forum.linhes.org/

Online Streams crashes: 'No buttons for menu is.xml'
http://forum.linhes.org/viewtopic.php?f=6&t=19712
Page 1 of 1

Author:  worldpoop [ Thu Mar 19, 2009 4:17 am ]
Post subject:  Online Streams crashes: 'No buttons for menu is.xml'

Howdy. Fresh LinHES install and Online Streams section worked. Online Streams is where Apple Trailers and MythStream live.

Then I upgraded to myth-vdpau (my computer simply won't play over-the-air without it), then Online Streams section broke. When I remove mythtv-vdpau and return to mythtv and stable nvidia, Online Streams is STILL broken leading me to believe the snafu is somewhere fixable in configuration and not a problem with myth-vdpau. Here's what happens:

When I go into Main > Media Library > Online Streams,
I get a screen blank except for the MythTV theme background with today's date. If I hit ENTER or ESC, mythfrontend is poof! and I'm back at the LinHES X desktop.


Here is entire log. (Note when I enter "Online Streams" section.)
Murder she wrote:
*** I START MYTHFRONTEND HERE: ***
2009-03-19 01:40:23.197 New DB connection, total: 2
2009-03-19 01:40:23.214 Connected to database 'mythconverg' at host: localhost
2009-03-19 01:40:23.220 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2009-03-19 01:40:23.220 Enabled verbose msgs: important general
2009-03-19 01:40:23.833 Primary screen 0.
2009-03-19 01:40:23.835 Using screen 0, 800x600 at 0,0
2009-03-19 01:40:23.838 Switching to square mode (G.A.N.T)
2009-03-19 01:40:23.875 Using the OpenGL painter
2009-03-19 01:40:23.879 lirc init success using configuration file: /home/mythtv/.mythtv/lircrc
2009-03-19 01:40:23.880 JoystickMenuClient Error: Joystick disabled - Failed to read /home/mythtv/.mythtv/joystickmenurc
2009-03-19 01:40:24.339 Loading from: /home/mythtv/.mythtv/themes/G.A.N.T/base.xml
2009-03-19 01:40:24.369 Loading from: /usr/share/mythtv/themes/default/base.xml
2009-03-19 01:40:24.619 Registering Internal as a media playback plugin.
2009-03-19 01:40:24.881 MonitorRegisterExtensions(0x100, gif,jpg,png)
2009-03-19 01:40:25.043 Using NV NPOT texture extension
2009-03-19 01:40:25.132 MythMusic adding CD-Writer: 1,0,0 -- DVDR824DP
2009-03-19 01:40:25.216 Key > is bound to multiple actions in context Music.
2009-03-19 01:40:25.237 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.33:5060 NAT address 192.168.0.33
SIP: Cannot register; proxy, username or password not set
*** THEN I NAVIGATE TO AND ENTER "ONLINE STREAMS" ***
2009-03-19 01:40:25.519 NetworkControl: Listening for remote connections on port 6546
2009-03-19 01:41:16.647 MythThemedMenuPrivate: No buttons for menu is.xml
*** Then I hit ESC to exit from this nothingness back to MythTV,
but Poof!... I'm back at LinHES X desktop. No additional log entries. ***

Help! (Straight talk for a lost Linux noob please :? )

Author:  worldpoop [ Thu Mar 19, 2009 1:29 pm ]
Post subject: 

(Again, after configuration changes, and even removing updates and returning to originals (via pacman) "Online Streams" section is still broken.)

For comparison, here is the entire log from a fresh r6...07 install, when "Online Streams" works.
Murder she wrote:
2009-03-19 02:42:42.526 New DB connection, total: 2
2009-03-19 02:42:42.528 Connected to database 'mythconverg' at host: localhost
2009-03-19 02:42:42.533 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2009-03-19 02:42:42.534 Enabled verbose msgs: important general
2009-03-19 02:42:44.341 No theme dir: /home/mythtv/.mythtv/themes/LinHES
2009-03-19 02:42:44.354 Primary screen 0.
2009-03-19 02:42:44.355 Using screen 0, 800x600 at 0,0
2009-03-19 02:42:44.357 No theme dir: /home/mythtv/.mythtv/themes/LinHES
2009-03-19 02:42:44.359 Switching to square mode (LinHES)
2009-03-19 02:42:44.429 Using the OpenGL painter
2009-03-19 02:42:44.434 lirc init success using configuration file: /home/mythtv/.mythtv/lircrc
2009-03-19 02:42:44.447 JoystickMenuClient Error: Joystick disabled - Failed to read /home/mythtv/.mythtv/joystickmenurc
2009-03-19 02:42:45.063 Loading from: /usr/share/mythtv/themes/LinHES/base.xml
2009-03-19 02:42:45.102 Loading from: /usr/share/mythtv/themes/default/base.xml
2009-03-19 02:42:45.302 Registering Internal as a media playback plugin.
2009-03-19 02:42:45.648 MonitorRegisterExtensions(0x100, gif,jpg,png)
2009-03-19 02:42:46.374 Using NV NPOT texture extension
2009-03-19 02:42:46.497 MythMusic adding CD-Writer: 1,0,0 -- DVDR824DP
2009-03-19 02:42:46.588 Key > is bound to multiple actions in context Music.
2009-03-19 02:42:46.612 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP: Creating autogen directory entry for this host
SIP listening on IP Address 192.168.0.33:5060 NAT address 192.168.0.33
SIP: Cannot register; proxy, username or password not set
2009-03-19 02:42:46.933 Updating description...
2009-03-19 02:42:46.940 Updating description...
2009-03-19 02:42:46.943 Updating description...
2009-03-19 02:42:46.945 Updating description...
2009-03-19 02:42:46.974 Updating description...
2009-03-19 02:42:47.270 Setting Up MythVodka Database Tables
2009-03-19 02:42:47.311 MythVodka Database Setup Complete
2009-03-19 02:42:47.442 NetworkControl: Listening for remote connections on port 6546
2009-03-19 02:42:47.445 No theme dir: /home/mythtv/.mythtv/themes/LinHES
2009-03-19 02:42:47.475 MythThemedMenuPrivate: Unknown tag image in background
2009-03-19 02:42:48.208 NetworkControl: New connection established. (20)
2009-03-19 02:42:48.229 XMLParse::LoadTheme using /usr/share/mythtv/themes/default/smolt-ui.xml
2009-03-19 02:42:52.215 Loading file: /tmp/smoltfile
2009-03-19 02:43:03.624 XMLParse::LoadTheme using /usr/share/mythtv/themes/default/stream-ui.xml
cannot open file /home/mythtv/.mythtv/mythstream/cache/cacheindex
MythStream: adding table streams to mythtv db
MythStream: opening default stream repository ./.mythtv/.../stream.res
MythStream: saving stream.res contents to db
2009-03-19 02:43:21.355 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2009-03-19 02:43:21.359 Using protocol version 40
Destroying SipFsm object
2009-03-19 02:43:24.799 Deleting UPnP client...

Author:  worldpoop [ Thu Mar 19, 2009 8:01 pm ]
Post subject: 

Wow, well, I don't know what the problem was, but with no idea of what I'm doing, and brute force, I solved it with backtracking. (Replacing less than the three following items doesn't seem to do the trick for whatever reason -- gotta do all three). Anybody know what the "no buttons" error meant? Anyway...

So here's what I did:

- Fresh default install of r6...07.

- Using tar/gzip I made archives of the following files and directories:

/usr/share/mythtv/
/home/mythtv/.mythtv/
/usr/lib/mythtv/plugins/libmythstream.so

- Then using pacman updated linHES scripts, removed mythtv; installed myth-vdpau; removed nvidia; installed nvidia-beta (necessary for some reason, otherwise my X dies).

- Then I deleted the three items listed above (which also happens to delete "mythstream" dir which appears in both otherwise very differently configured locations. Maybe the existence of these two is a snafu in r6 or mythtv or mythtv-vdpau? Remember, restoring mythtv and nvidia did NOT restore Online Streams to working.)

- Then I restored these three files/directories from the archives made in step one.

For noobs like me, here was a successful sequence of events (with safety measures and shots in the dark included. I'm proud of myself :? ) -- enjoy!
Murder she wrote:
pacman -Sy
pacman -S rsync # Detour...

# Make archives of the stuff that is going to get corrupted...
tar -czvf /home/mythtv/USR_SHARE_mythtv.tar.gz /usr/share/mythtv
tar -czvf /home/mythtv/HOME_MYTHTV_dot_mythtv.tar.gz /home/mythtv/.mythtv
tar -czvf /home/mythtv/USR_LIB_MYTHTV_PLUGINS_mythstream.tar.gz /usr/lib/mythtv/plugins/libmythstream.so
# from prior sleuthing, noting these are where mythstream items live
# /home/mythtv/.mythtv/mythstream
# /usr/share/mythtv/mythstream

# Actually, I made dupe dirs and restored from these.
# I used the tar/gzip packages to copy to and update my "real" installation on another disk
rsync -a /usr/share/mythtv /usr/share/mythtv_b4
rsync -a /home/mythtv/.mythtv /home/mythtv/.mythtv_b4
chown mythtv:mythtv /home/mythtv/.mythtv_b4 # new dir gets root privs, but everything inside preserved

# Time to update!

pacman -S linhes-scripts

# Currently works for installing vdpau
pacman -Sy # run each pacman separately
pacman -Rd mythtv
pacman -S mythtv-vdpau
pacman -Rd nvidia
pacman -Sy nvidia-beta
# Targets are: nvidia-utils-beta-180.37-6 nvidia-beta-180.37-5

# finally, restore the original directories. First get rid of the bastards.
# mv them, or just blow them away.
mv /home/mythtv/.mythtv /home/mythtv/.mythtv_after
mv /usr/share/mythtv/ /usr/share/mythtv_after
rm -rf /usr/lib/mythtv/plugins/libmythstream.so

# You can restore this way, or from the tar/gzip packages
rsync -a /home/mythtv/.mythtv_b4/ /home/mythtv/.mythtv
rsync -a /usr/share/mythtv_b4/ /usr/share/mythtv/

# or like this
rm -rf /home/mythtv/.mythtv/mythstream
rm -rf /usr/share/mythtv/
cd /
tar -xzvf /home/HOME_MYTHTV_dot_mythtv.tar.gz
tar -xzvf /home/USR_LIB_MYTHTV_PLUGINS_mythstream.tar.gz
tar -xzvf /home/USR_SHARE_MYTHTV.tar.gz

Author:  nmcaullay [ Thu Apr 30, 2009 12:05 am ]
Post subject: 

hey there,

I have the same problem...

one night (shortly after installing R6), i discovered the joy of online streams, and apple trailers... it just worked on the defaults with R6 preview... i was impressed..

Then in the next few weeks, i did a pacman update, and i have the behaviour described below (no entries in the onlinestreams, crash frontend)...

Any ideas? Should i do another pacman update, and hope it be fixed?

BTW, I didnt do any vdpau installs, so i think you can focus on the regular default packages as the culprits?

Cheers,

Nathan

Author:  nickca [ Thu Apr 30, 2009 12:14 am ]
Post subject: 

This is an irritating bug that has been around since the release of the R6 preview. It's been fixed for a while in the standard MythTV packages, but apparently not in mythtv-vdpau. The problem lies with the file /usr/share/mythtv/is.xml. By default, is.xml is a blank file. When you install extra packages like mythvodka, Miro player, etc., those packages add entries to is.xml as part of their installation. When you upgraded to mythtv-vdpau, is.xml was overwritten with that blank file again, and now the frontend is crashing when it tries to interpret a blank file as a menu.

If you look here, you will find the contents of the original is.xml which you can cut and paste into /usr/share/mythtv/is.xml, thus preventing the frontend crashing. There's also a bit of text you should add to the end of /usr/share/mythtv/media_settings.xml if you use MythVodka.

Author:  worldpoop [ Thu Apr 30, 2009 12:56 am ]
Post subject: 

Thank you, Nickca! That is essential info! I actually posted a report way back but Jams closed it down with no info, saying myth-vdpau would not (and should not) be supported. :) Unfortunately I need it. Thank you for this!!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/