<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 6, 2023 at 9:13 AM Daryl McDonald <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have a dual boot Ubuntu 20.04/22.04 FE/BE system. I successfully restored my database to myth in 22.04 and mythfilldatabase fails. Thinking I needed to then go through the xmltv configure process again I get this:<div>$ tv_grab_zz_sdjson_sqlite --configure --config-file $HOME/.mythtv/intenna.xmltv<br>tv_grab_zz_sdjson_sqlite uses a local database for downloaded EPG data. Please specify the database name created via tv_grab_zz_sdjson_sqlite --manage-lineups<br>Database for Schedules Direct EPG: [/home/mythtv/.xmltv/SchedulesDirect.DB] intenna<br>Unable to create parent directory for intenna: mkdir .: Permission denied at /usr/local/bin/tv_grab_zz_sdjson_sqlite line 4397.<br></div><div>I have two sources intenna and antenna, same result for both. </div><div>Permissions are identical on both systems:</div><div>ls -al /usr/local/bin/tv_grab_zz_sdjson_sqlite<br>-r-xr-xr-x 1 root root 338312 Jan  6 07:52 /usr/local/bin/tv_grab_zz_sdjson_sqlite<br></div><div><br></div><div>aryl@trieli:/media/daryl/b48b3666-5550-4407-859d-74f11d287875/usr/local/bin$ ls -al tv_grab_zz_sdjson_sqlite <br>-r-xr-xr-x 1 root root 322422 Nov  7  2020 tv_grab_zz_sdjson_sqlite<br></div><div><br></div><div>FE info shows mythfilldatabase failed error code 1</div><div><br></div><div>I also see an internal Ubuntu error:</div><div>"tmdb3typy crashed with IndexError in_getitem_():list index outside range"</div><div><br></div><div>What do I need to do next to put this right?  </div><div>TIA  Daryl</div></div></div></div></blockquote><div><br></div><div>Here is a look at the attempt:</div><div><br></div><div> daryl@trieli:~$ sudo su mythtv</div>[sudo] password for daryl: <br>$ mythfilldatabase<br>2023-01-06 09:46:46.956493 C  mythfilldatabase version: fixes/32 [v32.0+fixes.20220325.f69ce764b7-0ubuntu1] <a href="http://www.mythtv.org">www.mythtv.org</a><br>2023-01-06 09:46:46.956503 C  Qt version: compile: 5.15.2, runtime: 5.15.3<br>2023-01-06 09:46:46.956538 I  Ubuntu 22.04.1 LTS (x86_64)<br>2023-01-06 09:46:46.956540 N  Enabled verbose msgs:  general<br>2023-01-06 09:46:46.956548 N  Setting Log Level to LOG_INFO<br>2023-01-06 09:46:46.967243 I  Added logging to the console<br>2023-01-06 09:46:46.967436 I  Setup Interrupt handler<br>2023-01-06 09:46:46.967442 I  Setup Terminated handler<br>2023-01-06 09:46:46.967446 I  Setup Segmentation fault handler<br>2023-01-06 09:46:46.967449 I  Setup Aborted handler<br>2023-01-06 09:46:46.967452 I  Setup Bus error handler<br>2023-01-06 09:46:46.967456 I  Setup Floating point exception handler<br>2023-01-06 09:46:46.967460 I  Setup Illegal instruction handler<br>2023-01-06 09:46:46.967490 I  Setup Real-time signal 0 handler<br>2023-01-06 09:46:46.967494 I  Setup Hangup handler<br>2023-01-06 09:46:46.967608 N  Using runtime prefix = /usr<br>2023-01-06 09:46:46.967610 N  Using configuration directory = /home/mythtv/.mythtv<br>2023-01-06 09:46:46.967643 I  Assumed character encoding: en_CA.UTF-8<br>2023-01-06 09:46:46.967961 I  Empty LocalHostName. This is typical.<br>2023-01-06 09:46:46.967964 I  Using a profile name of: 'trieli' (Usually the same as this host's name.)<br>2023-01-06 09:46:46.968004 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000<br>2023-01-06 09:46:48.009560 N  Setting QT default locale to en_CA<br>2023-01-06 09:46:48.009578 I  Current locale en_CA<br>2023-01-06 09:46:48.009664 N  Reading locale defaults from /usr/share/mythtv//locales/en_ca.xml<br>2023-01-06 09:46:48.066209 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/keyboard_hidpp_battery_0'<br>2023-01-06 09:46:48.066651 I  Power: On AC power<br>2023-01-06 09:46:48.119182 I  Power: Supported actions: Suspend,Restart,Shutdown<br>2023-01-06 09:46:48.120918 I  Loading en_ca translation for module mythfrontend<br>2023-01-06 09:46:48.123531 I  Current MythTV Schema Version (DBSchemaVer): 1376<br>2023-01-06 09:46:48.130041 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: <a href="http://127.0.0.1:6543">127.0.0.1:6543</a> (try 1 of 1)<br>2023-01-06 09:46:48.135485 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff<br>2023-01-06 09:46:48.135844 I  Opening blocking connection to master backend<br>2023-01-06 09:46:48.393821 I  Updating source #1 (antenna) with grabber tv_grab_zz_sdjson_sqlite<br>2023-01-06 09:46:48.394686 I  Found 37 channels for source 1 which use grabber<br>2023-01-06 09:46:48.395208 I  Starting process manager<br>2023-01-06 09:46:48.397066 I  Starting IO manager (read)<br>2023-01-06 09:46:48.397203 I  Starting process signal handler<br>2023-01-06 09:46:48.397379 I  Starting IO manager (write)<br>2023-01-06 09:46:49.400123 I  Grabber has capabilities: baseline manualconfig preferredmethod lineups apiconfig <br>2023-01-06 09:46:50.251358 I  Grabber prefers method: allatonce<br>2023-01-06 09:46:50.252767 I  XMLTV config file is: /home/mythtv/.mythtv/antenna.xmltv<br>2023-01-06 09:46:51.155718 E  XMLTV grabber returned error code 1<br>2023-01-06 09:46:51.754906 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.<br>2023-01-06 09:46:51.998502 I  Updating source #8 (intenna) with grabber tv_grab_zz_sdjson_sqlite<br>2023-01-06 09:46:51.999324 I  Found 36 channels for source 8 which use grabber<br>2023-01-06 09:46:52.806787 I  Grabber has capabilities: baseline manualconfig preferredmethod lineups apiconfig <br>2023-01-06 09:46:53.660513 I  Grabber prefers method: allatonce<br>2023-01-06 09:46:53.661796 I  XMLTV config file is: /home/mythtv/.mythtv/intenna.xmltv<br>2023-01-06 09:46:54.513831 E  XMLTV grabber returned error code 1</div><div class="gmail_quote"><br>**2023-01-06 09:46:55.014309 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.</div><div class="gmail_quote"><br>2023-01-06 09:46:55.102388 E  Failed to fetch some program info<br>2023-01-06 09:46:55.102438 I  Adjusting program database end times.<br>2023-01-06 09:46:55.102955 I      0 replacements made<br>2023-01-06 09:46:55.102959 I  Marking generic episodes.<br>2023-01-06 09:46:55.362963 I      Found 0<br>2023-01-06 09:46:55.362970 I  Extending non-unique programids with multiple parts.<br>2023-01-06 09:46:55.511171 I      Found 0<br>2023-01-06 09:46:55.511178 I  Fixing missing original airdates.<br>2023-01-06 09:46:55.991303 I      Found 0 with programids<br>2023-01-06 09:46:55.992112 I      Found 0 without programids<br>2023-01-06 09:46:55.992116 I  Marking repeats.<br>2023-01-06 09:46:56.014304 I      Found 0<br>2023-01-06 09:46:56.014307 I  Unmarking new episode rebroadcast repeats.<br>2023-01-06 09:46:56.177554 I      Found 0<br>2023-01-06 09:46:56.961775 I  Marking episode first showings.<br>2023-01-06 09:46:58.214495 I      Found 40508<br>2023-01-06 09:46:58.214503 I  Marking episode last showings.<br>2023-01-06 09:46:59.453928 I      Found 40462<br>2023-01-06 09:46:59.466497 I  <br>===============================================================<br>| Attempting to contact the master backend for rescheduling.  |<br>| If the master is not running, rescheduling will happen when |<br>| the master backend is restarted.                            |<br>===============================================================<br>2023-01-06 09:46:59.467928 N  mythfilldatabase run complete.<br>2023-01-06 09:46:59.468187 I  PowerDBus: Closing interfaces<br>2023-01-06 09:46:59.469953 I  Waiting for threads to exit.<br>2023-01-06 09:46:59.469985 I  Exiting<br>$</div><div class="gmail_quote"><br></div><div class="gmail_quote">Is ** any clue?  <br><br></div></div>