[mythtv-users] mythtv-setup hanging at Video Sources

James Abernathy jfabernathy at gmail.com
Sat Jan 7 18:02:27 UTC 2023


On Sat, Jan 7, 2023 at 11:33 AM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Sat, 7 Jan 2023 10:51:34 -0500, you wrote:
>
> >On Sat, Jan 7, 2023 at 10:47 AM Ian Cameron <mkbloke at gmail.com> wrote:
> >
> >>
> >>
> >> On Sat, 7 Jan 2023 at 15:03, James Abernathy <jfabernathy at gmail.com>
> >> wrote:
> >>
> >>> I was trying to install MythTV and came to the part where I'm setting
> up
> >>> the backend with mythtv-setup and when I select New Video Source it
> never
> >>> responds. I can't exit, and have to switch to a console login
> (Ctl-Alt-F3)
> >>> and reboot.
> >>>
> >>
> >> I saw somebody else report exactly the same issue on IRC in
> >> #mythtv-users.  I was going to suggest they file an issue on GitHub
> about
> >> it, but they'd left the channel by the time I saw it.  I'd suggest you
> do
> >> that if nobody else has already.
> >>
> >>  Cheers, Ian
> >>
> >
> >Okay, I will. Not sure I can be as helpful as I'd like with this lack of
> >real data. I checked the logs and nothing of real interest.
> >
> >Jim A
>
> Like all the MythTV programs, mythtv-setup.real accepts debug options
> on its command line.  Run this from a command line to see the options:
>
> mythtv-setup.real --help
>
> When running it without --help, make sure to do it from the mythtv
> user or a user in the mythtv group (such as the user that runs the GUI
> and mythfrontend).  When run from the command line, the log output
> will normally be back to that terminal, so you can see it and collect
> it using a command line like this:
>
> mythtv-setup.real --loglevel debug -v all 2&>1 | tee mythtv-setup.log
>

Thanks, for accuracy  I fixed the typo 2>&1. However, I did get a lot of
logging, about 2M worth.

The relevant part seems to be:

2023-01-07 12:42:26.904467 I  MSqlQuery::exec(DBManager1) SELECT CAST(name
AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took 1ms, Returned 0
row(s)
2023-01-07 12:42:26.904756 D  Setting 'Perform EIT Scan' changed to 1
2023-01-07 12:42:26.904815 D  Setting 'Perform EIT Scan' changed to 0
2023-01-07 12:42:26.906689 I  MSqlQuery::exec(DBManager1) SELECT
xmltvgrabber, userid, password, lineupid FROM videosource WHERE sourceid =
'0' <<<< Took 0ms, Returned 0 row(s)
2023-01-07 12:42:26.906952 I  InputHandler: Locking input devices
2023-01-07 12:42:26.906966 N  Suspending idle timer
2023-01-07 12:42:26.907751 D  Launching: tv_find_grabbers baseline
2023-01-07 12:42:26.927515 I  Managed child (PID: 2551) has started! *
command=tv_find_grabbers baseline, timeout=25
2023-01-07 12:42:26.927787 I  (0xaaaae405f790)::IncrRef() -> 2
2023-01-07 12:42:26.928227 I  XMLTVGrabber::Load(): Running
'tv_find_grabbers baseline'.
2023-01-07 12:42:26.968551 I  Managed child (PID: 2551) has exited!
command=tv_find_grabbers baseline, status=32512, result=127
2023-01-07 12:42:26.978728 I  (0xaaaae405f790)::DecrRef() -> 1
2023-01-07 12:42:26.978757 E  XMLTVGrabber::Load(): Failed to run
tv_find_grabbers
2023-01-07 12:42:26.978817 I  (0xaaaae405f790)::DecrRef() -> 0
2023-01-07 12:42:26.981466 I  MSqlQuery::exec(DBManager1) SELECT
CAST(xmltvgrabber AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.983209 I  MSqlQuery::exec(DBManager1) SELECT
CAST(useeit AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took 0ms,
Returned 0 row(s)
2023-01-07 12:42:26.984887 I  MSqlQuery::exec(DBManager1) SELECT
CAST(useeit AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took 0ms,
Returned 0 row(s)
2023-01-07 12:42:26.986451 I  MSqlQuery::exec(DBManager1) SELECT
CAST(freqtable AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.988096 I  MSqlQuery::exec(DBManager1) SELECT
CAST(scanfrequency AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.989601 I  MSqlQuery::exec(DBManager1) SELECT
CAST(dvb_nit_id AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.991284 I  MSqlQuery::exec(DBManager1) SELECT
CAST(bouquet_id AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.992665 I  MSqlQuery::exec(DBManager1) SELECT
CAST(region_id AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.993490 I  MSqlQuery::exec(DBManager1) SELECT
CAST(lcnoffset AS CHAR) FROM videosource WHERE sourceid = '0' <<<< Took
0ms, Returned 0 row(s)
2023-01-07 12:42:26.996443 I  InputHandler: Unlocking input devices
2023-01-07 12:42:26.996456 N  Resuming idle timer
2023-01-07 12:42:46.386036 I  (0xffff640078f0)::IncrRef() -> 2
2023-01-07 12:42:46.386052 I  (0xffff640078f0)::DecrRef() -> 1
2023-01-07 12:42:46.386071 I  (0xffff640104c0)::IncrRef() -> 2
2023-01-07 12:42:46.386080 I  (0xffff640104c0)::DecrRef() -> 1
2023-01-07 12:42:46.386096 I  (0xffff64005f40)::IncrRef() -> 2
2023-01-07 12:42:46.386103 I  (0xffff64005f40)::DecrRef() -> 1
2023-01-07 12:42:46.386108 I  (0xffff640077b0)::IncrRef() -> 2

I can put the rest of it on the github issue.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230107/cac26786/attachment.htm>


More information about the mythtv-users mailing list