[mythtv-users] mythfilldatabase failing after OS upgrade

Daryl McDonald darylangela at gmail.com
Fri Jan 6 14:51:47 UTC 2023


On Fri, Jan 6, 2023 at 9:13 AM Daryl McDonald <darylangela at gmail.com> wrote:

> 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:
> $ tv_grab_zz_sdjson_sqlite --configure --config-file
> $HOME/.mythtv/intenna.xmltv
> 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
> Database for Schedules Direct EPG:
> [/home/mythtv/.xmltv/SchedulesDirect.DB] intenna
> Unable to create parent directory for intenna: mkdir .: Permission denied
> at /usr/local/bin/tv_grab_zz_sdjson_sqlite line 4397.
> I have two sources intenna and antenna, same result for both.
> Permissions are identical on both systems:
> ls -al /usr/local/bin/tv_grab_zz_sdjson_sqlite
> -r-xr-xr-x 1 root root 338312 Jan  6 07:52
> /usr/local/bin/tv_grab_zz_sdjson_sqlite
>
> aryl at trieli:/media/daryl/b48b3666-5550-4407-859d-74f11d287875/usr/local/bin$
> ls -al tv_grab_zz_sdjson_sqlite
> -r-xr-xr-x 1 root root 322422 Nov  7  2020 tv_grab_zz_sdjson_sqlite
>
> FE info shows mythfilldatabase failed error code 1
>
> I also see an internal Ubuntu error:
> "tmdb3typy crashed with IndexError in_getitem_():list index outside range"
>
> What do I need to do next to put this right?
> TIA  Daryl
>

Here is a look at the attempt:

 daryl at trieli:~$ sudo su mythtv
