Mailing List Archive

Still setting up XMLTV
I made some more progress setting up my new XMLTV grabber. I think I have
my config file and my database set up. Mythfilldatabase is still not
working. When I run I get this back, I get this back now:

mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase
2021-07-10 12:52:30.978515 C mythfilldatabase version: fixes/31
[v31.0-v31.0] www.mythtv.org
2021-07-10 12:52:30.978527 C Qt version: compile: 5.12.5, runtime: 5.12.8
2021-07-10 12:52:30.978725 I Ubuntu 20.04.2 LTS (x86_64)
2021-07-10 12:52:30.978730 N Enabled verbose msgs: general
2021-07-10 12:52:30.978740 N Setting Log Level to LOG_INFO
2021-07-10 12:52:30.991912 I Added logging to the console
2021-07-10 12:52:30.992199 I Setup Interrupt handler
2021-07-10 12:52:30.992205 I Setup Terminated handler
2021-07-10 12:52:30.992211 I Setup Segmentation fault handler
2021-07-10 12:52:30.992215 I Setup Aborted handler
2021-07-10 12:52:30.992219 I Setup Bus error handler
2021-07-10 12:52:30.992225 I Setup Floating point exception handler
2021-07-10 12:52:30.992229 I Setup Illegal instruction handler
2021-07-10 12:52:30.992236 I Setup Real-time signal 0 handler
2021-07-10 12:52:30.992240 I Setup Hangup handler
2021-07-10 12:52:30.992316 N Using runtime prefix = /usr
2021-07-10 12:52:30.992319 N Using configuration directory =
/home/mythtv/.mythtv
2021-07-10 12:52:30.992344 I Assumed character encoding: en_US.UTF-8
2021-07-10 12:52:30.992788 I Empty LocalHostName. This is typical.
2021-07-10 12:52:30.992795 I Using a profile name of: 'Linux-Desktop'
(Usually the same as this host's name.)
2021-07-10 12:52:30.992837 I Start up testing connections. DB localhost,
BE , attempt 0, status dbAwake, Delay: 2000
2021-07-10 12:52:32.007731 N Setting QT default locale to en_US
2021-07-10 12:52:32.007740 I Current locale en_US
2021-07-10 12:52:32.007951 N Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2021-07-10 12:52:32.021271 I PowerDBus: Added UPower.Device
'/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
2021-07-10 12:52:32.021454 I Power: On AC power
2021-07-10 12:52:32.033397 I Power: Supported actions:
Suspend,Restart,Shutdown
2021-07-10 12:52:32.034224 I Loading en_us translation for module
mythfrontend
2021-07-10 12:52:32.035030 I Current MythTV Schema Version (DBSchemaVer):
1361
2021-07-10 12:52:32.036627 I MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2021-07-10 12:52:32.038216 I MythCoreContext::CheckProtoVersion(): Using
protocol version 91 BuzzOff
2021-07-10 12:52:32.038374 I Opening blocking connection to master backend
2021-07-10 12:52:32.081147 I Updating source #1 (SD) with grabber
tv_grab_zz_sdjson_sqlite
2021-07-10 12:52:32.082219 I Found 279 channels for source 1 which use
grabber
2021-07-10 12:52:32.082461 I Starting IO manager (read)
2021-07-10 12:52:32.082449 I Starting process signal handler
2021-07-10 12:52:32.083229 I Starting IO manager (write)
2021-07-10 12:52:32.083385 I Starting process manager
2021-07-10 12:52:32.683420 I Grabber has capabilities: baseline
manualconfig preferredmethod lineups apiconfig
2021-07-10 12:52:33.338342 I Grabber prefers method: allatonce
2021-07-10 12:52:33.338855 I XMLTV config file is:
/home/mythtv/.mythtv/SD.xmltv
2021-07-10 12:52:34.051189 E FillData: XMLTV grabber returned error code 1
2021-07-10 12:52:34.400985 E Error in 1:1: unexpected end of file
2021-07-10 12:52:34.430104 I Cardutil: HDHomeRun Cablecard Present.
2021-07-10 12:52:34.449013 I Cardutil: HDHomeRun Cablecard Present.
2021-07-10 12:52:34.467689 I Cardutil: HDHomeRun Cablecard Present.
2021-07-10 12:52:34.468362 I No programs found in data.
2021-07-10 12:52:34.509654 E Failed to fetch some program info
2021-07-10 12:52:34.509679 I Adjusting program database end times.
2021-07-10 12:52:34.551841 I 0 replacements made
2021-07-10 12:52:34.551846 I Marking generic episodes.
2021-07-10 12:52:34.593770 I Found 0
2021-07-10 12:52:34.593776 I Extending non-unique programids with multiple
parts.
2021-07-10 12:52:34.635569 I Found 0
2021-07-10 12:52:34.635574 I Fixing missing original airdates.
2021-07-10 12:52:34.718546 I Found 0 with programids
2021-07-10 12:52:34.801869 I Found 0 without programids
2021-07-10 12:52:34.801874 I Marking repeats.
2021-07-10 12:52:34.802978 I Found 0
2021-07-10 12:52:34.802982 I Unmarking new episode rebroadcast repeats.
2021-07-10 12:52:34.803122 I Found 0
2021-07-10 12:52:34.844810 I Marking episode first showings.
2021-07-10 12:52:35.014316 I Found 0
2021-07-10 12:52:35.014326 I Marking episode last showings.
2021-07-10 12:52:35.190043 I Found 0
2021-07-10 12:52:35.234908 I
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2021-07-10 12:52:35.235438 N mythfilldatabase run complete.
2021-07-10 12:52:35.235493 I PowerDBus: Closing interfaces
2021-07-10 12:52:35.236767 I Waiting for threads to exit.
2021-07-10 12:52:35.236989 I Exiting

Does anyone have any idea what is wrong?

Lloyd
Re: Still setting up XMLTV [ In reply to ]
On 7/10/21 2:06 PM, Lloyd Chittenden wrote:
> I made some more progress setting up my new XMLTV grabber.  I think I have my config file and my database set up.  Mythfilldatabase is still not
> working.  When I run I get this back, I get this back now:
>
> mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase
> 2021-07-10 12:52:30.978515 C  mythfilldatabase version: fixes/31 [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
> 2021-07-10 12:52:30.978527 C  Qt version: compile: 5.12.5, runtime: 5.12.8
> 2021-07-10 12:52:30.978725 I  Ubuntu 20.04.2 LTS (x86_64)
> 2021-07-10 12:52:30.978730 N  Enabled verbose msgs:  general
> 2021-07-10 12:52:30.978740 N  Setting Log Level to LOG_INFO
> 2021-07-10 12:52:30.991912 I  Added logging to the console
> 2021-07-10 12:52:30.992199 I  Setup Interrupt handler
> 2021-07-10 12:52:30.992205 I  Setup Terminated handler
> 2021-07-10 12:52:30.992211 I  Setup Segmentation fault handler
> 2021-07-10 12:52:30.992215 I  Setup Aborted handler
> 2021-07-10 12:52:30.992219 I  Setup Bus error handler
> 2021-07-10 12:52:30.992225 I  Setup Floating point exception handler
> 2021-07-10 12:52:30.992229 I  Setup Illegal instruction handler
> 2021-07-10 12:52:30.992236 I  Setup Real-time signal 0 handler
> 2021-07-10 12:52:30.992240 I  Setup Hangup handler
> 2021-07-10 12:52:30.992316 N  Using runtime prefix = /usr
> 2021-07-10 12:52:30.992319 N  Using configuration directory = /home/mythtv/.mythtv
> 2021-07-10 12:52:30.992344 I  Assumed character encoding: en_US.UTF-8
> 2021-07-10 12:52:30.992788 I  Empty LocalHostName. This is typical.
> 2021-07-10 12:52:30.992795 I  Using a profile name of: 'Linux-Desktop' (Usually the same as this host's name.)
> 2021-07-10 12:52:30.992837 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
> 2021-07-10 12:52:32.007731 N  Setting QT default locale to en_US
> 2021-07-10 12:52:32.007740 I  Current locale en_US
> 2021-07-10 12:52:32.007951 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> 2021-07-10 12:52:32.021271 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> 2021-07-10 12:52:32.021454 I  Power: On AC power
> 2021-07-10 12:52:32.033397 I  Power: Supported actions: Suspend,Restart,Shutdown
> 2021-07-10 12:52:32.034224 I  Loading en_us translation for module mythfrontend
> 2021-07-10 12:52:32.035030 I  Current MythTV Schema Version (DBSchemaVer): 1361
> 2021-07-10 12:52:32.036627 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 <http://127.0.0.1:6543> (try
> 1 of 1)
> 2021-07-10 12:52:32.038216 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
> 2021-07-10 12:52:32.038374 I  Opening blocking connection to master backend
> 2021-07-10 12:52:32.081147 I  Updating source #1 (SD) with grabber tv_grab_zz_sdjson_sqlite
> 2021-07-10 12:52:32.082219 I  Found 279 channels for source 1 which use grabber
> 2021-07-10 12:52:32.082461 I  Starting IO manager (read)
> 2021-07-10 12:52:32.082449 I  Starting process signal handler
> 2021-07-10 12:52:32.083229 I  Starting IO manager (write)
> 2021-07-10 12:52:32.083385 I  Starting process manager
> 2021-07-10 12:52:32.683420 I  Grabber has capabilities: baseline manualconfig preferredmethod lineups apiconfig
> 2021-07-10 12:52:33.338342 I  Grabber prefers method: allatonce
> 2021-07-10 12:52:33.338855 I  XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv
> 2021-07-10 12:52:34.051189 E  FillData: XMLTV grabber returned error code 1
> 2021-07-10 12:52:34.400985 E  Error in 1:1: unexpected end of file
> 2021-07-10 12:52:34.430104 I  Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 12:52:34.449013 I  Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 12:52:34.467689 I  Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 12:52:34.468362 I  No programs found in data.
> 2021-07-10 12:52:34.509654 E  Failed to fetch some program info
> 2021-07-10 12:52:34.509679 I  Adjusting program database end times.
> 2021-07-10 12:52:34.551841 I      0 replacements made
> 2021-07-10 12:52:34.551846 I  Marking generic episodes.
> 2021-07-10 12:52:34.593770 I      Found 0
> 2021-07-10 12:52:34.593776 I  Extending non-unique programids with multiple parts.
> 2021-07-10 12:52:34.635569 I      Found 0
> 2021-07-10 12:52:34.635574 I  Fixing missing original airdates.
> 2021-07-10 12:52:34.718546 I      Found 0 with programids
> 2021-07-10 12:52:34.801869 I      Found 0 without programids
> 2021-07-10 12:52:34.801874 I  Marking repeats.
> 2021-07-10 12:52:34.802978 I      Found 0
> 2021-07-10 12:52:34.802982 I  Unmarking new episode rebroadcast repeats.
> 2021-07-10 12:52:34.803122 I      Found 0
> 2021-07-10 12:52:34.844810 I  Marking episode first showings.
> 2021-07-10 12:52:35.014316 I      Found 0
> 2021-07-10 12:52:35.014326 I  Marking episode last showings.
> 2021-07-10 12:52:35.190043 I      Found 0
> 2021-07-10 12:52:35.234908 I  
> ===============================================================
> | Attempting to contact the master backend for rescheduling.  |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted.                            |
> ===============================================================
> 2021-07-10 12:52:35.235438 N  mythfilldatabase run complete.
> 2021-07-10 12:52:35.235493 I  PowerDBus: Closing interfaces
> 2021-07-10 12:52:35.236767 I  Waiting for threads to exit.
> 2021-07-10 12:52:35.236989 I  Exiting
>
> Does anyone have any idea what is wrong?
>
> Lloyd

Hi, if you have v31 up to date, then run: mythfilldatabase -v xmltv

There may be more clues in the output. I'm assuming that XMLTV was
setup by user mythtv. That would say that under your own user, there
is no .mythtv/SD.xmltv file or .xmltv/SchedulesDirect.DB.

The line: ... XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv line above
looks good. And, it's being run as user mythtv, also good.

https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Here's the result of that

mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase -v xmltv
2021-07-10 14:18:52.214375 C mythfilldatabase version: fixes/31
[v31.0-v31.0] www.mythtv.org
2021-07-10 14:18:52.214387 C Qt version: compile: 5.12.5, runtime: 5.12.8
2021-07-10 14:18:52.215019 I Ubuntu 20.04.2 LTS (x86_64)
2021-07-10 14:18:52.215029 N Enabled verbose msgs: general xmltv
2021-07-10 14:18:52.215042 N Setting Log Level to LOG_INFO
2021-07-10 14:18:52.225392 I Added logging to the console
2021-07-10 14:18:52.225655 I Setup Interrupt handler
2021-07-10 14:18:52.225661 I Setup Terminated handler
2021-07-10 14:18:52.225665 I Setup Segmentation fault handler
2021-07-10 14:18:52.225671 I Setup Aborted handler
2021-07-10 14:18:52.225675 I Setup Bus error handler
2021-07-10 14:18:52.225680 I Setup Floating point exception handler
2021-07-10 14:18:52.225684 I Setup Illegal instruction handler
2021-07-10 14:18:52.225691 I Setup Real-time signal 0 handler
2021-07-10 14:18:52.225695 I Setup Hangup handler
2021-07-10 14:18:52.225775 N Using runtime prefix = /usr
2021-07-10 14:18:52.225778 N Using configuration directory =
/home/mythtv/.mythtv
2021-07-10 14:18:52.225802 I Assumed character encoding: en_US.UTF-8
2021-07-10 14:18:52.226663 I Empty LocalHostName. This is typical.
2021-07-10 14:18:52.226669 I Using a profile name of: 'Linux-Desktop'
(Usually the same as this host's name.)
2021-07-10 14:18:52.226711 I Start up testing connections. DB localhost,
BE , attempt 0, status dbAwake, Delay: 2000
2021-07-10 14:18:53.243994 N Setting QT default locale to en_US
2021-07-10 14:18:53.244002 I Current locale en_US
2021-07-10 14:18:53.244541 N Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2021-07-10 14:18:53.257733 I PowerDBus: Added UPower.Device
'/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
2021-07-10 14:18:53.257959 I Power: On AC power
2021-07-10 14:18:53.269712 I Power: Supported actions:
Suspend,Restart,Shutdown
2021-07-10 14:18:53.270857 I Loading en_us translation for module
mythfrontend
2021-07-10 14:18:53.271644 I Current MythTV Schema Version (DBSchemaVer):
1361
2021-07-10 14:18:53.272994 I MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2021-07-10 14:18:53.274116 I MythCoreContext::CheckProtoVersion(): Using
protocol version 91 BuzzOff
2021-07-10 14:18:53.274273 I Opening blocking connection to master backend
2021-07-10 14:18:53.316907 I Updating source #1 (SD) with grabber
tv_grab_zz_sdjson_sqlite
2021-07-10 14:18:53.317901 I Found 279 channels for source 1 which use
grabber
2021-07-10 14:18:53.318135 I Starting IO manager (read)
2021-07-10 14:18:53.318123 I Starting process signal handler
2021-07-10 14:18:53.318937 I Starting IO manager (write)
2021-07-10 14:18:53.319112 I Starting process manager
2021-07-10 14:18:54.427104 I Grabber has capabilities: baseline
manualconfig preferredmethod lineups apiconfig
2021-07-10 14:18:55.027895 I Grabber prefers method: allatonce
2021-07-10 14:18:55.029611 I XMLTV config file is:
/home/mythtv/.mythtv/SD.xmltv
2021-07-10 14:18:55.031241 I Grabber Command: nice
tv_grab_zz_sdjson_sqlite --config-file '/home/mythtv/.mythtv/SD.xmltv'
--output /tmp/mythLEK5YD
2021-07-10 14:18:55.031245 I ----------------- Start of XMLTV output
-----------------
2021-07-10 14:18:55.728868 I ------------------ End of XMLTV output
------------------
2021-07-10 14:18:55.729691 E FillData: XMLTV grabber returned error code 1
2021-07-10 14:18:56.330185 E Error in 1:1: unexpected end of file
2021-07-10 14:18:56.363482 I Cardutil: HDHomeRun Cablecard Present.
2021-07-10 14:18:56.383412 I Cardutil: HDHomeRun Cablecard Present.
2021-07-10 14:18:56.402275 I Cardutil: HDHomeRun Cablecard Present.
2021-07-10 14:18:56.403357 I No programs found in data.
2021-07-10 14:18:56.445860 E Failed to fetch some program info
2021-07-10 14:18:56.445884 I Adjusting program database end times.
2021-07-10 14:18:56.488148 I 0 replacements made
2021-07-10 14:18:56.488153 I Marking generic episodes.
2021-07-10 14:18:56.529461 I Found 0
2021-07-10 14:18:56.529465 I Extending non-unique programids with multiple
parts.
2021-07-10 14:18:56.571466 I Found 0
2021-07-10 14:18:56.571472 I Fixing missing original airdates.
2021-07-10 14:18:56.654205 I Found 0 with programids
2021-07-10 14:18:56.742291 I Found 0 without programids
2021-07-10 14:18:56.742296 I Marking repeats.
2021-07-10 14:18:56.743185 I Found 0
2021-07-10 14:18:56.743188 I Unmarking new episode rebroadcast repeats.
2021-07-10 14:18:56.743416 I Found 0
2021-07-10 14:18:56.785621 I Marking episode first showings.
2021-07-10 14:18:56.951084 I Found 0
2021-07-10 14:18:56.951090 I Marking episode last showings.
2021-07-10 14:18:57.118370 I Found 0
2021-07-10 14:18:57.161178 I
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2021-07-10 14:18:57.161688 N mythfilldatabase run complete.
2021-07-10 14:18:57.161741 I PowerDBus: Closing interfaces
2021-07-10 14:18:57.161948 I Waiting for threads to exit.
2021-07-10 14:18:57.163956 I Exiting

On Sat, Jul 10, 2021 at 1:41 PM Bill Meek <keemllib@gmail.com> wrote:

> On 7/10/21 2:06 PM, Lloyd Chittenden wrote:
> > I made some more progress setting up my new XMLTV grabber. I think I
> have my config file and my database set up. Mythfilldatabase is still not
> > working. When I run I get this back, I get this back now:
> >
> > mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase
> > 2021-07-10 12:52:30.978515 C mythfilldatabase version: fixes/31
> [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
> > 2021-07-10 12:52:30.978527 C Qt version: compile: 5.12.5, runtime:
> 5.12.8
> > 2021-07-10 12:52:30.978725 I Ubuntu 20.04.2 LTS (x86_64)
> > 2021-07-10 12:52:30.978730 N Enabled verbose msgs: general
> > 2021-07-10 12:52:30.978740 N Setting Log Level to LOG_INFO
> > 2021-07-10 12:52:30.991912 I Added logging to the console
> > 2021-07-10 12:52:30.992199 I Setup Interrupt handler
> > 2021-07-10 12:52:30.992205 I Setup Terminated handler
> > 2021-07-10 12:52:30.992211 I Setup Segmentation fault handler
> > 2021-07-10 12:52:30.992215 I Setup Aborted handler
> > 2021-07-10 12:52:30.992219 I Setup Bus error handler
> > 2021-07-10 12:52:30.992225 I Setup Floating point exception handler
> > 2021-07-10 12:52:30.992229 I Setup Illegal instruction handler
> > 2021-07-10 12:52:30.992236 I Setup Real-time signal 0 handler
> > 2021-07-10 12:52:30.992240 I Setup Hangup handler
> > 2021-07-10 12:52:30.992316 N Using runtime prefix = /usr
> > 2021-07-10 12:52:30.992319 N Using configuration directory =
> /home/mythtv/.mythtv
> > 2021-07-10 12:52:30.992344 I Assumed character encoding: en_US.UTF-8
> > 2021-07-10 12:52:30.992788 I Empty LocalHostName. This is typical.
> > 2021-07-10 12:52:30.992795 I Using a profile name of: 'Linux-Desktop'
> (Usually the same as this host's name.)
> > 2021-07-10 12:52:30.992837 I Start up testing connections. DB
> localhost, BE , attempt 0, status dbAwake, Delay: 2000
> > 2021-07-10 12:52:32.007731 N Setting QT default locale to en_US
> > 2021-07-10 12:52:32.007740 I Current locale en_US
> > 2021-07-10 12:52:32.007951 N Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> > 2021-07-10 12:52:32.021271 I PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> > 2021-07-10 12:52:32.021454 I Power: On AC power
> > 2021-07-10 12:52:32.033397 I Power: Supported actions:
> Suspend,Restart,Shutdown
> > 2021-07-10 12:52:32.034224 I Loading en_us translation for module
> mythfrontend
> > 2021-07-10 12:52:32.035030 I Current MythTV Schema Version
> (DBSchemaVer): 1361
> > 2021-07-10 12:52:32.036627 I MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 127.0.0.1:6543 <http://127.0.0.1:6543> (try
> > 1 of 1)
> > 2021-07-10 12:52:32.038216 I MythCoreContext::CheckProtoVersion():
> Using protocol version 91 BuzzOff
> > 2021-07-10 12:52:32.038374 I Opening blocking connection to master
> backend
> > 2021-07-10 12:52:32.081147 I Updating source #1 (SD) with grabber
> tv_grab_zz_sdjson_sqlite
> > 2021-07-10 12:52:32.082219 I Found 279 channels for source 1 which use
> grabber
> > 2021-07-10 12:52:32.082461 I Starting IO manager (read)
> > 2021-07-10 12:52:32.082449 I Starting process signal handler
> > 2021-07-10 12:52:32.083229 I Starting IO manager (write)
> > 2021-07-10 12:52:32.083385 I Starting process manager
> > 2021-07-10 12:52:32.683420 I Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> > 2021-07-10 12:52:33.338342 I Grabber prefers method: allatonce
> > 2021-07-10 12:52:33.338855 I XMLTV config file is:
> /home/mythtv/.mythtv/SD.xmltv
> > 2021-07-10 12:52:34.051189 E FillData: XMLTV grabber returned error
> code 1
> > 2021-07-10 12:52:34.400985 E Error in 1:1: unexpected end of file
> > 2021-07-10 12:52:34.430104 I Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 12:52:34.449013 I Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 12:52:34.467689 I Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 12:52:34.468362 I No programs found in data.
> > 2021-07-10 12:52:34.509654 E Failed to fetch some program info
> > 2021-07-10 12:52:34.509679 I Adjusting program database end times.
> > 2021-07-10 12:52:34.551841 I 0 replacements made
> > 2021-07-10 12:52:34.551846 I Marking generic episodes.
> > 2021-07-10 12:52:34.593770 I Found 0
> > 2021-07-10 12:52:34.593776 I Extending non-unique programids with
> multiple parts.
> > 2021-07-10 12:52:34.635569 I Found 0
> > 2021-07-10 12:52:34.635574 I Fixing missing original airdates.
> > 2021-07-10 12:52:34.718546 I Found 0 with programids
> > 2021-07-10 12:52:34.801869 I Found 0 without programids
> > 2021-07-10 12:52:34.801874 I Marking repeats.
> > 2021-07-10 12:52:34.802978 I Found 0
> > 2021-07-10 12:52:34.802982 I Unmarking new episode rebroadcast repeats.
> > 2021-07-10 12:52:34.803122 I Found 0
> > 2021-07-10 12:52:34.844810 I Marking episode first showings.
> > 2021-07-10 12:52:35.014316 I Found 0
> > 2021-07-10 12:52:35.014326 I Marking episode last showings.
> > 2021-07-10 12:52:35.190043 I Found 0
> > 2021-07-10 12:52:35.234908 I
> > ===============================================================
> > | Attempting to contact the master backend for rescheduling. |
> > | If the master is not running, rescheduling will happen when |
> > | the master backend is restarted. |
> > ===============================================================
> > 2021-07-10 12:52:35.235438 N mythfilldatabase run complete.
> > 2021-07-10 12:52:35.235493 I PowerDBus: Closing interfaces
> > 2021-07-10 12:52:35.236767 I Waiting for threads to exit.
> > 2021-07-10 12:52:35.236989 I Exiting
> >
> > Does anyone have any idea what is wrong?
> >
> > Lloyd
>
> Hi, if you have v31 up to date, then run: mythfilldatabase -v xmltv
>
> There may be more clues in the output. I'm assuming that XMLTV was
> setup by user mythtv. That would say that under your own user, there
> is no .mythtv/SD.xmltv file or .xmltv/SchedulesDirect.DB.
>
> The line: ... XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv line
> above
> looks good. And, it's being run as user mythtv, also good.
>
> https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Still setting up XMLTV [ In reply to ]
I just realized that buried deep on the XMLTV wiki page is information
about converting from DataDirect to XMLTV. It talks about deleting and
re-adding your channels. I guess I need to update my xmltvids? Would that
cause this?

Lloyd

On Sat, Jul 10, 2021 at 2:23 PM Lloyd Chittenden <lloydc23@gmail.com> wrote:

> Here's the result of that
>
> mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase -v xmltv
> 2021-07-10 14:18:52.214375 C mythfilldatabase version: fixes/31
> [v31.0-v31.0] www.mythtv.org
> 2021-07-10 14:18:52.214387 C Qt version: compile: 5.12.5, runtime: 5.12.8
> 2021-07-10 14:18:52.215019 I Ubuntu 20.04.2 LTS (x86_64)
> 2021-07-10 14:18:52.215029 N Enabled verbose msgs: general xmltv
> 2021-07-10 14:18:52.215042 N Setting Log Level to LOG_INFO
> 2021-07-10 14:18:52.225392 I Added logging to the console
> 2021-07-10 14:18:52.225655 I Setup Interrupt handler
> 2021-07-10 14:18:52.225661 I Setup Terminated handler
> 2021-07-10 14:18:52.225665 I Setup Segmentation fault handler
> 2021-07-10 14:18:52.225671 I Setup Aborted handler
> 2021-07-10 14:18:52.225675 I Setup Bus error handler
> 2021-07-10 14:18:52.225680 I Setup Floating point exception handler
> 2021-07-10 14:18:52.225684 I Setup Illegal instruction handler
> 2021-07-10 14:18:52.225691 I Setup Real-time signal 0 handler
> 2021-07-10 14:18:52.225695 I Setup Hangup handler
> 2021-07-10 14:18:52.225775 N Using runtime prefix = /usr
> 2021-07-10 14:18:52.225778 N Using configuration directory =
> /home/mythtv/.mythtv
> 2021-07-10 14:18:52.225802 I Assumed character encoding: en_US.UTF-8
> 2021-07-10 14:18:52.226663 I Empty LocalHostName. This is typical.
> 2021-07-10 14:18:52.226669 I Using a profile name of: 'Linux-Desktop'
> (Usually the same as this host's name.)
> 2021-07-10 14:18:52.226711 I Start up testing connections. DB localhost,
> BE , attempt 0, status dbAwake, Delay: 2000
> 2021-07-10 14:18:53.243994 N Setting QT default locale to en_US
> 2021-07-10 14:18:53.244002 I Current locale en_US
> 2021-07-10 14:18:53.244541 N Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2021-07-10 14:18:53.257733 I PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> 2021-07-10 14:18:53.257959 I Power: On AC power
> 2021-07-10 14:18:53.269712 I Power: Supported actions:
> Suspend,Restart,Shutdown
> 2021-07-10 14:18:53.270857 I Loading en_us translation for module
> mythfrontend
> 2021-07-10 14:18:53.271644 I Current MythTV Schema Version (DBSchemaVer):
> 1361
> 2021-07-10 14:18:53.272994 I MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
> 2021-07-10 14:18:53.274116 I MythCoreContext::CheckProtoVersion(): Using
> protocol version 91 BuzzOff
> 2021-07-10 14:18:53.274273 I Opening blocking connection to master backend
> 2021-07-10 14:18:53.316907 I Updating source #1 (SD) with grabber
> tv_grab_zz_sdjson_sqlite
> 2021-07-10 14:18:53.317901 I Found 279 channels for source 1 which use
> grabber
> 2021-07-10 14:18:53.318135 I Starting IO manager (read)
> 2021-07-10 14:18:53.318123 I Starting process signal handler
> 2021-07-10 14:18:53.318937 I Starting IO manager (write)
> 2021-07-10 14:18:53.319112 I Starting process manager
> 2021-07-10 14:18:54.427104 I Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> 2021-07-10 14:18:55.027895 I Grabber prefers method: allatonce
> 2021-07-10 14:18:55.029611 I XMLTV config file is:
> /home/mythtv/.mythtv/SD.xmltv
> 2021-07-10 14:18:55.031241 I Grabber Command: nice
> tv_grab_zz_sdjson_sqlite --config-file '/home/mythtv/.mythtv/SD.xmltv'
> --output /tmp/mythLEK5YD
> 2021-07-10 14:18:55.031245 I ----------------- Start of XMLTV output
> -----------------
> 2021-07-10 14:18:55.728868 I ------------------ End of XMLTV output
> ------------------
> 2021-07-10 14:18:55.729691 E FillData: XMLTV grabber returned error code 1
> 2021-07-10 14:18:56.330185 E Error in 1:1: unexpected end of file
> 2021-07-10 14:18:56.363482 I Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 14:18:56.383412 I Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 14:18:56.402275 I Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 14:18:56.403357 I No programs found in data.
> 2021-07-10 14:18:56.445860 E Failed to fetch some program info
> 2021-07-10 14:18:56.445884 I Adjusting program database end times.
> 2021-07-10 14:18:56.488148 I 0 replacements made
> 2021-07-10 14:18:56.488153 I Marking generic episodes.
> 2021-07-10 14:18:56.529461 I Found 0
> 2021-07-10 14:18:56.529465 I Extending non-unique programids with
> multiple parts.
> 2021-07-10 14:18:56.571466 I Found 0
> 2021-07-10 14:18:56.571472 I Fixing missing original airdates.
> 2021-07-10 14:18:56.654205 I Found 0 with programids
> 2021-07-10 14:18:56.742291 I Found 0 without programids
> 2021-07-10 14:18:56.742296 I Marking repeats.
> 2021-07-10 14:18:56.743185 I Found 0
> 2021-07-10 14:18:56.743188 I Unmarking new episode rebroadcast repeats.
> 2021-07-10 14:18:56.743416 I Found 0
> 2021-07-10 14:18:56.785621 I Marking episode first showings.
> 2021-07-10 14:18:56.951084 I Found 0
> 2021-07-10 14:18:56.951090 I Marking episode last showings.
> 2021-07-10 14:18:57.118370 I Found 0
> 2021-07-10 14:18:57.161178 I
> ===============================================================
> | Attempting to contact the master backend for rescheduling. |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted. |
> ===============================================================
> 2021-07-10 14:18:57.161688 N mythfilldatabase run complete.
> 2021-07-10 14:18:57.161741 I PowerDBus: Closing interfaces
> 2021-07-10 14:18:57.161948 I Waiting for threads to exit.
> 2021-07-10 14:18:57.163956 I Exiting
>
> On Sat, Jul 10, 2021 at 1:41 PM Bill Meek <keemllib@gmail.com> wrote:
>
>> On 7/10/21 2:06 PM, Lloyd Chittenden wrote:
>> > I made some more progress setting up my new XMLTV grabber. I think I
>> have my config file and my database set up. Mythfilldatabase is still not
>> > working. When I run I get this back, I get this back now:
>> >
>> > mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase
>> > 2021-07-10 12:52:30.978515 C mythfilldatabase version: fixes/31
>> [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
>> > 2021-07-10 12:52:30.978527 C Qt version: compile: 5.12.5, runtime:
>> 5.12.8
>> > 2021-07-10 12:52:30.978725 I Ubuntu 20.04.2 LTS (x86_64)
>> > 2021-07-10 12:52:30.978730 N Enabled verbose msgs: general
>> > 2021-07-10 12:52:30.978740 N Setting Log Level to LOG_INFO
>> > 2021-07-10 12:52:30.991912 I Added logging to the console
>> > 2021-07-10 12:52:30.992199 I Setup Interrupt handler
>> > 2021-07-10 12:52:30.992205 I Setup Terminated handler
>> > 2021-07-10 12:52:30.992211 I Setup Segmentation fault handler
>> > 2021-07-10 12:52:30.992215 I Setup Aborted handler
>> > 2021-07-10 12:52:30.992219 I Setup Bus error handler
>> > 2021-07-10 12:52:30.992225 I Setup Floating point exception handler
>> > 2021-07-10 12:52:30.992229 I Setup Illegal instruction handler
>> > 2021-07-10 12:52:30.992236 I Setup Real-time signal 0 handler
>> > 2021-07-10 12:52:30.992240 I Setup Hangup handler
>> > 2021-07-10 12:52:30.992316 N Using runtime prefix = /usr
>> > 2021-07-10 12:52:30.992319 N Using configuration directory =
>> /home/mythtv/.mythtv
>> > 2021-07-10 12:52:30.992344 I Assumed character encoding: en_US.UTF-8
>> > 2021-07-10 12:52:30.992788 I Empty LocalHostName. This is typical.
>> > 2021-07-10 12:52:30.992795 I Using a profile name of: 'Linux-Desktop'
>> (Usually the same as this host's name.)
>> > 2021-07-10 12:52:30.992837 I Start up testing connections. DB
>> localhost, BE , attempt 0, status dbAwake, Delay: 2000
>> > 2021-07-10 12:52:32.007731 N Setting QT default locale to en_US
>> > 2021-07-10 12:52:32.007740 I Current locale en_US
>> > 2021-07-10 12:52:32.007951 N Reading locale defaults from
>> /usr/share/mythtv//locales/en_us.xml
>> > 2021-07-10 12:52:32.021271 I PowerDBus: Added UPower.Device
>> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
>> > 2021-07-10 12:52:32.021454 I Power: On AC power
>> > 2021-07-10 12:52:32.033397 I Power: Supported actions:
>> Suspend,Restart,Shutdown
>> > 2021-07-10 12:52:32.034224 I Loading en_us translation for module
>> mythfrontend
>> > 2021-07-10 12:52:32.035030 I Current MythTV Schema Version
>> (DBSchemaVer): 1361
>> > 2021-07-10 12:52:32.036627 I MythCoreContext::ConnectCommandSocket():
>> Connecting to backend server: 127.0.0.1:6543 <http://127.0.0.1:6543> (try
>> > 1 of 1)
>> > 2021-07-10 12:52:32.038216 I MythCoreContext::CheckProtoVersion():
>> Using protocol version 91 BuzzOff
>> > 2021-07-10 12:52:32.038374 I Opening blocking connection to master
>> backend
>> > 2021-07-10 12:52:32.081147 I Updating source #1 (SD) with grabber
>> tv_grab_zz_sdjson_sqlite
>> > 2021-07-10 12:52:32.082219 I Found 279 channels for source 1 which use
>> grabber
>> > 2021-07-10 12:52:32.082461 I Starting IO manager (read)
>> > 2021-07-10 12:52:32.082449 I Starting process signal handler
>> > 2021-07-10 12:52:32.083229 I Starting IO manager (write)
>> > 2021-07-10 12:52:32.083385 I Starting process manager
>> > 2021-07-10 12:52:32.683420 I Grabber has capabilities: baseline
>> manualconfig preferredmethod lineups apiconfig
>> > 2021-07-10 12:52:33.338342 I Grabber prefers method: allatonce
>> > 2021-07-10 12:52:33.338855 I XMLTV config file is:
>> /home/mythtv/.mythtv/SD.xmltv
>> > 2021-07-10 12:52:34.051189 E FillData: XMLTV grabber returned error
>> code 1
>> > 2021-07-10 12:52:34.400985 E Error in 1:1: unexpected end of file
>> > 2021-07-10 12:52:34.430104 I Cardutil: HDHomeRun Cablecard Present.
>> > 2021-07-10 12:52:34.449013 I Cardutil: HDHomeRun Cablecard Present.
>> > 2021-07-10 12:52:34.467689 I Cardutil: HDHomeRun Cablecard Present.
>> > 2021-07-10 12:52:34.468362 I No programs found in data.
>> > 2021-07-10 12:52:34.509654 E Failed to fetch some program info
>> > 2021-07-10 12:52:34.509679 I Adjusting program database end times.
>> > 2021-07-10 12:52:34.551841 I 0 replacements made
>> > 2021-07-10 12:52:34.551846 I Marking generic episodes.
>> > 2021-07-10 12:52:34.593770 I Found 0
>> > 2021-07-10 12:52:34.593776 I Extending non-unique programids with
>> multiple parts.
>> > 2021-07-10 12:52:34.635569 I Found 0
>> > 2021-07-10 12:52:34.635574 I Fixing missing original airdates.
>> > 2021-07-10 12:52:34.718546 I Found 0 with programids
>> > 2021-07-10 12:52:34.801869 I Found 0 without programids
>> > 2021-07-10 12:52:34.801874 I Marking repeats.
>> > 2021-07-10 12:52:34.802978 I Found 0
>> > 2021-07-10 12:52:34.802982 I Unmarking new episode rebroadcast repeats.
>> > 2021-07-10 12:52:34.803122 I Found 0
>> > 2021-07-10 12:52:34.844810 I Marking episode first showings.
>> > 2021-07-10 12:52:35.014316 I Found 0
>> > 2021-07-10 12:52:35.014326 I Marking episode last showings.
>> > 2021-07-10 12:52:35.190043 I Found 0
>> > 2021-07-10 12:52:35.234908 I
>> > ===============================================================
>> > | Attempting to contact the master backend for rescheduling. |
>> > | If the master is not running, rescheduling will happen when |
>> > | the master backend is restarted. |
>> > ===============================================================
>> > 2021-07-10 12:52:35.235438 N mythfilldatabase run complete.
>> > 2021-07-10 12:52:35.235493 I PowerDBus: Closing interfaces
>> > 2021-07-10 12:52:35.236767 I Waiting for threads to exit.
>> > 2021-07-10 12:52:35.236989 I Exiting
>> >
>> > Does anyone have any idea what is wrong?
>> >
>> > Lloyd
>>
>> Hi, if you have v31 up to date, then run: mythfilldatabase -v xmltv
>>
>> There may be more clues in the output. I'm assuming that XMLTV was
>> setup by user mythtv. That would say that under your own user, there
>> is no .mythtv/SD.xmltv file or .xmltv/SchedulesDirect.DB.
>>
>> The line: ... XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv line
>> above
>> looks good. And, it's being run as user mythtv, also good.
>>
>> https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508
>>
>> --
>> Bill
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
Re: Still setting up XMLTV [ In reply to ]
On Sat, Jul 10, 2021 at 8:24 PM Lloyd Chittenden <lloydc23@gmail.com> wrote:
>

> 2021-07-10 14:18:55.031241 I Grabber Command: nice tv_grab_zz_sdjson_sqlite --config-file '/home/mythtv/.mythtv/SD.xmltv' --output /tmp/mythLEK5YD
> 2021-07-10 14:18:55.031245 I ----------------- Start of XMLTV output -----------------
> 2021-07-10 14:18:55.728868 I ------------------ End of XMLTV output ------------------
> 2021-07-10 14:18:55.729691 E FillData: XMLTV grabber returned error code 1

Error code 1 is a general error, although it
typically includes a bit more details.

As the user which would be running
mythfilldatabase, issue the command
exactly as specified in the grabber
command above, and see if there are
any additional messages.

And issue a `which tv_grab_zz_sdjson_sqlite`
(again as the user that would be running
mythfilldatabase) to make sure it is invoking
the program you think it is.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
I think you told me to do this:
mythtv@Linux-Desktop:~/.xmltv$ tv_grab_zz_sdjson_sqlite --config-file
'/home/mythtv/.mythtv/SD.xmltv' --output /tmp/mythLEK5YD

Here's what I got:
Database not defined in config file /home/mythtv/.mythtv/SD.xmltv.
Please run 'tv_grab_zz_sdjson_sqlite --configure'

The database is defined in SD.xmltv. This is SD.xmltv
database=/home/mythtv/.xmltv/SchedulesDirect.DB

for some reason the file name is actually SD.xmltv.TMP.TMP. I don't know
what the extra TMP is about.

Lloyd

On Sat, Jul 10, 2021 at 3:19 PM Gary Buhrmaster <gary.buhrmaster@gmail.com>
wrote:

> On Sat, Jul 10, 2021 at 8:24 PM Lloyd Chittenden <lloydc23@gmail.com>
> wrote:
> >
>
> > 2021-07-10 14:18:55.031241 I Grabber Command: nice
> tv_grab_zz_sdjson_sqlite --config-file '/home/mythtv/.mythtv/SD.xmltv'
> --output /tmp/mythLEK5YD
> > 2021-07-10 14:18:55.031245 I ----------------- Start of XMLTV output
> -----------------
> > 2021-07-10 14:18:55.728868 I ------------------ End of XMLTV output
> ------------------
> > 2021-07-10 14:18:55.729691 E FillData: XMLTV grabber returned error
> code 1
>
> Error code 1 is a general error, although it
> typically includes a bit more details.
>
> As the user which would be running
> mythfilldatabase, issue the command
> exactly as specified in the grabber
> command above, and see if there are
> any additional messages.
>
> And issue a `which tv_grab_zz_sdjson_sqlite`
> (again as the user that would be running
> mythfilldatabase) to make sure it is invoking
> the program you think it is.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Still setting up XMLTV [ In reply to ]
On 7/10/21 3:43 PM, Lloyd Chittenden wrote:
> I just realized that buried deep on the XMLTV wiki page is information about converting from DataDirect to XMLTV.  It talks about deleting and
> re-adding your channels.  I guess I need to update my xmltvids?  Would that cause this?
>
> Lloyd
>
> On Sat, Jul 10, 2021 at 2:23 PM Lloyd Chittenden <lloydc23@gmail.com <mailto:lloydc23@gmail.com>> wrote:
>
> Here's the result of that
>
> mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase -v xmltv
> 2021-07-10 14:18:52.214375 C  mythfilldatabase version: fixes/31 [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
> 2021-07-10 14:18:52.214387 C  Qt version: compile: 5.12.5, runtime: 5.12.8
> 2021-07-10 14:18:52.215019 I  Ubuntu 20.04.2 LTS (x86_64)
> 2021-07-10 14:18:52.215029 N  Enabled verbose msgs:  general xmltv
> 2021-07-10 14:18:52.215042 N  Setting Log Level to LOG_INFO
> 2021-07-10 14:18:52.225392 I  Added logging to the console
> 2021-07-10 14:18:52.225655 I  Setup Interrupt handler
> 2021-07-10 14:18:52.225661 I  Setup Terminated handler
> 2021-07-10 14:18:52.225665 I  Setup Segmentation fault handler
> 2021-07-10 14:18:52.225671 I  Setup Aborted handler
> 2021-07-10 14:18:52.225675 I  Setup Bus error handler
> 2021-07-10 14:18:52.225680 I  Setup Floating point exception handler
> 2021-07-10 14:18:52.225684 I  Setup Illegal instruction handler
> 2021-07-10 14:18:52.225691 I  Setup Real-time signal 0 handler
> 2021-07-10 14:18:52.225695 I  Setup Hangup handler
> 2021-07-10 14:18:52.225775 N  Using runtime prefix = /usr
> 2021-07-10 14:18:52.225778 N  Using configuration directory = /home/mythtv/.mythtv
> 2021-07-10 14:18:52.225802 I  Assumed character encoding: en_US.UTF-8
> 2021-07-10 14:18:52.226663 I  Empty LocalHostName. This is typical.
> 2021-07-10 14:18:52.226669 I  Using a profile name of: 'Linux-Desktop' (Usually the same as this host's name.)
> 2021-07-10 14:18:52.226711 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
> 2021-07-10 14:18:53.243994 N  Setting QT default locale to en_US
> 2021-07-10 14:18:53.244002 I  Current locale en_US
> 2021-07-10 14:18:53.244541 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> 2021-07-10 14:18:53.257733 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> 2021-07-10 14:18:53.257959 I  Power: On AC power
> 2021-07-10 14:18:53.269712 I  Power: Supported actions: Suspend,Restart,Shutdown
> 2021-07-10 14:18:53.270857 I  Loading en_us translation for module mythfrontend
> 2021-07-10 14:18:53.271644 I  Current MythTV Schema Version (DBSchemaVer): 1361
> 2021-07-10 14:18:53.272994 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 <http://127.0.0.1:6543>
> (try 1 of 1)
> 2021-07-10 14:18:53.274116 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
> 2021-07-10 14:18:53.274273 I  Opening blocking connection to master backend
> 2021-07-10 14:18:53.316907 I  Updating source #1 (SD) with grabber tv_grab_zz_sdjson_sqlite
> 2021-07-10 14:18:53.317901 I  Found 279 channels for source 1 which use grabber
> 2021-07-10 14:18:53.318135 I  Starting IO manager (read)
> 2021-07-10 14:18:53.318123 I  Starting process signal handler
> 2021-07-10 14:18:53.318937 I  Starting IO manager (write)
> 2021-07-10 14:18:53.319112 I  Starting process manager
> 2021-07-10 14:18:54.427104 I  Grabber has capabilities: baseline manualconfig preferredmethod lineups apiconfig
> 2021-07-10 14:18:55.027895 I  Grabber prefers method: allatonce
> 2021-07-10 14:18:55.029611 I  XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv
> 2021-07-10 14:18:55.031241 I  Grabber Command: nice tv_grab_zz_sdjson_sqlite --config-file '/home/mythtv/.mythtv/SD.xmltv' --output
> /tmp/mythLEK5YD
> 2021-07-10 14:18:55.031245 I  ----------------- Start of XMLTV output -----------------
> 2021-07-10 14:18:55.728868 I  ------------------ End of XMLTV output ------------------
> 2021-07-10 14:18:55.729691 E  FillData: XMLTV grabber returned error code 1
> 2021-07-10 14:18:56.330185 E  Error in 1:1: unexpected end of file
> 2021-07-10 14:18:56.363482 I  Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 14:18:56.383412 I  Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 14:18:56.402275 I  Cardutil: HDHomeRun Cablecard Present.
> 2021-07-10 14:18:56.403357 I  No programs found in data.
> 2021-07-10 14:18:56.445860 E  Failed to fetch some program info
> 2021-07-10 14:18:56.445884 I  Adjusting program database end times.
> 2021-07-10 14:18:56.488148 I      0 replacements made
> 2021-07-10 14:18:56.488153 I  Marking generic episodes.
> 2021-07-10 14:18:56.529461 I      Found 0
> 2021-07-10 14:18:56.529465 I  Extending non-unique programids with multiple parts.
> 2021-07-10 14:18:56.571466 I      Found 0
> 2021-07-10 14:18:56.571472 I  Fixing missing original airdates.
> 2021-07-10 14:18:56.654205 I      Found 0 with programids
> 2021-07-10 14:18:56.742291 I      Found 0 without programids
> 2021-07-10 14:18:56.742296 I  Marking repeats.
> 2021-07-10 14:18:56.743185 I      Found 0
> 2021-07-10 14:18:56.743188 I  Unmarking new episode rebroadcast repeats.
> 2021-07-10 14:18:56.743416 I      Found 0
> 2021-07-10 14:18:56.785621 I  Marking episode first showings.
> 2021-07-10 14:18:56.951084 I      Found 0
> 2021-07-10 14:18:56.951090 I  Marking episode last showings.
> 2021-07-10 14:18:57.118370 I      Found 0
> 2021-07-10 14:18:57.161178 I  
> ===============================================================
> | Attempting to contact the master backend for rescheduling.  |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted.                            |
> ===============================================================
> 2021-07-10 14:18:57.161688 N  mythfilldatabase run complete.
> 2021-07-10 14:18:57.161741 I  PowerDBus: Closing interfaces
> 2021-07-10 14:18:57.161948 I  Waiting for threads to exit.
> 2021-07-10 14:18:57.163956 I  Exiting
>
> On Sat, Jul 10, 2021 at 1:41 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com>> wrote:
>
> On 7/10/21 2:06 PM, Lloyd Chittenden wrote:
> > I made some more progress setting up my new XMLTV grabber.  I think I have my config file and my database set up.  Mythfilldatabase is
> still not
> > working.  When I run I get this back, I get this back now:
> >
> > mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase
> > 2021-07-10 12:52:30.978515 C  mythfilldatabase version: fixes/31 [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
> <http://www.mythtv.org <http://www.mythtv.org>>
> > 2021-07-10 12:52:30.978527 C  Qt version: compile: 5.12.5, runtime: 5.12.8
> > 2021-07-10 12:52:30.978725 I  Ubuntu 20.04.2 LTS (x86_64)
> > 2021-07-10 12:52:30.978730 N  Enabled verbose msgs:  general
> > 2021-07-10 12:52:30.978740 N  Setting Log Level to LOG_INFO
> > 2021-07-10 12:52:30.991912 I  Added logging to the console
> > 2021-07-10 12:52:30.992199 I  Setup Interrupt handler
> > 2021-07-10 12:52:30.992205 I  Setup Terminated handler
> > 2021-07-10 12:52:30.992211 I  Setup Segmentation fault handler
> > 2021-07-10 12:52:30.992215 I  Setup Aborted handler
> > 2021-07-10 12:52:30.992219 I  Setup Bus error handler
> > 2021-07-10 12:52:30.992225 I  Setup Floating point exception handler
> > 2021-07-10 12:52:30.992229 I  Setup Illegal instruction handler
> > 2021-07-10 12:52:30.992236 I  Setup Real-time signal 0 handler
> > 2021-07-10 12:52:30.992240 I  Setup Hangup handler
> > 2021-07-10 12:52:30.992316 N  Using runtime prefix = /usr
> > 2021-07-10 12:52:30.992319 N  Using configuration directory = /home/mythtv/.mythtv
> > 2021-07-10 12:52:30.992344 I  Assumed character encoding: en_US.UTF-8
> > 2021-07-10 12:52:30.992788 I  Empty LocalHostName. This is typical.
> > 2021-07-10 12:52:30.992795 I  Using a profile name of: 'Linux-Desktop' (Usually the same as this host's name.)
> > 2021-07-10 12:52:30.992837 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
> > 2021-07-10 12:52:32.007731 N  Setting QT default locale to en_US
> > 2021-07-10 12:52:32.007740 I  Current locale en_US
> > 2021-07-10 12:52:32.007951 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> > 2021-07-10 12:52:32.021271 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> > 2021-07-10 12:52:32.021454 I  Power: On AC power
> > 2021-07-10 12:52:32.033397 I  Power: Supported actions: Suspend,Restart,Shutdown
> > 2021-07-10 12:52:32.034224 I  Loading en_us translation for module mythfrontend
> > 2021-07-10 12:52:32.035030 I  Current MythTV Schema Version (DBSchemaVer): 1361
> > 2021-07-10 12:52:32.036627 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543
> <http://127.0.0.1:6543> <http://127.0.0.1:6543 <http://127.0.0.1:6543>> (try
> > 1 of 1)
> > 2021-07-10 12:52:32.038216 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
> > 2021-07-10 12:52:32.038374 I  Opening blocking connection to master backend
> > 2021-07-10 12:52:32.081147 I  Updating source #1 (SD) with grabber tv_grab_zz_sdjson_sqlite
> > 2021-07-10 12:52:32.082219 I  Found 279 channels for source 1 which use grabber
> > 2021-07-10 12:52:32.082461 I  Starting IO manager (read)
> > 2021-07-10 12:52:32.082449 I  Starting process signal handler
> > 2021-07-10 12:52:32.083229 I  Starting IO manager (write)
> > 2021-07-10 12:52:32.083385 I  Starting process manager
> > 2021-07-10 12:52:32.683420 I  Grabber has capabilities: baseline manualconfig preferredmethod lineups apiconfig
> > 2021-07-10 12:52:33.338342 I  Grabber prefers method: allatonce
> > 2021-07-10 12:52:33.338855 I  XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv
> > 2021-07-10 12:52:34.051189 E  FillData: XMLTV grabber returned error code 1
> > 2021-07-10 12:52:34.400985 E  Error in 1:1: unexpected end of file
> > 2021-07-10 12:52:34.430104 I  Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 12:52:34.449013 I  Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 12:52:34.467689 I  Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 12:52:34.468362 I  No programs found in data.
> > 2021-07-10 12:52:34.509654 E  Failed to fetch some program info
> > 2021-07-10 12:52:34.509679 I  Adjusting program database end times.
> > 2021-07-10 12:52:34.551841 I      0 replacements made
> > 2021-07-10 12:52:34.551846 I  Marking generic episodes.
> > 2021-07-10 12:52:34.593770 I      Found 0
> > 2021-07-10 12:52:34.593776 I  Extending non-unique programids with multiple parts.
> > 2021-07-10 12:52:34.635569 I      Found 0
> > 2021-07-10 12:52:34.635574 I  Fixing missing original airdates.
> > 2021-07-10 12:52:34.718546 I      Found 0 with programids
> > 2021-07-10 12:52:34.801869 I      Found 0 without programids
> > 2021-07-10 12:52:34.801874 I  Marking repeats.
> > 2021-07-10 12:52:34.802978 I      Found 0
> > 2021-07-10 12:52:34.802982 I  Unmarking new episode rebroadcast repeats.
> > 2021-07-10 12:52:34.803122 I      Found 0
> > 2021-07-10 12:52:34.844810 I  Marking episode first showings.
> > 2021-07-10 12:52:35.014316 I      Found 0
> > 2021-07-10 12:52:35.014326 I  Marking episode last showings.
> > 2021-07-10 12:52:35.190043 I      Found 0
> > 2021-07-10 12:52:35.234908 I  
> > ===============================================================
> > | Attempting to contact the master backend for rescheduling.  |
> > | If the master is not running, rescheduling will happen when |
> > | the master backend is restarted.                            |
> > ===============================================================
> > 2021-07-10 12:52:35.235438 N  mythfilldatabase run complete.
> > 2021-07-10 12:52:35.235493 I  PowerDBus: Closing interfaces
> > 2021-07-10 12:52:35.236767 I  Waiting for threads to exit.
> > 2021-07-10 12:52:35.236989 I  Exiting
> >
> > Does anyone have any idea what is wrong?
> >
> > Lloyd
>
> Hi, if you have v31 up to date, then run: mythfilldatabase -v xmltv
>
> There may be more clues in the output. I'm assuming that XMLTV was
> setup by user mythtv. That would say that under your own user, there
> is no .mythtv/SD.xmltv file or .xmltv/SchedulesDirect.DB.
>
> The line: ... XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv line above
> looks good. And, it's being run as user mythtv, also good.
>
>   https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508 <https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508>
>
> --
> Bill

If the existing XMLTVIDs in the MythTV DB haven't been converted:

One option is to create new video sources. I never tried this.
And I converted ages ago.

My choice was a Python script: https://pastebin.com/TkMPtdN9

Read the comments at the top. You'll see it can be run without
making any changes just to see what it would do.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Now I think the XMLTVIDs are okay.

I think there was a problem with the name of the database. Somehow it had
.TMP.TMP added to the end of the name. I fixed that, now I get this:

mythtv@Linux-Desktop:~/.mythtv$ tv_grab_zz_sdjson_sqlite --config-file
'/home/mythtv/.mythtv/SD.xmltv' --output /tmp/mythLEK5YD
Lineup not defined in config file /home/mythtv/.mythtv/SD.xmltv.
Please run 'tv_grab_zz_sdjson_sqlite --configure'

I did run tv_grab_zz_sdjson_sqlite --configure
It asked about my lineup, and it is correct, but there is no line about it
in the config file. Am I supposed to add a line for it manually? What
would that look like?

Lloyd

On Sat, Jul 10, 2021 at 3:28 PM Bill Meek <keemllib@gmail.com> wrote:

> On 7/10/21 3:43 PM, Lloyd Chittenden wrote:
> > I just realized that buried deep on the XMLTV wiki page is information
> about converting from DataDirect to XMLTV. It talks about deleting and
> > re-adding your channels. I guess I need to update my xmltvids? Would
> that cause this?
> >
> > Lloyd
> >
> > On Sat, Jul 10, 2021 at 2:23 PM Lloyd Chittenden <lloydc23@gmail.com
> <mailto:lloydc23@gmail.com>> wrote:
> >
> > Here's the result of that
> >
> > mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase -v xmltv
> > 2021-07-10 14:18:52.214375 C mythfilldatabase version: fixes/31
> [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
> > 2021-07-10 14:18:52.214387 C Qt version: compile: 5.12.5, runtime:
> 5.12.8
> > 2021-07-10 14:18:52.215019 I Ubuntu 20.04.2 LTS (x86_64)
> > 2021-07-10 14:18:52.215029 N Enabled verbose msgs: general xmltv
> > 2021-07-10 14:18:52.215042 N Setting Log Level to LOG_INFO
> > 2021-07-10 14:18:52.225392 I Added logging to the console
> > 2021-07-10 14:18:52.225655 I Setup Interrupt handler
> > 2021-07-10 14:18:52.225661 I Setup Terminated handler
> > 2021-07-10 14:18:52.225665 I Setup Segmentation fault handler
> > 2021-07-10 14:18:52.225671 I Setup Aborted handler
> > 2021-07-10 14:18:52.225675 I Setup Bus error handler
> > 2021-07-10 14:18:52.225680 I Setup Floating point exception handler
> > 2021-07-10 14:18:52.225684 I Setup Illegal instruction handler
> > 2021-07-10 14:18:52.225691 I Setup Real-time signal 0 handler
> > 2021-07-10 14:18:52.225695 I Setup Hangup handler
> > 2021-07-10 14:18:52.225775 N Using runtime prefix = /usr
> > 2021-07-10 14:18:52.225778 N Using configuration directory =
> /home/mythtv/.mythtv
> > 2021-07-10 14:18:52.225802 I Assumed character encoding: en_US.UTF-8
> > 2021-07-10 14:18:52.226663 I Empty LocalHostName. This is typical.
> > 2021-07-10 14:18:52.226669 I Using a profile name of:
> 'Linux-Desktop' (Usually the same as this host's name.)
> > 2021-07-10 14:18:52.226711 I Start up testing connections. DB
> localhost, BE , attempt 0, status dbAwake, Delay: 2000
> > 2021-07-10 14:18:53.243994 N Setting QT default locale to en_US
> > 2021-07-10 14:18:53.244002 I Current locale en_US
> > 2021-07-10 14:18:53.244541 N Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> > 2021-07-10 14:18:53.257733 I PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> > 2021-07-10 14:18:53.257959 I Power: On AC power
> > 2021-07-10 14:18:53.269712 I Power: Supported actions:
> Suspend,Restart,Shutdown
> > 2021-07-10 14:18:53.270857 I Loading en_us translation for module
> mythfrontend
> > 2021-07-10 14:18:53.271644 I Current MythTV Schema Version
> (DBSchemaVer): 1361
> > 2021-07-10 14:18:53.272994 I
> MythCoreContext::ConnectCommandSocket(): Connecting to backend server:
> 127.0.0.1:6543 <http://127.0.0.1:6543>
> > (try 1 of 1)
> > 2021-07-10 14:18:53.274116 I MythCoreContext::CheckProtoVersion():
> Using protocol version 91 BuzzOff
> > 2021-07-10 14:18:53.274273 I Opening blocking connection to master
> backend
> > 2021-07-10 14:18:53.316907 I Updating source #1 (SD) with grabber
> tv_grab_zz_sdjson_sqlite
> > 2021-07-10 14:18:53.317901 I Found 279 channels for source 1 which
> use grabber
> > 2021-07-10 14:18:53.318135 I Starting IO manager (read)
> > 2021-07-10 14:18:53.318123 I Starting process signal handler
> > 2021-07-10 14:18:53.318937 I Starting IO manager (write)
> > 2021-07-10 14:18:53.319112 I Starting process manager
> > 2021-07-10 14:18:54.427104 I Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> > 2021-07-10 14:18:55.027895 I Grabber prefers method: allatonce
> > 2021-07-10 14:18:55.029611 I XMLTV config file is:
> /home/mythtv/.mythtv/SD.xmltv
> > 2021-07-10 14:18:55.031241 I Grabber Command: nice
> tv_grab_zz_sdjson_sqlite --config-file '/home/mythtv/.mythtv/SD.xmltv'
> --output
> > /tmp/mythLEK5YD
> > 2021-07-10 14:18:55.031245 I ----------------- Start of XMLTV
> output -----------------
> > 2021-07-10 14:18:55.728868 I ------------------ End of XMLTV output
> ------------------
> > 2021-07-10 14:18:55.729691 E FillData: XMLTV grabber returned error
> code 1
> > 2021-07-10 14:18:56.330185 E Error in 1:1: unexpected end of file
> > 2021-07-10 14:18:56.363482 I Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 14:18:56.383412 I Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 14:18:56.402275 I Cardutil: HDHomeRun Cablecard Present.
> > 2021-07-10 14:18:56.403357 I No programs found in data.
> > 2021-07-10 14:18:56.445860 E Failed to fetch some program info
> > 2021-07-10 14:18:56.445884 I Adjusting program database end times.
> > 2021-07-10 14:18:56.488148 I 0 replacements made
> > 2021-07-10 14:18:56.488153 I Marking generic episodes.
> > 2021-07-10 14:18:56.529461 I Found 0
> > 2021-07-10 14:18:56.529465 I Extending non-unique programids with
> multiple parts.
> > 2021-07-10 14:18:56.571466 I Found 0
> > 2021-07-10 14:18:56.571472 I Fixing missing original airdates.
> > 2021-07-10 14:18:56.654205 I Found 0 with programids
> > 2021-07-10 14:18:56.742291 I Found 0 without programids
> > 2021-07-10 14:18:56.742296 I Marking repeats.
> > 2021-07-10 14:18:56.743185 I Found 0
> > 2021-07-10 14:18:56.743188 I Unmarking new episode rebroadcast
> repeats.
> > 2021-07-10 14:18:56.743416 I Found 0
> > 2021-07-10 14:18:56.785621 I Marking episode first showings.
> > 2021-07-10 14:18:56.951084 I Found 0
> > 2021-07-10 14:18:56.951090 I Marking episode last showings.
> > 2021-07-10 14:18:57.118370 I Found 0
> > 2021-07-10 14:18:57.161178 I
> > ===============================================================
> > | Attempting to contact the master backend for rescheduling. |
> > | If the master is not running, rescheduling will happen when |
> > | the master backend is restarted. |
> > ===============================================================
> > 2021-07-10 14:18:57.161688 N mythfilldatabase run complete.
> > 2021-07-10 14:18:57.161741 I PowerDBus: Closing interfaces
> > 2021-07-10 14:18:57.161948 I Waiting for threads to exit.
> > 2021-07-10 14:18:57.163956 I Exiting
> >
> > On Sat, Jul 10, 2021 at 1:41 PM Bill Meek <keemllib@gmail.com
> <mailto:keemllib@gmail.com>> wrote:
> >
> > On 7/10/21 2:06 PM, Lloyd Chittenden wrote:
> > > I made some more progress setting up my new XMLTV grabber. I
> think I have my config file and my database set up. Mythfilldatabase is
> > still not
> > > working. When I run I get this back, I get this back now:
> > >
> > > mythtv@Linux-Desktop:~/.xmltv$ mythfilldatabase
> > > 2021-07-10 12:52:30.978515 C mythfilldatabase version:
> fixes/31 [v31.0-v31.0] www.mythtv.org <http://www.mythtv.org>
> > <http://www.mythtv.org <http://www.mythtv.org>>
> > > 2021-07-10 12:52:30.978527 C Qt version: compile: 5.12.5,
> runtime: 5.12.8
> > > 2021-07-10 12:52:30.978725 I Ubuntu 20.04.2 LTS (x86_64)
> > > 2021-07-10 12:52:30.978730 N Enabled verbose msgs: general
> > > 2021-07-10 12:52:30.978740 N Setting Log Level to LOG_INFO
> > > 2021-07-10 12:52:30.991912 I Added logging to the console
> > > 2021-07-10 12:52:30.992199 I Setup Interrupt handler
> > > 2021-07-10 12:52:30.992205 I Setup Terminated handler
> > > 2021-07-10 12:52:30.992211 I Setup Segmentation fault handler
> > > 2021-07-10 12:52:30.992215 I Setup Aborted handler
> > > 2021-07-10 12:52:30.992219 I Setup Bus error handler
> > > 2021-07-10 12:52:30.992225 I Setup Floating point exception
> handler
> > > 2021-07-10 12:52:30.992229 I Setup Illegal instruction handler
> > > 2021-07-10 12:52:30.992236 I Setup Real-time signal 0 handler
> > > 2021-07-10 12:52:30.992240 I Setup Hangup handler
> > > 2021-07-10 12:52:30.992316 N Using runtime prefix = /usr
> > > 2021-07-10 12:52:30.992319 N Using configuration directory =
> /home/mythtv/.mythtv
> > > 2021-07-10 12:52:30.992344 I Assumed character encoding:
> en_US.UTF-8
> > > 2021-07-10 12:52:30.992788 I Empty LocalHostName. This is
> typical.
> > > 2021-07-10 12:52:30.992795 I Using a profile name of:
> 'Linux-Desktop' (Usually the same as this host's name.)
> > > 2021-07-10 12:52:30.992837 I Start up testing connections. DB
> localhost, BE , attempt 0, status dbAwake, Delay: 2000
> > > 2021-07-10 12:52:32.007731 N Setting QT default locale to
> en_US
> > > 2021-07-10 12:52:32.007740 I Current locale en_US
> > > 2021-07-10 12:52:32.007951 N Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> > > 2021-07-10 12:52:32.021271 I PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_2'
> > > 2021-07-10 12:52:32.021454 I Power: On AC power
> > > 2021-07-10 12:52:32.033397 I Power: Supported actions:
> Suspend,Restart,Shutdown
> > > 2021-07-10 12:52:32.034224 I Loading en_us translation for
> module mythfrontend
> > > 2021-07-10 12:52:32.035030 I Current MythTV Schema Version
> (DBSchemaVer): 1361
> > > 2021-07-10 12:52:32.036627 I
> MythCoreContext::ConnectCommandSocket(): Connecting to backend server:
> 127.0.0.1:6543
> > <http://127.0.0.1:6543> <http://127.0.0.1:6543 <
> http://127.0.0.1:6543>> (try
> > > 1 of 1)
> > > 2021-07-10 12:52:32.038216 I
> MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
> > > 2021-07-10 12:52:32.038374 I Opening blocking connection to
> master backend
> > > 2021-07-10 12:52:32.081147 I Updating source #1 (SD) with
> grabber tv_grab_zz_sdjson_sqlite
> > > 2021-07-10 12:52:32.082219 I Found 279 channels for source 1
> which use grabber
> > > 2021-07-10 12:52:32.082461 I Starting IO manager (read)
> > > 2021-07-10 12:52:32.082449 I Starting process signal handler
> > > 2021-07-10 12:52:32.083229 I Starting IO manager (write)
> > > 2021-07-10 12:52:32.083385 I Starting process manager
> > > 2021-07-10 12:52:32.683420 I Grabber has capabilities:
> baseline manualconfig preferredmethod lineups apiconfig
> > > 2021-07-10 12:52:33.338342 I Grabber prefers method: allatonce
> > > 2021-07-10 12:52:33.338855 I XMLTV config file is:
> /home/mythtv/.mythtv/SD.xmltv
> > > 2021-07-10 12:52:34.051189 E FillData: XMLTV grabber returned
> error code 1
> > > 2021-07-10 12:52:34.400985 E Error in 1:1: unexpected end of
> file
> > > 2021-07-10 12:52:34.430104 I Cardutil: HDHomeRun Cablecard
> Present.
> > > 2021-07-10 12:52:34.449013 I Cardutil: HDHomeRun Cablecard
> Present.
> > > 2021-07-10 12:52:34.467689 I Cardutil: HDHomeRun Cablecard
> Present.
> > > 2021-07-10 12:52:34.468362 I No programs found in data.
> > > 2021-07-10 12:52:34.509654 E Failed to fetch some program info
> > > 2021-07-10 12:52:34.509679 I Adjusting program database end
> times.
> > > 2021-07-10 12:52:34.551841 I 0 replacements made
> > > 2021-07-10 12:52:34.551846 I Marking generic episodes.
> > > 2021-07-10 12:52:34.593770 I Found 0
> > > 2021-07-10 12:52:34.593776 I Extending non-unique programids
> with multiple parts.
> > > 2021-07-10 12:52:34.635569 I Found 0
> > > 2021-07-10 12:52:34.635574 I Fixing missing original airdates.
> > > 2021-07-10 12:52:34.718546 I Found 0 with programids
> > > 2021-07-10 12:52:34.801869 I Found 0 without programids
> > > 2021-07-10 12:52:34.801874 I Marking repeats.
> > > 2021-07-10 12:52:34.802978 I Found 0
> > > 2021-07-10 12:52:34.802982 I Unmarking new episode
> rebroadcast repeats.
> > > 2021-07-10 12:52:34.803122 I Found 0
> > > 2021-07-10 12:52:34.844810 I Marking episode first showings.
> > > 2021-07-10 12:52:35.014316 I Found 0
> > > 2021-07-10 12:52:35.014326 I Marking episode last showings.
> > > 2021-07-10 12:52:35.190043 I Found 0
> > > 2021-07-10 12:52:35.234908 I
> > > ===============================================================
> > > | Attempting to contact the master backend for rescheduling. |
> > > | If the master is not running, rescheduling will happen when |
> > > | the master backend is restarted. |
> > > ===============================================================
> > > 2021-07-10 12:52:35.235438 N mythfilldatabase run complete.
> > > 2021-07-10 12:52:35.235493 I PowerDBus: Closing interfaces
> > > 2021-07-10 12:52:35.236767 I Waiting for threads to exit.
> > > 2021-07-10 12:52:35.236989 I Exiting
> > >
> > > Does anyone have any idea what is wrong?
> > >
> > > Lloyd
> >
> > Hi, if you have v31 up to date, then run: mythfilldatabase -v
> xmltv
> >
> > There may be more clues in the output. I'm assuming that XMLTV
> was
> > setup by user mythtv. That would say that under your own user,
> there
> > is no .mythtv/SD.xmltv file or .xmltv/SchedulesDirect.DB.
> >
> > The line: ... XMLTV config file is:
> /home/mythtv/.mythtv/SD.xmltv line above
> > looks good. And, it's being run as user mythtv, also good.
> >
> >
> https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508 <
> https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508>
> >
> > --
> > Bill
>
> If the existing XMLTVIDs in the MythTV DB haven't been converted:
>
> One option is to create new video sources. I never tried this.
> And I converted ages ago.
>
> My choice was a Python script: https://pastebin.com/TkMPtdN9
>
> Read the comments at the top. You'll see it can be run without
> making any changes just to see what it would do.
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Still setting up XMLTV [ In reply to ]
On 2021-07-10 3:06 p.m., Lloyd Chittenden wrote:
> I made some more progress setting up my new XMLTV grabber.

> 2021-07-10 12:52:32.683420 I  Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> 2021-07-10 12:52:33.338342 I  Grabber prefers method: allatonce
> 2021-07-10 12:52:33.338855 I  XMLTV config file is:
> /home/mythtv/.mythtv/SD.xmltv
> 2021-07-10 12:52:34.051189 E  FillData: XMLTV grabber returned error code 1
> 2021-07-10 12:52:34.400985 E  Error in 1:1: unexpected end of file

>
> Does anyone have any idea what is wrong?
>
> Lloyd

It looks like your SD.xmltv file is screwed up. 'unexpected end of file'

Please post the top 10-15 lines of that file.

Geoff

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
On Sun, Jul 11, 2021 at 1:39 AM Lloyd Chittenden <lloydc23@gmail.com> wrote:

> I did run tv_grab_zz_sdjson_sqlite --configure

Did you also specify the MythTV config-file you are referring to,
and run it to completion (the file is only written at the very end
of --configure). Grabbers will default (if not specified) to use a
file in the ~/.xmltv directory, typically named <grabber>.conf.
That is completely different than the MythTV file
~/.mythtv/<VideoSource>.xmltv that the videosource normally
uses.

You *must* be consistent in the ways you run the grabbers,
especially if you decide to not use the embedded configuration
process in mythtv-setup (which I admit can be painful as
using a GUI for what is essentially a CLI based tool can
be annoying).
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Well, that explains a lot. There is only one line:

database=/home/mythtv/.xmltv/SchedulesDirect.DB

What else is supposed to be there, and where am I supposed to find out what
to put there?

Lloyd

On Sat, Jul 10, 2021 at 8:52 PM R. G. Newbury <newbury@mandamus.org> wrote:

> On 2021-07-10 3:06 p.m., Lloyd Chittenden wrote:
> > I made some more progress setting up my new XMLTV grabber.
>
> > 2021-07-10 12:52:32.683420 I Grabber has capabilities: baseline
> > manualconfig preferredmethod lineups apiconfig
> > 2021-07-10 12:52:33.338342 I Grabber prefers method: allatonce
> > 2021-07-10 12:52:33.338855 I XMLTV config file is:
> > /home/mythtv/.mythtv/SD.xmltv
> > 2021-07-10 12:52:34.051189 E FillData: XMLTV grabber returned error
> code 1
> > 2021-07-10 12:52:34.400985 E Error in 1:1: unexpected end of file
>
> >
> > Does anyone have any idea what is wrong?
> >
> > Lloyd
>
> It looks like your SD.xmltv file is screwed up. 'unexpected end of file'
>
> Please post the top 10-15 lines of that file.
>
> Geoff
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Still setting up XMLTV [ In reply to ]
On 7/11/21 12:29 AM, Lloyd Chittenden wrote:
> Well, that explains a lot.  There is only one line:
>
> database=/home/mythtv/.xmltv/SchedulesDirect.DB
>
> What else is supposed to be there, and where am I supposed to find out what to put there?
>
> Lloyd
>
> On Sat, Jul 10, 2021 at 8:52 PM R. G. Newbury <newbury@mandamus.org <mailto:newbury@mandamus.org>> wrote:
>
> On 2021-07-10 3:06 p.m., Lloyd Chittenden wrote:
> > I made some more progress setting up my new XMLTV grabber.
>
> > 2021-07-10 12:52:32.683420 I  Grabber has capabilities: baseline
> > manualconfig preferredmethod lineups apiconfig
> > 2021-07-10 12:52:33.338342 I  Grabber prefers method: allatonce
> > 2021-07-10 12:52:33.338855 I  XMLTV config file is:
> > /home/mythtv/.mythtv/SD.xmltv
> > 2021-07-10 12:52:34.051189 E  FillData: XMLTV grabber returned error code 1
> > 2021-07-10 12:52:34.400985 E  Error in 1:1: unexpected end of file
>
> >
> > Does anyone have any idea what is wrong?
> >
> > Lloyd
>
> It looks like your SD.xmltv file is screwed up. 'unexpected end of file'
>
> Please post the top 10-15 lines of that file.
>
> Geoff

Again: https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508

That's what a working XMLTV configuration looks like for the SQLite version.
[There are only 3 lines in the .xmltv file]

I can't tell if any other steps using tv_grab_zz_sdjson_sqlite were not
successful/completed. There may be other missing parts to this puzzle.

I could be that removing the xxx.xmltv and SchedulesDirect.DB files in the link
above and starting over is the best solution. tv_grab_zz_sdjson_sqlite is run 4
times to complete setup, if memory serves.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Okay, that was very helpful. Now this is my config file:

database=/home/mythtv/.xmltv/SchedulesDirect.DB
lineup=USA-CO68798-X
3rdparty-metadata=disabled
mythtv-categories=enabled
station-logo-order=

Now when I run mythfilldatabase it gets stuck on this line

2021-07-11 12:38:34.545764 I XMLTV config file is:
/home/mythtv/.mythtv/SD.xmltv

It just sits there for hours until finally I get a message:
Killed
and it goes back to command prompt.

Any ideas now?

Lloyd

On Sun, Jul 11, 2021 at 6:58 AM Bill Meek <keemllib@gmail.com> wrote:

> On 7/11/21 12:29 AM, Lloyd Chittenden wrote:
> > Well, that explains a lot. There is only one line:
> >
> > database=/home/mythtv/.xmltv/SchedulesDirect.DB
> >
> > What else is supposed to be there, and where am I supposed to find out
> what to put there?
> >
> > Lloyd
> >
> > On Sat, Jul 10, 2021 at 8:52 PM R. G. Newbury <newbury@mandamus.org
> <mailto:newbury@mandamus.org>> wrote:
> >
> > On 2021-07-10 3:06 p.m., Lloyd Chittenden wrote:
> > > I made some more progress setting up my new XMLTV grabber.
> >
> > > 2021-07-10 12:52:32.683420 I Grabber has capabilities: baseline
> > > manualconfig preferredmethod lineups apiconfig
> > > 2021-07-10 12:52:33.338342 I Grabber prefers method: allatonce
> > > 2021-07-10 12:52:33.338855 I XMLTV config file is:
> > > /home/mythtv/.mythtv/SD.xmltv
> > > 2021-07-10 12:52:34.051189 E FillData: XMLTV grabber returned
> error code 1
> > > 2021-07-10 12:52:34.400985 E Error in 1:1: unexpected end of file
> >
> > >
> > > Does anyone have any idea what is wrong?
> > >
> > > Lloyd
> >
> > It looks like your SD.xmltv file is screwed up. 'unexpected end of
> file'
> >
> > Please post the top 10-15 lines of that file.
> >
> > Geoff
>
> Again: https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508
>
> That's what a working XMLTV configuration looks like for the SQLite
> version.
> [There are only 3 lines in the .xmltv file]
>
> I can't tell if any other steps using tv_grab_zz_sdjson_sqlite were not
> successful/completed. There may be other missing parts to this puzzle.
>
> I could be that removing the xxx.xmltv and SchedulesDirect.DB files in the
> link
> above and starting over is the best solution. tv_grab_zz_sdjson_sqlite is
> run 4
> times to complete setup, if memory serves.
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Still setting up XMLTV [ In reply to ]
On 7/11/21 2:46 PM, Lloyd Chittenden wrote:
> Okay, that was very helpful.  Now this is my config file:
>
> database=/home/mythtv/.xmltv/SchedulesDirect.DB
> lineup=USA-CO68798-X
> 3rdparty-metadata=disabled
> mythtv-categories=enabled
> station-logo-order=
>
> Now when I run mythfilldatabase it gets stuck on this line
>
> 2021-07-11 12:38:34.545764 I  XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv
>
> It just sits there for hours until finally I get a message:
> Killed
> and it goes back to command prompt.
>
> Any ideas now?
>
> Lloyd
>
> On Sun, Jul 11, 2021 at 6:58 AM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com>> wrote:
>
> On 7/11/21 12:29 AM, Lloyd Chittenden wrote:
> > Well, that explains a lot.  There is only one line:
> >
> > database=/home/mythtv/.xmltv/SchedulesDirect.DB
> >
> > What else is supposed to be there, and where am I supposed to find out what to put there?
> >
> > Lloyd
> >
> > On Sat, Jul 10, 2021 at 8:52 PM R. G. Newbury <newbury@mandamus.org <mailto:newbury@mandamus.org> <mailto:newbury@mandamus.org
> <mailto:newbury@mandamus.org>>> wrote:
> >
> >     On 2021-07-10 3:06 p.m., Lloyd Chittenden wrote:
> >     > I made some more progress setting up my new XMLTV grabber.
> >
> >     > 2021-07-10 12:52:32.683420 I  Grabber has capabilities: baseline
> >     > manualconfig preferredmethod lineups apiconfig
> >     > 2021-07-10 12:52:33.338342 I  Grabber prefers method: allatonce
> >     > 2021-07-10 12:52:33.338855 I  XMLTV config file is:
> >     > /home/mythtv/.mythtv/SD.xmltv
> >     > 2021-07-10 12:52:34.051189 E  FillData: XMLTV grabber returned error code 1
> >     > 2021-07-10 12:52:34.400985 E  Error in 1:1: unexpected end of file
> >
> >     >
> >     > Does anyone have any idea what is wrong?
> >     >
> >     > Lloyd
> >
> >     It looks like your SD.xmltv file is screwed up. 'unexpected end of file'
> >
> >     Please post the top 10-15 lines of that file.
> >
> >     Geoff
>
> Again: https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508 <https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508>
>
> That's what a working XMLTV configuration looks like for the SQLite version.
> [There are only 3 lines in the .xmltv file]
>
> I can't tell if any other steps using tv_grab_zz_sdjson_sqlite were not
> successful/completed. There may be other missing parts to this puzzle.
>
> I could be that removing the xxx.xmltv and SchedulesDirect.DB files in the link
> above and starting over is the best solution. tv_grab_zz_sdjson_sqlite is run 4
> times to complete setup, if memory serves.
>
> --
> Bill

The first run after setup is expected to take long. I don't
know what "hours" above means. It it was 2, then I'd wait
longer. Especially if you've got lots of channels.

From another terminal window, you could look in /tmp. A file
named something like mythXXXXXX should exist. If the grabber
is working, then the file will be growing in size.

Or, you could type: tail -f /tmp/mythXXXXXX and watch the
data come in. XXXXXX will change each time the grabber is run
(and is unlikely to ever be XXXXXX).

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Thanks, I will try those things, but something does seem to be stopping
the process.  If I just leave it, after a long while, at least 2 hours,
it just stops and the word "Killed" appears and it goes back to command
prompt.

Lloyd

On 7/11/2021 1:57 PM, Bill Meek wrote:
> On 7/11/21 2:46 PM, Lloyd Chittenden wrote:
>> Okay, that was very helpful.  Now this is my config file:
>>
>> database=/home/mythtv/.xmltv/SchedulesDirect.DB
>> lineup=USA-CO68798-X
>> 3rdparty-metadata=disabled
>> mythtv-categories=enabled
>> station-logo-order=
>>
>> Now when I run mythfilldatabase it gets stuck on this line
>>
>> 2021-07-11 12:38:34.545764 I  XMLTV config file is: /home/mythtv/.mythtv/SD.xmltv
>>
>> It just sits there for hours until finally I get a message:
>> Killed
>> and it goes back to command prompt.
>>
>> Any ideas now?
>>
>> Lloyd
>>
>> On Sun, Jul 11, 2021 at 6:58 AM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com>> wrote:
>>
>> On 7/11/21 12:29 AM, Lloyd Chittenden wrote:
>> > Well, that explains a lot.  There is only one line:
>> >
>> > database=/home/mythtv/.xmltv/SchedulesDirect.DB
>> >
>> > What else is supposed to be there, and where am I supposed to find out what to put there?
>> >
>> > Lloyd
>> >
>> > On Sat, Jul 10, 2021 at 8:52 PM R. G. Newbury <newbury@mandamus.org <mailto:newbury@mandamus.org> <mailto:newbury@mandamus.org
>> <mailto:newbury@mandamus.org>>> wrote:
>> >
>> >     On 2021-07-10 3:06 p.m., Lloyd Chittenden wrote:
>> >     > I made some more progress setting up my new XMLTV grabber.
>> >
>> >     > 2021-07-10 12:52:32.683420 I  Grabber has capabilities: baseline
>> >     > manualconfig preferredmethod lineups apiconfig
>> >     > 2021-07-10 12:52:33.338342 I  Grabber prefers method: allatonce
>> >     > 2021-07-10 12:52:33.338855 I  XMLTV config file is:
>> >     > /home/mythtv/.mythtv/SD.xmltv
>> >     > 2021-07-10 12:52:34.051189 E  FillData: XMLTV grabber returned error code 1
>> >     > 2021-07-10 12:52:34.400985 E  Error in 1:1: unexpected end of file
>> >
>> >     >
>> >     > Does anyone have any idea what is wrong?
>> >     >
>> >     > Lloyd
>> >
>> >     It looks like your SD.xmltv file is screwed up. 'unexpected end of file'
>> >
>> >     Please post the top 10-15 lines of that file.
>> >
>> >     Geoff
>>
>> Again: https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508 <https://forum.mythtv.org/viewtopic.php?f=36&t=3480&start=15#p19508>
>>
>> That's what a working XMLTV configuration looks like for the SQLite version.
>> [There are only 3 lines in the .xmltv file]
>>
>> I can't tell if any other steps using tv_grab_zz_sdjson_sqlite were not
>> successful/completed. There may be other missing parts to this puzzle.
>>
>> I could be that removing the xxx.xmltv and SchedulesDirect.DB files in the link
>> above and starting over is the best solution. tv_grab_zz_sdjson_sqlite is run 4
>> times to complete setup, if memory serves.
>>
>> --
>> Bill
> The first run after setup is expected to take long. I don't
> know what "hours" above means. It it was 2, then I'd wait
> longer. Especially if you've got lots of channels.
>
> From another terminal window, you could look in /tmp. A file
> named something like mythXXXXXX should exist. If the grabber
> is working, then the file will be growing in size.
>
> Or, you could type: tail -f /tmp/mythXXXXXX and watch the
> data come in. XXXXXX will change each time the grabber is run
> (and is unlikely to ever be XXXXXX).
>
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
On Sun, Jul 11, 2021 at 7:47 PM Lloyd Chittenden <lloydc23@gmail.com> wrote:

> Now when I run mythfilldatabase it gets stuck ....

Run it manually (as the -v XMLTV indicates the
command would be), and it should tell you what
it is doing (due to some artifacts, the -v XMLTV output
is only produced when the grabber completes,
but when run interactively STDERR output should
be seen reasonably often and indicate progress
of some form or the other).

Note, as Bill mentions, the first run on a new
largish, as most cable lineups are, videosource
can take a very very long time to complete as
both the grabber, and your mythtv database
has to update a lot of entries. Later runs tend
to take less time because only changes need
to be updated (the grabber caches previous
retrieved content, and the database only needs
to update new/changed content).
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
On 7/11/21 4:24 PM, Gary Buhrmaster wrote:
> On Sun, Jul 11, 2021 at 7:47 PM Lloyd Chittenden <lloydc23@gmail.com> wrote:
>
>> Now when I run mythfilldatabase it gets stuck ....
>
> Run it manually (as the -v XMLTV indicates the
> command would be), and it should tell you what
> it is doing (due to some artifacts, the -v XMLTV output
> is only produced when the grabber completes,
> but when run interactively STDERR output should
> be seen reasonably often and indicate progress
> of some form or the other).
>
> Note, as Bill mentions, the first run on a new
> largish, as most cable lineups are, videosource
> can take a very very long time to complete as
> both the grabber, and your mythtv database
> has to update a lot of entries. Later runs tend
> to take less time because only changes need
> to be updated (the grabber caches previous
> retrieved content, and the database only needs
> to update new/changed content).

From an earlier attempt at -v xmltv, I"m guessing that
Lloyd doesn't have the MythTV PPA on so he doesn't have
the commit that added the logging.

Lloyd, try these:

sudo add-apt-repository ppa:mythbuntu/31
sudo apt update

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Okay. I did that. Here's the result. It seems like there is something
else to do:

lloyd@Linux-Desktop:~$ sudo add-apt-repository ppa:mythbuntu/31
The packages here are automatically built by the launchpad system. If the
package version includes master (eg. 2:31.0~master), then that is from the
development version and it's recommended to subscribe to the relevant
MythTV mailing lists and be prepared for breakage.

However once this version is released, it is no longer in development and
only fixes go in. When that happens, the package version will change to
include fixes (eg. 2:30.0+fixes). These repos will only ever go from master
-> fixes so once the fixes packages are available it is safe to use this.
More info: https://launchpad.net/~mythbuntu/+archive/ubuntu/31
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal InRelease [17.5 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11
Metadata [24.5 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11
Metadata [283 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64
DEP-11 Metadata [60.8 kB]
Get:10 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main i386
Packages [2,368 B]
Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64
DEP-11 Metadata [2,464 B]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64
DEP-11 Metadata [332 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64
DEP-11 Metadata [2,468 B]
Get:14 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64
DEP-11 Metadata [10.3 kB]
Get:15 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main amd64
Packages [7,112 B]
Get:16 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main
Translation-en [3,244 B]
Fetched 1,073 kB in 2s (473 kB/s)
Reading package lists... Done
lloyd@Linux-Desktop:~$ sudo apt update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
lloyd@Linux-Desktop:~$

On Sun, Jul 11, 2021 at 5:12 PM Bill Meek <keemllib@gmail.com> wrote:

> On 7/11/21 4:24 PM, Gary Buhrmaster wrote:
> > On Sun, Jul 11, 2021 at 7:47 PM Lloyd Chittenden <lloydc23@gmail.com>
> wrote:
> >
> >> Now when I run mythfilldatabase it gets stuck ....
> >
> > Run it manually (as the -v XMLTV indicates the
> > command would be), and it should tell you what
> > it is doing (due to some artifacts, the -v XMLTV output
> > is only produced when the grabber completes,
> > but when run interactively STDERR output should
> > be seen reasonably often and indicate progress
> > of some form or the other).
> >
> > Note, as Bill mentions, the first run on a new
> > largish, as most cable lineups are, videosource
> > can take a very very long time to complete as
> > both the grabber, and your mythtv database
> > has to update a lot of entries. Later runs tend
> > to take less time because only changes need
> > to be updated (the grabber caches previous
> > retrieved content, and the database only needs
> > to update new/changed content).
>
> From an earlier attempt at -v xmltv, I"m guessing that
> Lloyd doesn't have the MythTV PPA on so he doesn't have
> the commit that added the logging.
>
> Lloyd, try these:
>
> sudo add-apt-repository ppa:mythbuntu/31
> sudo apt update
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Still setting up XMLTV [ In reply to ]
I ran mythfilldatabase -v again

Same thing happens. It got a few lines farther in the output before
something seemingly grinds the machine to a halt. It becomes hard to do
anything on the machine. The mouse response becomes super slow. If I just
go away and leave it for hours eventually the message "Killed" appears in
the terminal running mythfilldatabase, and the machine seems okay.

Lloyd

On Sun, Jul 11, 2021 at 7:53 PM Lloyd Chittenden <lloydc23@gmail.com> wrote:

> Okay. I did that. Here's the result. It seems like there is something
> else to do:
>
> lloyd@Linux-Desktop:~$ sudo add-apt-repository ppa:mythbuntu/31
> The packages here are automatically built by the launchpad system. If the
> package version includes master (eg. 2:31.0~master), then that is from the
> development version and it's recommended to subscribe to the relevant
> MythTV mailing lists and be prepared for breakage.
>
> However once this version is released, it is no longer in development and
> only fixes go in. When that happens, the package version will change to
> include fixes (eg. 2:30.0+fixes). These repos will only ever go from master
> -> fixes so once the fixes packages are available it is safe to use this.
> More info: https://launchpad.net/~mythbuntu/+archive/ubuntu/31
> Press [ENTER] to continue or Ctrl-c to cancel adding it.
>
> Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
> Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
> Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
> Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
> Get:5 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal InRelease [17.5
> kB]
> Get:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101
> kB]
> Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11
> Metadata [24.5 kB]
> Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11
> Metadata [283 kB]
> Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64
> DEP-11 Metadata [60.8 kB]
> Get:10 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main i386
> Packages [2,368 B]
> Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64
> DEP-11 Metadata [2,464 B]
> Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64
> DEP-11 Metadata [332 kB]
> Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64
> DEP-11 Metadata [2,468 B]
> Get:14 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64
> DEP-11 Metadata [10.3 kB]
> Get:15 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main amd64
> Packages [7,112 B]
> Get:16 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main
> Translation-en [3,244 B]
> Fetched 1,073 kB in 2s (473 kB/s)
> Reading package lists... Done
> lloyd@Linux-Desktop:~$ sudo apt update
> Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
> Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
> Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
> Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
> Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
> Hit:6 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal InRelease
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 10 packages can be upgraded. Run 'apt list --upgradable' to see them.
> lloyd@Linux-Desktop:~$
>
> On Sun, Jul 11, 2021 at 5:12 PM Bill Meek <keemllib@gmail.com> wrote:
>
>> On 7/11/21 4:24 PM, Gary Buhrmaster wrote:
>> > On Sun, Jul 11, 2021 at 7:47 PM Lloyd Chittenden <lloydc23@gmail.com>
>> wrote:
>> >
>> >> Now when I run mythfilldatabase it gets stuck ....
>> >
>> > Run it manually (as the -v XMLTV indicates the
>> > command would be), and it should tell you what
>> > it is doing (due to some artifacts, the -v XMLTV output
>> > is only produced when the grabber completes,
>> > but when run interactively STDERR output should
>> > be seen reasonably often and indicate progress
>> > of some form or the other).
>> >
>> > Note, as Bill mentions, the first run on a new
>> > largish, as most cable lineups are, videosource
>> > can take a very very long time to complete as
>> > both the grabber, and your mythtv database
>> > has to update a lot of entries. Later runs tend
>> > to take less time because only changes need
>> > to be updated (the grabber caches previous
>> > retrieved content, and the database only needs
>> > to update new/changed content).
>>
>> From an earlier attempt at -v xmltv, I"m guessing that
>> Lloyd doesn't have the MythTV PPA on so he doesn't have
>> the commit that added the logging.
>>
>> Lloyd, try these:
>>
>> sudo add-apt-repository ppa:mythbuntu/31
>> sudo apt update
>>
>> --
>> Bill
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
Re: Still setting up XMLTV [ In reply to ]
On Sun, 2021-07-11 at 20:41 -0600, Lloyd Chittenden wrote:
> I ran mythfilldatabase -v again
>
> Same thing happens.  It got a few lines farther in the output before
> something seemingly grinds the machine to a halt.  It becomes hard to
> do anything on the machine.  The mouse response becomes super slow. 
> If I just go away and leave it for hours eventually the message
> "Killed" appears in the terminal running mythfilldatabase, and the
> machine seems okay.

That all sounds like signs that you're running out of memory.

David


> Lloyd
>
> On Sun, Jul 11, 2021 at 7:53 PM Lloyd Chittenden <lloydc23@gmail.com>
> wrote:
> > Okay.  I did that.  Here's the result.  It seems like there is
> > something else to do:
> >
> > lloyd@Linux-Desktop:~$ sudo add-apt-repository ppa:mythbuntu/31
> >  The packages here are automatically built by the launchpad system.
> > If the package version includes master (eg. 2:31.0~master), then
> > that is from the development version and it's recommended to
> > subscribe to the relevant MythTV mailing lists and be prepared for
> > breakage.
> >
> > However once this version is released, it is no longer in
> > development and only fixes go in. When that happens, the package
> > version will change to include fixes (eg. 2:30.0+fixes). These
> > repos will only ever go from master -> fixes so once the fixes
> > packages are available it is safe to use this.
> >  More info: https://launchpad.net/~mythbuntu/+archive/ubuntu/31
> > Press [ENTER] to continue or Ctrl-c to cancel adding it.
> >
> > Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
> > Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease
> > [114 kB]
> > Hit:3 http://us.archive.ubuntu.com/ubuntu focal InRelease          
> >      
> > Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
> > [114 kB]
> > Get:5 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal InRelease
> > [17.5 kB]
> > Get:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
> > [101 kB]
> > Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64
> > DEP-11 Metadata [24.5 kB]
> > Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
> > DEP-11 Metadata [283 kB]
> > Get:9 http://security.ubuntu.com/ubuntu focal-security/universe
> > amd64 DEP-11 Metadata [60.8 kB]
> > Get:10 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main i386
> > Packages [2,368 B]
> > Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse
> > amd64 DEP-11 Metadata [2,464 B]
> > Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe
> > amd64 DEP-11 Metadata [332 kB]
> > Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse
> > amd64 DEP-11 Metadata [2,468 B]
> > Get:14 http://us.archive.ubuntu.com/ubuntu focal-backports/universe
> > amd64 DEP-11 Metadata [10.3 kB]
> > Get:15 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main
> > amd64 Packages [7,112 B]
> > Get:16 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal/main
> > Translation-en [3,244 B]
> > Fetched 1,073 kB in 2s (473 kB/s)                              
> > Reading package lists... Done
> > lloyd@Linux-Desktop:~$ sudo apt update
> > Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
> > Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease          
> >      
> > Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease  
> >        
> > Hit:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease  
> >      
> > Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
> >      
> > Hit:6 http://ppa.launchpad.net/mythbuntu/31/ubuntu focal InRelease
> > Reading package lists... Done
> > Building dependency tree      
> > Reading state information... Done
> > 10 packages can be upgraded. Run 'apt list --upgradable' to see
> > them.
> > lloyd@Linux-Desktop:~$
> >
> > On Sun, Jul 11, 2021 at 5:12 PM Bill Meek <keemllib@gmail.com>
> > wrote:
> > > On 7/11/21 4:24 PM, Gary Buhrmaster wrote:
> > > > On Sun, Jul 11, 2021 at 7:47 PM Lloyd Chittenden
> > > <lloydc23@gmail.com> wrote:
> > > >
> > > > > Now when I run mythfilldatabase it gets stuck ....
> > > >
> > > > Run it manually (as the -v XMLTV indicates the
> > > > command would be), and it should tell you what
> > > > it is doing (due to some artifacts, the -v XMLTV output
> > > > is only produced when the grabber completes,
> > > > but when run interactively STDERR output should
> > > > be seen reasonably often and indicate progress
> > > > of some form or the other).
> > > >
> > > > Note, as Bill mentions, the first run on a new
> > > > largish, as most cable lineups are, videosource
> > > > can take a very very long time to complete as
> > > > both the grabber, and your mythtv database
> > > > has to update a lot of entries.  Later runs tend
> > > > to take less time because only changes need
> > > > to be updated (the grabber caches previous
> > > > retrieved content, and the database only needs
> > > > to update new/changed content).
> > >
> > > From an earlier attempt at -v xmltv, I"m guessing that
> > > Lloyd doesn't have the MythTV PPA on so he doesn't have
> > > the commit that added the logging.
> > >
> > > Lloyd, try these:
> > >
> > > sudo add-apt-repository ppa:mythbuntu/31
> > > sudo apt update
> > >
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users@mythtv.org
> > > http://lists.mythtv.org/mailman/listinfo/mythtv-users
> > > http://wiki.mythtv.org/Mailing_List_etiquette
> > > MythTV Forums: https://forum.mythtv.org


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
On Mon, Jul 12, 2021 at 2:43 AM Lloyd Chittenden <lloydc23@gmail.com> wrote:
>
> I ran mythfilldatabase -v again

And the output is? Please post a link to your
favorite pastebin site.

> Same thing happens. It got a few lines farther in the output before something seemingly grinds the machine to a halt. It becomes hard to do anything on the machine. The mouse response becomes super slow. If I just go away and leave it for hours eventually the message "Killed" appears in the terminal running mythfilldatabase, and the machine seems okay.

Sounds like you may be swapping yourself to
death, and eventually OOM finished the job.

How much memory does your system have?

There were updates in later v31/fixes mythfilldatabase
to reduce the memory usage, but you do need
to be sure you are running the latest v31/fixes.

The logs you will post above should show if
you have the correct version(s).
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
On 7/11/21 8:53 PM, Lloyd Chittenden wrote:
> Okay.  I did that.  Here's the result.  It seems like there is something else to do:
>
> lloyd@Linux-Desktop:~$ sudo add-apt-repository ppa:mythbuntu/31
>  The packages here are automatically built by the launchpad system. If the package version includes master (eg. 2:31.0~master), then that is
> from the development version and it's recommended to subscribe to the relevant MythTV mailing lists and be prepared for breakage.
>
> However once this version is released, it is no longer in development and only fixes go in. When that happens, the package version will change
> to include fixes (eg. 2:30.0+fixes). These repos will only ever go from master -> fixes so once the fixes packages are available it is safe to
> use this.
>  More info: https://launchpad.net/~mythbuntu/+archive/ubuntu/31 <https://launchpad.net/~mythbuntu/+archive/ubuntu/31>
> Press [ENTER] to continue or Ctrl-c to cancel adding it.
>
> Hit:1 http://dl.google.com/linux/chrome/deb <http://dl.google.com/linux/chrome/deb> stable InRelease
> Get:2 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security InRelease [114 kB]
> Hit:3 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal InRelease                
> Get:4 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates InRelease [114 kB]
> Get:5 http://ppa.launchpad.net/mythbuntu/31/ubuntu <http://ppa.launchpad.net/mythbuntu/31/ubuntu> focal InRelease [17.5 kB]
> Get:6 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-backports InRelease [101 kB]
> Get:7 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/main amd64 DEP-11 Metadata [24.5 kB]
> Get:8 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/main amd64 DEP-11 Metadata [283 kB]
> Get:9 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/universe amd64 DEP-11 Metadata [60.8 kB]
> Get:10 http://ppa.launchpad.net/mythbuntu/31/ubuntu <http://ppa.launchpad.net/mythbuntu/31/ubuntu> focal/main i386 Packages [2,368 B]
> Get:11 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
> Get:12 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/universe amd64 DEP-11 Metadata [332 kB]
> Get:13 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
> Get:14 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-backports/universe amd64 DEP-11 Metadata [10.3 kB]
> Get:15 http://ppa.launchpad.net/mythbuntu/31/ubuntu <http://ppa.launchpad.net/mythbuntu/31/ubuntu> focal/main amd64 Packages [7,112 B]
> Get:16 http://ppa.launchpad.net/mythbuntu/31/ubuntu <http://ppa.launchpad.net/mythbuntu/31/ubuntu> focal/main Translation-en [3,244 B]
> Fetched 1,073 kB in 2s (473 kB/s)                              
> Reading package lists... Done
> lloyd@Linux-Desktop:~$ sudo apt update
> Hit:1 http://dl.google.com/linux/chrome/deb <http://dl.google.com/linux/chrome/deb> stable InRelease
> Hit:2 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal InRelease                
> Hit:3 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security InRelease          
> Hit:4 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates InRelease        
> Hit:5 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-backports InRelease      
> Hit:6 http://ppa.launchpad.net/mythbuntu/31/ubuntu <http://ppa.launchpad.net/mythbuntu/31/ubuntu> focal InRelease
> Reading package lists... Done
> Building dependency tree      
> Reading state information... Done
> 10 packages can be upgraded. Run 'apt list --upgradable' to see them.
> lloyd@Linux-Desktop:~$
>
> On Sun, Jul 11, 2021 at 5:12 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com>> wrote:
>
> On 7/11/21 4:24 PM, Gary Buhrmaster wrote:
> > On Sun, Jul 11, 2021 at 7:47 PM Lloyd Chittenden <lloydc23@gmail.com <mailto:lloydc23@gmail.com>> wrote:
> >
> >> Now when I run mythfilldatabase it gets stuck ....
> >
> > Run it manually (as the -v XMLTV indicates the
> > command would be), and it should tell you what
> > it is doing (due to some artifacts, the -v XMLTV output
> > is only produced when the grabber completes,
> > but when run interactively STDERR output should
> > be seen reasonably often and indicate progress
> > of some form or the other).
> >
> > Note, as Bill mentions, the first run on a new
> > largish, as most cable lineups are, videosource
> > can take a very very long time to complete as
> > both the grabber, and your mythtv database
> > has to update a lot of entries.  Later runs tend
> > to take less time because only changes need
> > to be updated (the grabber caches previous
> > retrieved content, and the database only needs
> > to update new/changed content).
>
> From an earlier attempt at -v xmltv, I"m guessing that
> Lloyd doesn't have the MythTV PPA on so he doesn't have
> the commit that added the logging.
>
> Lloyd, try these:
>
> sudo add-apt-repository ppa:mythbuntu/31
> sudo apt update
>
> --
> Bill


I'd run the: apt list --upgradable
from the above output to see what
will be done.

sudo apt upgrade if everything looks OK.
Or put the output here for folks to comment
on.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Huh, RAM.  I've never given any thought to the RAM on this machine.  I
just made sure it has huge storage.  It has 8GB, but it could use up to
32.  RAM is cheap.  How much should I have?

Lloyd

On 7/11/2021 9:20 PM, Gary Buhrmaster wrote:
> On Mon, Jul 12, 2021 at 2:43 AM Lloyd Chittenden <lloydc23@gmail.com> wrote:
>> I ran mythfilldatabase -v again
> And the output is? Please post a link to your
> favorite pastebin site.
>
>> Same thing happens. It got a few lines farther in the output before something seemingly grinds the machine to a halt. It becomes hard to do anything on the machine. The mouse response becomes super slow. If I just go away and leave it for hours eventually the message "Killed" appears in the terminal running mythfilldatabase, and the machine seems okay.
> Sounds like you may be swapping yourself to
> death, and eventually OOM finished the job.
>
> How much memory does your system have?
>
> There were updates in later v31/fixes mythfilldatabase
> to reduce the memory usage, but you do need
> to be sure you are running the latest v31/fixes.
>
> The logs you will post above should show if
> you have the correct version(s).
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Still setting up XMLTV [ In reply to ]
Hi Lloyd!

> Huh, RAM. I've never given any thought to the RAM on this machine. I
> just made sure it has huge storage. It has 8GB, but it could use up to
> 32. RAM is cheap.? How much should I have?

Fill it up! You may be better off to remove your original 8 GB to
replace with faster RAM (the 2666, 3200, numbers) Check with your
(motherboard’s) manual for the maximum speed your system can use. Also
make sure to get the correct type (the DDR4, DDR3 thing). The kits (2x)
are matched sets so try not to mix them up when installaing (se you
manual for what memory slots are paired).

I generally go to Crucial.com to get an idea of what I can use then
check prices – sometimes I buy direct, sometimes other sites.


With the ‘full RAM’ you might find your system is overall faster. On the
Status > Information >Machine Status page (Backend or Frontend) you’ll
see statistics for RAM and Swap usage. Ideally you want 0 Swap usage.
RAM will look like near 100% usage: it’s the actual stuff put into
memory plus disk cache. I found this webage
https://www.linuxatemyram.com/ <https://www.linuxatemyram.com/> helpful
to explain.

I’ve ben following your thread because I’m attepting to build a new
Backend and also having XMLTV problems. The hints you’re being given are
helpful to me but also not quite there; I may be posting my own inquiry
shorty!

Barry
Re: Still setting up XMLTV [ In reply to ]
On Mon, 12 Jul 2021 08:53:36 -0500, you wrote:

>Hi Lloyd!
>
>> Huh, RAM. I've never given any thought to the RAM on this machine. I
>> just made sure it has huge storage. It has 8GB, but it could use up to
>> 32. RAM is cheap.? How much should I have?
>
>Fill it up! You may be better off to remove your original 8 GB to
>replace with faster RAM (the 2666, 3200, numbers) Check with your
>(motherboard?s) manual for the maximum speed your system can use. Also
>make sure to get the correct type (the DDR4, DDR3 thing). The kits (2x)
>are matched sets so try not to mix them up when installaing (se you
>manual for what memory slots are paired).
>
>I generally go to Crucial.com to get an idea of what I can use then
>check prices ? sometimes I buy direct, sometimes other sites.
>
>
>With the ?full RAM? you might find your system is overall faster. On the
>Status > Information >Machine Status page (Backend or Frontend) you?ll
>see statistics for RAM and Swap usage. Ideally you want 0 Swap usage.
>RAM will look like near 100% usage: it?s the actual stuff put into
>memory plus disk cache. I found this webage
>https://www.linuxatemyram.com/ <https://www.linuxatemyram.com/> helpful
>to explain.

There is usually some swap used even in systems where it is not
necessary due to having excessive amounts of RAM. That seems to
happen when there are bits of code that are simply not being used, so
the system swaps them out. RAM that is not in use is normally used as
file cache, so you need a tool that will show you what RAM is actually
in use and what is just file cache. I use htop - a better version of
the top command that is normally installed by default. You have to
install the htop package.

I also use this script (swap.sh) to go through all the /proc entries
for the programs that are running and extract the swap usage:

https://gist.github.com/samqiu/5954487

>I?ve ben following your thread because I?m attepting to build a new
>Backend and also having XMLTV problems. The hints you?re being given are
>helpful to me but also not quite there; I may be posting my own inquiry
>shorty!
>
>Barry
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org