﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
11803	sendProfile.py doesn't generate a uuid when the directory HardwareProfile is missing	dekarl@…	Raymond Wagner	"just noticed this on a Mythbuntu frontend
{{{
user@myth-fe1:~$ /usr/share/mythtv/hardwareprofile/sendProfile.py
Traceback (most recent call last):
  File ""/usr/share/mythtv/hardwareprofile/sendProfile.py"", line 420, in <module>
    main()
  File ""/usr/share/mythtv/hardwareprofile/sendProfile.py"", line 403, in main
    profile = read_profile(gate, smolt.read_uuid())
  File ""/usr/share/mythtv/hardwareprofile/smolt.py"", line 1271, in read_uuid
    raise UUIDError, 'Unable to save UUID to %s.  Please run once as root.' % hw_uuid_file
smolt.UUIDError: Unable to save UUID to /home/user/.mythtv/HardwareProfile/hw-uuid.  Please run once as root.
main()
  File ""/usr/share/mythtv/hardwareprofile/sendProfile.py"", line 403, in main
    profile = read_profile(gate, smolt.read_uuid())
  File ""/usr/share/mythtv/hardwareprofile/smolt.py"", line 1271, in read_uuid
    raise UUIDError, 'Unable to save UUID to %s.  Please run once as root.' % hw_uuid_file
smolt.UUIDError: Unable to save UUID to /home/user/.mythtv/HardwareProfile/hw-uuid.  Please run once as root.
}}}
looking at ~/.mythtv the permissions are there but no directory ""HardwareProfile""
{{{
drwxrwuser@myth-fe1:~$ ls -la ~/.mythtv/
total 6
drwxr-xr-x 11 user user  240 Aug 31 10:44 .
}}}
manually creating that directory ""fixed"" it
{{{
user@myth-fe1:~$ mkdir .mythtv/HardwareProfile
user@myth-fe1:~$ /usr/share/mythtv/hardwareprofile/sendProfile.py
Processing MythTV Data
=====================================================
Smolt has collected four types of information:
}}}
"	Bug Report - General	closed	minor	0.26.2	MythTV - General	Master Head	medium	fixed			0
