Opened 19 years ago

Closed 19 years ago

#342 closed enhancement (invalid)

MythFrontend (From clean install) cannot find themes, despite them being there

Reported by: anaerin@… Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: mythfrontend theme couldnt find theme
Cc: Ticket locked: no

Description

I posted this to the users list, but got no answers of any kind, so I thought I'd ticket it, as it is persistant.

I've just compiled MythTV from SVN, and while the backend works perfectly, the frontend is giving me all kinds of problems.

On the display I get the "Pre-Scaling theme images" message, which flies past, then Myth stops.

mythfrontend -v all reports:


2005-09-16 08:33:27.114 Using runtime prefix = /usr
QSettings::sync: filename is null/empty
2005-09-16 08:33:27.149 New DB connection, total: 1
2005-09-16 08:33:27.277 Total desktop dim: 720x480, with 1 screen[s].
2005-09-16 08:33:27.282 Using screen 0, 720x480 at 0,0
2005-09-16 08:33:27.293 mythfrontend version: 0.19.20050712-1 www.mythtv.org
2005-09-16 08:33:27.294 Enabled verbose msgs :all
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
2005-09-16 08:33:27.912 max_width: 720 max_height: 480
2005-09-16 08:33:28.094 Total desktop dim: 720x480, with 1 screen[s].
2005-09-16 08:33:28.096 Using screen 0, 720x480 at 0,0
2005-09-16 08:33:28.103 Switching to square mode (default)
2005-09-16 08:33:28.171 /home/mythtv/.mythtv/joystickmenurc not found.
2005-09-16 08:33:28.172 Joystick disabled.
2005-09-16 08:33:28.269 Registering Internal as a media playback plugin.
2005-09-16 08:33:28.622 generating cache image for:
/usr/share/mythtv/themes/default/blank.png
2005-09-16 08:33:28.659 generating cache image for:
/usr/share/mythtv/themes/default/mfe_1x1_blank.png
2005-09-16 08:33:28.760 generating cache image for:
/usr/share/mythtv/themes/default/blank.png
2005-09-16 08:33:28.793 generating cache image for:
/usr/share/mythtv/themes/default/mfe_1x1_blank.png
2005-09-16 08:33:28.889 Mediamonitor: Adding /dev/cdrom
2005-09-16 08:33:28.890 Mediamonitor: Adding /dev/dvd
2005-09-16 08:33:28.892 Mediamonitor: Adding /dev/hdb
2005-09-16 08:33:28.892 Starting media monitor.
Couldn't find theme /usr/share/mythtv/themes/default

and quits out.

Yet the themes are in /usr/share/mythtv/themes:


sh-2.05b$ ls -l /usr/share/mythtv/themes
total 72
drwxrwxrwx   3 mythtv mythtv 4096 Apr 17 08:41 DVR
drwxrwxrwx   7 mythtv mythtv 4096 Sep 15 15:42 G.A.N.T.
drwxrwxrwx   5 mythtv mythtv 4096 Sep 15 15:42 Iulius
drwxrwxrwx  16 mythtv mythtv 4096 Sep 15 15:42 Minimalist-wide
drwxrwxrwx   5 mythtv mythtv 4096 Feb  4  2005 MythCenter
drwxrwxrwx   2 mythtv mythtv 4096 Jan 31  2004 PurpleGalaxy
drwxrwxrwx  16 mythtv mythtv 4096 Sep 15 15:42 Titivillus
drwxrwxrwx   3 mythtv mythtv 4096 Sep 15 15:42 Titivillus-OSD
drwxrwxrwx   3 mythtv mythtv 8192 Sep 15 15:42 blue
drwxrwxrwx   3 mythtv mythtv 4096 Sep 15 15:42 blueosd
drwxrwxrwx   3 mythtv mythtv 4096 Sep 15 15:42 classic
drwxrwxrwx   3 mythtv mythtv 8192 Sep 15 17:25 default
drwxrwxrwx   3 mythtv mythtv 4096 Sep 15 15:42 defaultosd
drwxrwxrwx   3 mythtv mythtv 4096 Sep 15 15:42 oldosd
drwxrwxrwx   8 mythtv mythtv 4096 Dec 11  2003 sleek
drwxrwxrwx   3 mythtv mythtv 4096 Jan 31  2004 visor

I built using the configure flags:

./configure --enable-xvmc --enable-opengl-vsync --prefix="/usr"

And compiled using ccache and distcc...

Anything else I can let you guys know to help?

Change History (2)

comment:1 Changed 19 years ago by anaerin@…

Here's something even more crazy here. I've just discovered that MythFrontend *CAN* see the themes directory, as it creates the scaled versions!

