Opened 5 years ago

Closed 5 years ago

#10982 closed Patch - Bug Fix (fixed)

Hardware Profile submission fails when MYTHCONFDIR is set

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


If the MYTHCONFDIR EV is set to a directory other than the default ~/.mythtv then 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. exited with error 1: FAILURE

The attached patch fixes 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@…> 5 years ago.

Download all attachments as: .zip

Change History (4)

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

comment:1 Changed 5 years ago by wagnerrp

  • Owner set to wagnerrp
  • Status changed from new to accepted
  • Version changed from Master Head to 0.25-fixes

comment:2 Changed 5 years ago by wagnerrp

  • Milestone changed from unknown to 0.26

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

  • Resolution set to fixed
  • Status changed from accepted to closed

In c96ded16b2d01a2d11e252a09103004843bf7438/mythtv:

Use config detection in Python bindings for stored smolt data.

This makes the Python bindings to store the location of the config.xml
it used for database access. This path is then used by the smolt
hardware profile for storage of its UUID files, replacing the hard coded
use of $HOME.

Fixes #10982

Add Comment

Modify Ticket

as closed The owner will remain wagnerrp.
The resolution will be deleted. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.