
mtdean at thirdcontact
Nov 7, 2009, 6:52 PM
Post #4 of 5
(159 views)
Permalink
|
|
Re: guide too slow, "unable to save" icon files
[In reply to]
|
|
On 11/07/2009 09:37 PM, Mary Strimel wrote: > On Sat, Nov 7, 2009 at 8:23 PM, Michael T. Dean wrote: > >> 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. > Okay, I did "chmod 777" on /home, /home/mary, /home/mary/.mythtv, and > /home/mary/.mythtv/channels, and verified that its rwx for everyone. If it is only mythfrontend caching the icon, you won't need to change the directory permissions. > I > am still getting the "unable to save" error in my logs when I browse > the guide (and I can hear my hard drive churning away ...) > > This makes absolutely no sense! What could I be doing wrong? mythfrontend only caches the icon for you. Something else retrieves it on the backend--mythfilldatabase or channel_icons.pl. Likely that something else didn't have permission, so it failed, so the icon image doesn't exist. Or, for a combined frontend/master backend system, the files exist but aren't readable by the frontend process, so it tries to save a "local" copy and fails (because someone else owns a file in that location). Mike _______________________________________________ mythtv-users mailing list mythtv-users[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
|