root@mythtv:/home/mythtv/.mythtv/themecache/default.720.480 # ls -l
total 1112
drwxr-xr-x  2 mythtv mythtv   4096 Sep 16 13:33 CVS
-rw-r--r--  1 mythtv mythtv    433 Sep 16 13:33 autoexpire.png
-rw-r--r--  1 mythtv mythtv   6486 Sep 16 13:33 bar.png
-rw-r--r--  1 mythtv mythtv    664 Sep 16 13:33 bargain_ticket.png
-rw-r--r--  1 mythtv mythtv    666 Sep 16 13:33 bookmark.png
-rw-r--r--  1 mythtv mythtv   1337 Sep 16 13:33 commflagged.png
-rw-r--r--  1 mythtv mythtv   6822 Sep 16 13:33 cr-lines.png
-rw-r--r--  1 mythtv mythtv   7733 Sep 16 13:33 cr-selectbar.png
-rw-r--r--  1 mythtv mythtv    438 Sep 16 13:33 cutlist.png
-rw-r--r--  1 mythtv mythtv   5930 Sep 16 13:33 def-ro-lines.png
-rw-r--r--  1 mythtv mythtv    257 Sep 16 13:33 downarrow.png
-rw-r--r--  1 mythtv mythtv   4297 Sep 16 13:33 filler.png
-rw-r--r--  1 mythtv mythtv   5699 Sep 16 13:33 galleryfolder.png
-rw-r--r--  1 mythtv mythtv   1249 Sep 16 13:33 gg-arrow-left.png
-rw-r--r--  1 mythtv mythtv   1249 Sep 16 13:33 gg-arrow-right.png
...and so on...
-rw-r--r--  1 mythtv mythtv 166912 Sep 16 13:33 mp_video_border_352x288.png
-rw-r--r--  1 mythtv mythtv   8484 Sep 16 13:33 mp_volume_bkgnd.png
-rw-r--r--  1 mythtv mythtv    725 Sep 16 13:33 mp_volume_icon.png
-rw-r--r--  1 mythtv mythtv    829 Sep 16 13:33 mp_webcam_blackhole.png
-rw-r--r--  1 mythtv mythtv   2956 Sep 16 13:33 pf-background.png
-rw-r--r--  1 mythtv mythtv  20556 Sep 16 13:33 pf-lines.png
-rw-r--r--  1 mythtv mythtv   1137 Sep 16 13:33 pf-sel1.png
-rw-r--r--  1 mythtv mythtv   5750 Sep 16 13:33 pf-sel2.png
-rw-r--r--  1 mythtv mythtv   3513 Sep 16 13:33 pf-sel3.png
-rw-r--r--  1 mythtv mythtv   1826 Sep 16 13:34 pf-top.png
-rw-r--r--  1 mythtv mythtv   7486 Sep 16 13:34 phone.png
-rw-r--r--  1 mythtv mythtv    710 Sep 16 13:34 processing.png
-rw-r--r--  1 mythtv mythtv    218 Sep 16 13:34 rightarrow.png
-rw-r--r--  1 mythtv mythtv   7088 Sep 16 13:34 rk-lines.png
-rw-r--r--  1 mythtv mythtv   8322 Sep 16 13:34 rk-selectbar.png
-rw-r--r--  1 mythtv mythtv   1055 Sep 16 13:34 scrollarrow-dn.png
-rw-r--r--  1 mythtv mythtv   1120 Sep 16 13:34 scrollarrow-left.png
-rw-r--r--  1 mythtv mythtv   1076 Sep 16 13:34 scrollarrow-right.png
-rw-r--r--  1 mythtv mythtv   1025 Sep 16 13:34 scrollarrow-up.png
-rw-r--r--  1 mythtv mythtv   1598 Sep 16 13:34 solid-background.png
-rw-r--r--  1 mythtv mythtv   1204 Sep 16 13:34 solid-container.png
-rw-r--r--  1 mythtv mythtv   2005 Sep 16 13:34 solid-cr-background.png
-rw-r--r--  1 mythtv mythtv   3376 Sep 16 13:34 solid-showings.png
-rw-r--r--  1 mythtv mythtv   2088 Sep 16 13:34 solid-titles.png
-rw-r--r--  1 mythtv mythtv   5365 Sep 16 13:34 status-bar.png
-rw-r--r--  1 mythtv mythtv   1604 Sep 16 13:34 trans-background.png
-rw-r--r--  1 mythtv mythtv   2430 Sep 16 13:34 trans-backup.png
-rw-r--r--  1 mythtv mythtv   2411 Sep 16 13:34 trans-container.png
-rw-r--r--  1 mythtv mythtv   1996 Sep 16 13:34 trans-cr-background.png
-rw-r--r--  1 mythtv mythtv   2190 Sep 16 13:34 trans-rk-background.png
-rw-r--r--  1 mythtv mythtv  11936 Sep 16 13:34 trans-showings.png
-rw-r--r--  1 mythtv mythtv   1996 Sep 16 13:34 trans-sr-background.png
-rw-r--r--  1 mythtv mythtv   6766 Sep 16 13:34 trans-titles.png
-rw-r--r--  1 mythtv mythtv    248 Sep 16 13:34 uparrow.png

but once Myth's generated these (Correct) images, it dies.

Help?

comment:2 Changed 19 years ago by anaerin@…

Priority: criticaltrivial
Resolution: invalid
Severity: highmedium
Status: newclosed
Type: defectenhancement

Okay, I'm an idiot (Stop sniggering in the back there)

After digging through with strace (An invaluable tool, if only someone would make a GUI for it, even a curses one would be good), I found the problem. The theme "Default" doesn't have a "theme.xml" in it. So digging in the DB, I changed the theme to "Blue" and everything works just fine.

Would it be possible to have Myth choose another theme when the one in the DB isn't available (Like trying to default to blue)?

For now, however, closing this ticket.

Note: See TracTickets for help on using tickets.