Page 1 of 1

ERROR while downloading theme package from master backend

Posted: Mon Apr 29, 2019 2:07 pm
by wesnewell
Trying to figure out why i get this after deleting a theme either manually in ~/.mythtv/themes or by doing so in theme chooser. Been like this for several versions now. Deleting the theme dir doesn't delete anything else anywhere. Can anyone tell me what's going on. TIA

Re: ERROR while downloading theme package from master backend

Posted: Mon Apr 29, 2019 3:34 pm
by bill6502
Assuming the backend is running as user mythtv, I'd do:
ls -la ~mythtv/.mythtv/tmp/remotethemes. Expect everything
to be readable/writable (searchable for directories) by mythtv.

I'm running master too and just got a new version of Steppes yesterday.
Expect a themes.zip file under the above.

[Themes get downloaded to the backend 1st.]

Re: ERROR while downloading theme package from master backend

Posted: Mon Apr 29, 2019 4:53 pm
by wesnewell
Yes, everything is there,
wes@mythfe0:~$ ls -la /home/mythtv/.mythtv/tmp/remotethemes
total 320
drwxr-xr-x 4 mythtv mythtv 4096 Jan 26 13:22 .
drwxr-xr-x 5 mythtv mythtv 4096 Jun 28 2018 ..
drwxr-xr-x 24 mythtv mythtv 4096 Dec 11 02:15 29
drwxr-xr-x 12 mythtv mythtv 4096 Feb 6 01:06 30
-rw-r--r-- 1 mythtv mythtv 309320 Apr 29 06:21 themes.zip
wes@mythfe0:~$
That's what doesn't make sense to me. It's also there in my home dir where I run the frontend from.
wes@mythfe0:~$ ls -la /home/wes/.mythtv/tmp/remotethemes
total 20
drwxrwxr-x 4 wes wes 4096 Apr 29 08:10 .
drwxrwxr-x 4 wes wes 4096 Apr 29 09:06 ..
drwxrwxr-x 22 wes wes 4096 May 2 2018 29
drwxr-xr-x 12 wes wes 4096 Feb 6 01:06 30
-rw-rw-r-- 1 wes wes 314 May 2 2018 themes.zip
wes@mythfe0:~$
and all the theme infos ae there too, in both.
wes@mythfe0:~$ ls -la /home/wes/.mythtv/tmp/remotethemes/30
total 48
drwxr-xr-x 12 wes wes 4096 Feb 6 01:06 .
drwxrwxr-x 4 wes wes 4096 Apr 29 08:10 ..
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 Functionality
drwxr-xr-x 2 wes wes 4096 Feb 6 01:06 Monochrome
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 Mythbuntu
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 Mythbuntu-classic
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 MythCenter
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 MythCenter-wide
drwxr-xr-x 2 wes wes 4096 Jan 26 13:22 Steppes
drwxr-xr-x 2 wes wes 4096 Jan 26 13:22 Steppes-large
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 Steppes-narrow
drwxr-xr-x 2 wes wes 4096 Feb 3 01:01 Terra
wes@mythfe0:~$
yet I still get the error message if I delete the theme from the themes dir either manually, or within the frontend. To duplicate delete one of your themes either manually from the /.mythtv/themes dir or from within the frontend setup theme chooser, and then refresh and then try to download it again.Suggest you have it backed up first.

Re: ERROR while downloading theme package from master backend

Posted: Wed May 01, 2019 3:15 pm
by wesnewell
Anyone try and duplicate this? Results?

Re: ERROR while downloading theme package from master backend

Posted: Mon May 13, 2019 9:20 pm
by wesnewell
Almost 2 weeks and no replies. Has anyone even tried to verify this. It does it on all 5 of my machines.

Re: ERROR while downloading theme package from master backend

Posted: Tue May 14, 2019 4:58 pm
by bill6502
There appears to be 2 levels of caching involved and for some reason
a stale cache is causing the error.

On the backend: sudo rm -rf ~mythtv/.mythtv/cache/*

Re: ERROR while downloading theme package from master backend

Posted: Tue May 14, 2019 5:52 pm
by wesnewell
That didn't fix it. Still get the error. Not a big deal for me as i know how to get them back.