[mythtv-users] guide too slow, "unable to save" icon files

Michael T. Dean mtdean at thirdcontact.com
Sun Nov 8 01:23:31 UTC 2009


On 11/07/2009 07:59 PM, Mary Strimel wrote:
> Fresh install last night of Mythbuntu 9.10 RC 1 for AMD64, everything
> seems to be working great except I get these type of errors when
> accessing the guide:
>
> 2009-11-07 19:50:29.685 Failed to save to
> /home/mary/.mythtv/channels/wrc_washington.jpg
> 2009-11-07 19:50:30.394 Failed to save to
> /home/mary/.mythtv/channels/universal_sports.jpg
> 2009-11-07 19:50:31.086 Failed to save to
> /home/mary/.mythtv/channels/wttg_fox5_washington.jpg
> 2009-11-07 19:50:31.794 Failed to save to
> /home/mary/.mythtv/channels/wjla_abc7_washington.jpg
>
> I assume those are icon files?  Anyway, I made the permissions to that
> directory as broad as I can think of:
>
> mary at mythbox:~$ ls -la ./.mythtv/
> drwxrwxrwx  6 mary mythtv  4096 2009-11-06 22:03 .
> drwxr-xrwx 27 mary mary    4096 2009-11-07 19:51 ..
> drwxrwxrwx  2 mary mythtv  4096 2009-11-06 22:03 channels
> -rw-rwxrwx  1 mary mythtv   422 2009-11-07 14:06 config.xml
> lrwxrwxrwx  1 root root      15 2009-11-06 21:08 lircrc -> ../.lirc/mythtv
> lrwxrwxrwx  1 root root      21 2009-11-06 21:08 mysql.txt ->
> /etc/mythtv/mysql.txt
> drwxrwxrwx 10 mary mythtv  4096 2009-11-06 22:00 MythWeather
> drwxrwxrwx  2 mary mythtv 36864 2009-11-07 14:11 osdcache
> drwxrwxrwx  3 mary mythtv  4096 2009-11-07 14:11 themecache
>
> yet the problem persists. What to do now?  Otherwise it seems just
> about perfect (other than the lack of Retro theme :)

Both problems are one and the same--fix the "unable to save" issue and 
it will fix the slow guide issue.

Since that directory is under the user's root directory, it's very 
likely that the user running the program that's trying to save the icons 
doesn't have permissions to execute the /home/mary directory, so it 
can't get to the directories within.

mythfilldatabase will attempt to download icons for you and save them in 
$HOME/.mythtv.  mythfilldatabase is run automatically by mythbackend--so 
in that situation, the user running mythbackend would need execute on 
all the directories in the path leading up to channels.

You can also get the icons through other approaches, including a contrib 
script called channel_icons.pl.

I'm not sure what the proper setup is for your directory structure/users 
on your distro, so I'll leave it to others to comment on anything 
related to that.

Mike


More information about the mythtv-users mailing list