themecache - Failed to save cached image

Bug #332736 reported by Caysho
2
Affects Status Importance Assigned to Milestone
Mythbuntu
Invalid
Medium
Unassigned
Nominated for 9.04 by Caysho

Bug Description

mythbuntu 8.10, current updates, described in the mythbuntu forum at http://ubuntuforums.org/showthread.php?t=640337

From the mythfrontend.log:

==> /var/log/mythtv/mythfrontend.log <==
2009-02-20 18:11:23.381 Failed to save cached image: /home/mythtvuser/.mythtv/themecache/Mythbuntu-8.04.1920.1080/news-info-bg.png
2009-02-20 18:11:23.385 Failed to save cached image: /home/mythtvuser/.mythtv/themecache/Mythbuntu-8.04.1920.1080/next_button_off.png
2009-02-20 18:11:23.388 Failed to save cached image: /home/mythtvuser/.mythtv/themecache/Mythbuntu-8.04.1920.1080/next_button_on.png

~/.mythtv/ needs to be read/write by group mythtv. A default install has it read only.

Revision history for this message
Caysho (caysho) wrote :

Bug still present in the 9.04 beta (daily build 9th April 2009).

Revision history for this message
MarcRandolph (mrand) wrote :

Thank you for reporting this issue. I'm marking as triaged since you were kind enough to include a possible fix.

Changed in mythbuntu:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Mario Limonciello (superm1) wrote :

By "group" mythtv? Isn't it normally just ran by your user? Can you show the permissions on the directory? (ls -alhR ~/.mythtv)

Revision history for this message
Caysho (caysho) wrote :

The user created at install time is part of the mythtv group.

mythtvuser@pvr:~$ ls -alhR ~/.mythtv
/home/mythtvuser/.mythtv:
total 8.0K
drwxr-xr-x 2 mythtv mythtvuser 4.0K 2009-04-13 16:57 .
drwxr-xr-x 25 mythtvuser mythtvuser 4.0K 2009-04-14 17:31 ..
lrwxrwxrwx 1 mythtv root 15 2009-04-13 16:57 lircrc -> ../.lirc/mythtv
lrwxrwxrwx 1 mythtv root 21 2009-04-13 16:49 mysql.txt -> /etc/mythtv/mysql.txt

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 332736] Re: themecache - Failed to save cached image

See, now that's odd. I just did a fresh install and it came out
differently:
testtest@testtest-laptop:~$ ls -alhR .mythtv/
.mythtv/:
total 64K
drwxr-xr-x 3 testtest testtest 4.0K 2009-04-13 14:32 .
drwxr-xr-x 28 testtest testtest 4.0K 2009-04-14 23:14 ..
-rw-r--r-- 1 testtest testtest 424 2009-04-14 23:05 config.xml
-rw-r--r-- 1 testtest testtest 46K 2009-04-13 14:32 errorlogs.log
lrwxrwxrwx 1 root root 15 2009-04-13 19:17 lircrc ->
../.lirc/mythtv
lrwxrwxrwx 1 root root 21 2009-04-13 19:14 mysql.txt ->
/etc/mythtv/mysql.txt
drwxr-xr-x 3 testtest testtest 4.0K 2009-04-14 19:31 themecache

.mythtv/themecache:
total 12K
drwxr-xr-x 3 testtest testtest 4.0K 2009-04-14 19:31 .
drwxr-xr-x 3 testtest testtest 4.0K 2009-04-13 14:32 ..
drwxr-xr-x 2 testtest testtest 4.0K 2009-04-14 19:31
Mythbuntu-8.04-wide.1280.720

.mythtv/themecache/Mythbuntu-8.04-wide.1280.720:
total 8.0K
drwxr-xr-x 2 testtest testtest 4.0K 2009-04-14 19:31 .
drwxr-xr-x 3 testtest testtest 4.0K 2009-04-14 19:31 ..

Can you please indicate what options you picked during install?

On Tue, Apr 14, 2009 at 04:34, Caysho <email address hidden> wrote:

> The user created at install time is part of the mythtv group.
>
> mythtvuser@pvr:~$ ls -alhR ~/.mythtv
> /home/mythtvuser/.mythtv:
> total 8.0K
> drwxr-xr-x 2 mythtv mythtvuser 4.0K 2009-04-13 16:57 .
> drwxr-xr-x 25 mythtvuser mythtvuser 4.0K 2009-04-14 17:31 ..
> lrwxrwxrwx 1 mythtv root 15 2009-04-13 16:57 lircrc ->
> ../.lirc/mythtv
> lrwxrwxrwx 1 mythtv root 21 2009-04-13 16:49 mysql.txt ->
> /etc/mythtv/mysql.txt
>
> --
> themecache - Failed to save cached image
> https://bugs.launchpad.net/bugs/332736
> You received this bug notification because you are a member of Mythbuntu
> Developers, which is subscribed to Mythbuntu.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Caysho (caysho) wrote :

The options:
GMT+8 timezone (Perth locale)
I created a user called mythtvuser and set the machine name to pvr.
I selected an MS MCE Philips remote.
For the rest of the screens, I went with the defaults.

Would the ubiquity log contain the right details ?
Should I try it with a current build ? if so, http://www.mythbuntu.org/ is timing out, so please supply a mirror to get it.

NickGray on the ubuntu forum also encountered this problem (see the linked thread), but I have not seen an update there.

Revision history for this message
Mario Limonciello (superm1) wrote :

Are you allowing it to re-use your home directory?
Did you run mythtv-setup before or after the reboot?

I'm still struggling to find the exact option that would cause this. Unfortunately the bug can lie anywhere in:
ubiquity, mythbuntu-common, mythbuntu-lirc-generator

The website is temporarily down. Please grab ISOs from http://cdimages.ubuntu.com/mythbuntu for now. There hasn't been any recent activity that should change "this" bug's behavior however from the last one you tested.

The syslog gets stored in /var/log/installer/syslog on the finished system.

Revision history for this message
Caysho (caysho) wrote :

Sorry, consider this a user error for now - I thought mythtv-setup only covered tuners, guide data and storage areas, not the front end configuration.
I have been unable to get the nvidia drivers working yet ( bug 328305 and bug 333048 ), so I have not yet been going through the full setup process while I work on that.
I will provide an update if I get the problem after running mythtv-setup.

Revision history for this message
MarcRandolph (mrand) wrote :

Thank you for reporting back on this issue. If it turns out to be a real problem, feel free to re-open this report.

Changed in mythbuntu:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.