MythTV – Movie details fail to download

It’s been about a month since my rebuild of my MythTV setup with Mythbuntu 14.04 / MythTV fixes/0.27.  I haven’t added any new media until this week and details would fail to download.

After running the script manually I received the following error:

mediacenter:/usr/share/mythtv/metadata/Movie$ ./tmdb3.py -M "The Hunger Games"
Unable to access cache file: /home/<user>/.mythtv/pytmdb3.cache

Why this command couldn’t create this file I am still confused about.  I was running it as the user “<user>”. I created an empty pytmdb3.cache file manually wive VI and then the scripts ran correctly.