[sudo] password for daryl:
$ mythfilldatabase
2023-01-06 09:46:46.956493 C  mythfilldatabase version: fixes/32
[v32.0+fixes.20220325.f69ce764b7-0ubuntu1] www.mythtv.org
2023-01-06 09:46:46.956503 C  Qt version: compile: 5.15.2, runtime: 5.15.3
2023-01-06 09:46:46.956538 I  Ubuntu 22.04.1 LTS (x86_64)
2023-01-06 09:46:46.956540 N  Enabled verbose msgs:  general
2023-01-06 09:46:46.956548 N  Setting Log Level to LOG_INFO
2023-01-06 09:46:46.967243 I  Added logging to the console
2023-01-06 09:46:46.967436 I  Setup Interrupt handler
2023-01-06 09:46:46.967442 I  Setup Terminated handler
2023-01-06 09:46:46.967446 I  Setup Segmentation fault handler
2023-01-06 09:46:46.967449 I  Setup Aborted handler
2023-01-06 09:46:46.967452 I  Setup Bus error handler
2023-01-06 09:46:46.967456 I  Setup Floating point exception handler
2023-01-06 09:46:46.967460 I  Setup Illegal instruction handler
2023-01-06 09:46:46.967490 I  Setup Real-time signal 0 handler
2023-01-06 09:46:46.967494 I  Setup Hangup handler
2023-01-06 09:46:46.967608 N  Using runtime prefix = /usr
2023-01-06 09:46:46.967610 N  Using configuration directory =
/home/mythtv/.mythtv
2023-01-06 09:46:46.967643 I  Assumed character encoding: en_CA.UTF-8
2023-01-06 09:46:46.967961 I  Empty LocalHostName. This is typical.
2023-01-06 09:46:46.967964 I  Using a profile name of: 'trieli' (Usually
the same as this host's name.)
2023-01-06 09:46:46.968004 I  Start up testing connections. DB localhost,
BE , attempt 0, status dbAwake, Delay: 2000
2023-01-06 09:46:48.009560 N  Setting QT default locale to en_CA
2023-01-06 09:46:48.009578 I  Current locale en_CA
2023-01-06 09:46:48.009664 N  Reading locale defaults from
/usr/share/mythtv//locales/en_ca.xml
2023-01-06 09:46:48.066209 I  PowerDBus: Added UPower.Device
'/org/freedesktop/UPower/devices/keyboard_hidpp_battery_0'
2023-01-06 09:46:48.066651 I  Power: On AC power
2023-01-06 09:46:48.119182 I  Power: Supported actions:
Suspend,Restart,Shutdown
2023-01-06 09:46:48.120918 I  Loading en_ca translation for module
mythfrontend
2023-01-06 09:46:48.123531 I  Current MythTV Schema Version (DBSchemaVer):
1376
2023-01-06 09:46:48.130041 I  MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2023-01-06 09:46:48.135485 I  MythCoreContext::CheckProtoVersion(): Using
protocol version 91 BuzzOff
2023-01-06 09:46:48.135844 I  Opening blocking connection to master backend
2023-01-06 09:46:48.393821 I  Updating source #1 (antenna) with grabber
tv_grab_zz_sdjson_sqlite
2023-01-06 09:46:48.394686 I  Found 37 channels for source 1 which use
grabber
2023-01-06 09:46:48.395208 I  Starting process manager
2023-01-06 09:46:48.397066 I  Starting IO manager (read)
2023-01-06 09:46:48.397203 I  Starting process signal handler
2023-01-06 09:46:48.397379 I  Starting IO manager (write)
2023-01-06 09:46:49.400123 I  Grabber has capabilities: baseline
manualconfig preferredmethod lineups apiconfig
2023-01-06 09:46:50.251358 I  Grabber prefers method: allatonce
2023-01-06 09:46:50.252767 I  XMLTV config file is:
/home/mythtv/.mythtv/antenna.xmltv
2023-01-06 09:46:51.155718 E  XMLTV grabber returned error code 1
2023-01-06 09:46:51.754906 E  Malformed XML file, missing </tv> element, at
line 1, Premature end of document.
2023-01-06 09:46:51.998502 I  Updating source #8 (intenna) with grabber
tv_grab_zz_sdjson_sqlite
2023-01-06 09:46:51.999324 I  Found 36 channels for source 8 which use
grabber
2023-01-06 09:46:52.806787 I  Grabber has capabilities: baseline
manualconfig preferredmethod lineups apiconfig
2023-01-06 09:46:53.660513 I  Grabber prefers method: allatonce
2023-01-06 09:46:53.661796 I  XMLTV config file is:
/home/mythtv/.mythtv/intenna.xmltv
2023-01-06 09:46:54.513831 E  XMLTV grabber returned error code 1

**2023-01-06 09:46:55.014309 E  Malformed XML file, missing </tv> element,
at line 1, Premature end of document.

2023-01-06 09:46:55.102388 E  Failed to fetch some program info
2023-01-06 09:46:55.102438 I  Adjusting program database end times.
2023-01-06 09:46:55.102955 I      0 replacements made
2023-01-06 09:46:55.102959 I  Marking generic episodes.
2023-01-06 09:46:55.362963 I      Found 0
2023-01-06 09:46:55.362970 I  Extending non-unique programids with multiple
parts.
2023-01-06 09:46:55.511171 I      Found 0
2023-01-06 09:46:55.511178 I  Fixing missing original airdates.
2023-01-06 09:46:55.991303 I      Found 0 with programids
2023-01-06 09:46:55.992112 I      Found 0 without programids
2023-01-06 09:46:55.992116 I  Marking repeats.
2023-01-06 09:46:56.014304 I      Found 0
2023-01-06 09:46:56.014307 I  Unmarking new episode rebroadcast repeats.
2023-01-06 09:46:56.177554 I      Found 0
2023-01-06 09:46:56.961775 I  Marking episode first showings.
2023-01-06 09:46:58.214495 I      Found 40508
2023-01-06 09:46:58.214503 I  Marking episode last showings.
2023-01-06 09:46:59.453928 I      Found 40462
2023-01-06 09:46:59.466497 I
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2023-01-06 09:46:59.467928 N  mythfilldatabase run complete.
2023-01-06 09:46:59.468187 I  PowerDBus: Closing interfaces
2023-01-06 09:46:59.469953 I  Waiting for threads to exit.
2023-01-06 09:46:59.469985 I  Exiting
$

Is ** any clue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230106/ea83275c/attachment.htm>


More information about the mythtv-users mailing list