[mythtv-commits] Ticket #11803: sendProfile.py doesn't generate a uuid when the directory HardwareProfile is missing
MythTV
noreply at mythtv.org
Sat Aug 31 11:42:57 UTC 2013
#11803: sendProfile.py doesn't generate a uuid when the directory HardwareProfile
is missing
--------------------------------------+-------------------------
Reporter: dekarl@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
just noticed this on a Mythbuntu frontend
{{{
user at 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 at 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 at myth-fe1:~$ mkdir .mythtv/HardwareProfile
user at myth-fe1:~$ /usr/share/mythtv/hardwareprofile/sendProfile.py
Processing MythTV Data
=====================================================
Smolt has collected four types of information:
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11803>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list