[mythtv-users] webfrontend error

Stuart Auchterlonie stuarta at squashedfrog.net
Tue Jan 4 22:04:05 UTC 2022


On 04/01/2022 18:12, James Abernathy wrote:
> 
> 
> On Tue, Jan 4, 2022 at 12:27 PM Stuart Auchterlonie 
> <stuarta at squashedfrog.net <mailto:stuarta at squashedfrog.net>> wrote:
> 
>     On 01/01/2022 01:26, James Abernathy wrote:
>      > I've been playing with mythtv BE/FE combo on Arch Linux with
>      > Pre32-master. SInce I have not gotten mythweb to work, I've been
>     testing
>      > webfrontend. I used the listing page to schedule a recording (CBS
>      > Saturday Morning) and that worked.  Then I tried to edit recording
>      > rules. I didn't have an issue with a normal recording but
>      > nothing happened when I tried to edit the Default Template. So I
>     checked
>      > the journalctl and saw this.
>      >
>      > Dec 31 20:09:33 den-pc mythbackend[609]: mythbackend[609]: I
>     Scheduler
>      > scheduler.cpp:2330 (HandleReschedule) Reschedule requested for
>     MATCH 6 0
>      > 0 - SaveRule CBS Saturday Morning
>      > Dec 31 20:09:33 den-pc mythbackend[609]: mythbackend[609]: I
>     Scheduler
>      > scheduler.cpp:2444 (HandleReschedule) Scheduled 1 items in 0.0 =
>     0.01
>      > match + 0.00 check + 0.00 place
>      > Dec 31 20:09:33 den-pc mythbackend[609]: mythbackend[609]: I
>     Scheduler
>      > mythdbcon.cpp:423 (PurgeIdleConnections) New DB connection, total: 14
>      > Dec 31 20:10:31 den-pc mythbackend[609]: mythbackend[609]: I
>      > HttpServer38 mythcommandlineparser.cpp:2816 (operator()) Qt: Update
>      > Record Schedule: 6
>      > Dec 31 20:10:31 den-pc mythbackend[609]: mythbackend[609]: I
>     Scheduler
>      > scheduler.cpp:2330 (HandleReschedule) Reschedule requested for
>     MATCH 6 0
>      > 0 - SaveRule CBS Saturday Morning
>      > Dec 31 20:10:31 den-pc mythbackend[609]: mythbackend[609]: C
>      > HttpServer38 httprequest.cpp:2377 (AddCORSHeaders) HTTPRequest:
>      > Cross-origin request received with origin
>     (http://den-pc.local:6544 <http://den-pc.local:6544>
>      > <http://den-pc.local:6544 <http://den-pc.local:6544>>)
>      > Dec 31 20:10:31 den-pc mythbackend[609]: mythbackend[609]: I
>     Scheduler
>      > scheduler.cpp:2444 (HandleReschedule) Scheduled 1 items in 0.0 =
>     0.01
>      > match + 0.00 check + 0.00 place
>      > Dec 31 20:10:44 den-pc mythbackend[609]: mythbackend[609]: E
>      > HttpServer38 serverSideScripting.cpp:398 (EvaluatePage) Error
>     calling
>      > QSP File: /usr/share/mythtv/html/tv/schedule.qsp(394) - Error:
>     Channel
>      > ID is invalid
>      > Dec 31 20:11:01 den-pc mythbackend[609]: mythbackend[609]: E
>      > HttpServer38 serverSideScripting.cpp:398 (EvaluatePage) Error
>     calling
>      > QSP File: /usr/share/mythtv/html/tv/schedule.qsp(394) - Error:
>     Channel
>      > ID is invalid
>      >
>      > Should I open an issue somewhere on github?
>      >
>      > JIm A
>      >
> 
>     Jim,
> 
>     Could you capture the API calls using the web debugger from your
>     browser?
> 
>     That way we can see if something odd is being done for the call.
> 
>     Also check the web console (which you will also see in the debugger)
> 
> 
>     Regards
>     Stuart
> 
> 
> Not sure how to do all of this but I turned on the debugger of Google 
> Chrome and there is a Console tab.  Here's what's there for 2 tries at 
> the Editing the Default Template.

So you've found the right piece of chrome.
Visit the network tab, and hit reload on the page / perform your action
and see if any of the requests get a 4xx or 5xx error.
I'm expecting at least 1 when the call is performed that errors out,
and once you click on the request in question, you can see the full
request and response headers. This is what i'm interested in.

Simples! :-)


Regards
Stuart



More information about the mythtv-users mailing list