Opened 13 years ago

Closed 13 years ago

#10982 closed Patch - Bug Fix (fixed)

Hardware Profile submission fails when MYTHCONFDIR is set

Reported by: Lawrence Rust <lvr@…> Owned by: Raymond Wagner
Priority: minor Milestone: 0.26
Component: MythTV - General Version: 0.25-fixes
Severity: medium Keywords: hardware profile MYTHCONFDIR
Cc: Ticket locked: no

Description

If the MYTHCONFDIR EV is set to a directory other than the default ~/.mythtv then sendProfile.py fails and the user is unable to submit their hardware profile:

smolt.UUIDError: Unable to save UUID to /home/lvr/.mythtv/HardwareProfile/hw-uuid.  Please run once as root.
sendProfile.py exited with error 1: FAILURE

The attached patch fixes config.py to use MYTHCONFDIR if it's set. The bug also affects 0.25.

Attachments (1)

0001-Fix-hardwareProfile-to-work-with-MYTHCONFDIR-environ.patch (1.6 KB) - added by Lawrence Rust <lvr@…> 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Lawrence Rust <lvr@…>

comment:1 Changed 13 years ago by Raymond Wagner

Owner: set to Raymond Wagner
Status: newaccepted
Version: Master Head0.25-fixes

comment:2 Changed 13 years ago by Raymond Wagner

Milestone: unknown0.26

comment:3 Changed 13 years ago by Raymond Wagner <rwagner@…>

Resolution: fixed
Status: acceptedclosed

In c96ded16b2d01a2d11e252a09103004843bf7438/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.