Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#11803 closed Bug Report - General (fixed)
sendProfile.py doesn't generate a uuid when the directory HardwareProfile is missing
Reported by: | Owned by: | Raymond Wagner | |
---|---|---|---|
Priority: | minor | Milestone: | 0.26.2 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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:
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 10be7341345986d4c0e508c0a9791d35dca43770/mythtv: