[mythtv-users] Frontend submits hardware profile every startup
Thomas Mashos
thomas at mashos.com
Fri Jun 15 21:31:51 UTC 2012
On Fri, Jun 15, 2012 at 10:29 AM, Bill Meek <keemllib at gmail.com> wrote:
> 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
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
So I've been working with a user in our Mythbuntu IRC channel and we
resolved this issue for him. In mythtv-setup, he needed to set a PIN
(his was blank). Please try setting the PIN and seeing if that
resolves the 500 error for you and let me know.
Thanks,
Thomas Mashos
More information about the mythtv-users
mailing list