Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#13128 closed Patch - Bug Fix (fixed)

ttvdb/tmdb3 scripts fail with "no such file or directory" error

Reported by: David Hampton <mythtv@…> Owned by: David Hampton
Priority: minor Milestone: 29.1
Component: MythTV - General Version: v29.0
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The ttvdb and tmdb3 scripts don't create the configuration directory, they only create their final cache directory. This causes them to fail in cases where the frontend is normally run as a unique "mythtv" user id and they are running the script as their own user id. Having them create all directories up to the final cache directory solves this problem.

Reported against 29, but also affects 0.28 and master.

Change History (4)

comment:1 Changed 7 years ago by David Hampton <mythtv@…>

comment:2 Changed 7 years ago by Peter Bennett

Owner: set to David Hampton
Status: newassigned

comment:3 Changed 7 years ago by David Hampton <mythtv@…>

Resolution: fixed
Status: assignedclosed

In ae0093aa69845cfa790db935d0802162c6f9ea7e/mythtv:

Create all directories leading to the ttvdb/tmdb3 cache files.

With this change, MythTv? will create all directories leading up to the
cache file, instead of only creating the final directory. This will
solve some recent problems on the mailing list where the ttvdb/tmdb3
scripts would work in some scenarios and fail in others.

Trac: fixes #13128
GitHub?: closes #154

comment:4 Changed 6 years ago by Stuart Auchterlonie

Milestone: needs_triage29.1
Note: See TracTickets for help on using tickets.