[mythtv-users] Why does mythfrontend open 6,040 files...

Robert McNamara robert.mcnamara at gmail.com
Sun Oct 30 14:28:28 UTC 2011


On Sun, Oct 30, 2011 at 7:21 AM, Jeff Siddall <news at siddall.name> wrote:
> stat64("/home/Siddall-5/.mythtv/themecache/MythCenter-wide.1920.1080/title-title_tv.png---1x-1.png",
> {st_mode=S_IFREG|0644, st_size=6216, ...}) = 0
> stat64("/usr/share/mythtv/themes/MythCenter-wide/title/title_tv.png",
> {st_mode=S_IFREG|0644, st_size=4860, ...}) = 0
> stat64("/usr/share/mythtv/themes/MythCenter-wide/title/title_tv.png",
> {st_mode=S_IFREG|0644, st_size=4860, ...}) = 0
>
> ...and all those files do exist.  What is missing here?  The very next
> thing it does is to try to open a file that is not in either of those
> locations and probably would never exist:
>
> open("title/title_tv.png", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
>
> What about the theme might be telling it to do that?  Where should I
> look to figure this out?

The files are referred to in the theme relative to the root of the
theme.  This notation is valid, and works.  If the files exist, I
would suggest a permissions issue.  Your packager's copy is probably
the issue-- you might try removing the theme entirely, in all
locations, and getting it with the theme downloaded in the UI, which
is how we want all themes distributed now anyway.

Robert


More information about the mythtv-users mailing list