[mythtv-users] Frontend submits hardware profile every startup
Bill Meek
keemllib at gmail.com
Fri Jun 15 17:29:17 UTC 2012
On 06/15/2012 05:15 AM, John Veness wrote:
> Hi,
>
> My mythfrontend seems to be submitting a hardware profile every time it starts up. The relevant part of mythfrontend --v all would seem to be:
>
> 2012-06-13 07:54:28.829711 I [22447/22447] CoreContext hardwareprofile.cpp:164 (NeedsUpdate) - Last hardware profile update was > 30 days ago,
> update required...
> 2012-06-13 07:54:28.829806 I [22447/22447] CoreContext mythmainwindow.cpp:2538 (LockInputDevices) - Locking input devices
> 2012-06-13 07:54:28.842664 I [22447/22447] CoreContext system-unix.cpp:735 (Fork) - Managed child (PID: 22471) has started! *
> command=/usr/share/mythtv/hardwareprofile/sendProfile.py --submitOnly -a, timeout=0
> 2012-06-13 07:55:13.646857 I [22447/22460] SystemManager system-unix.cpp:342 (run) - Managed child (PID: 22471) has exited!
> command=/usr/share/mythtv/hardwareprofile/sendProfile.py --submitOnly -a, status=256, result=1
>
> As you'll see from the timestamps, this adds a 45-second or so delay to mythfrontend starting up, during which time it looks like it's hung.
>
> Any ideas why it's doing this every time? It looks from the log like it should only be doing this every 30 days.
>
> I'm running up-to-date 0.25-fixes from the mythbuntu repos. I've noticed this problem for the last week or two.
Good call John. I'm on 0.26-pre and seeing the same, if I manually run:
/usr/local/share/mythtv/hardwareprofile/sendProfile.py --submitOnly -a --debug,
The following prints:
Processing MythTV Data
smoon server URL: http://smolt.mythtv.org/
sendHostStr: {"default_runlevel": "2", "bogomips": "7233.01", much more data here ... }
Sending Host
Error contacting Server: HTTP Error 500: Internal error
Could not send - Exiting
In mythconverg, HardwareProfileLastUpdated = 2012-04-27T15:28:30.
Watching the protocol, the initial GET is accepted (smolt returns code 200 OK.)
But the following POST fails:
http://smolt.mythtv.org/client/add_json, POST /client/add_json HTTP/1.1
500 Internal error
--
Bill
More information about the mythtv-users
mailing list