You are not logged in.

#1 2018-12-18 06:45:24

farmerdave
Member
Registered: 2011-11-23
Posts: 114

[SOLVED] Kodi pvr addon mythtv error

Hi, I have mythtv 1:29.1-10 installed and working fine, as well as kodi 17.6-8 installed and working well. I also have kodi-addon-pvr-mythtv 4.18.1-1 installed, but its failing. Error message in ~/.kodi/temp/kodi.log is

17:07:52.207 T:139033238697728   ERROR: PVRManager - Process - failed to load PVR data, retrying
17:07:53.207 T:139033238697728   ERROR: PVRManager - GetTVDatabase - failed to open the database
17:07:53.208 T:139033238697728   ERROR: PVRChannelGroup - Load - failed to update channels
17:07:53.208 T:139033238697728   ERROR: PVRChannelGroupInternal - Load - failed to load channels
17:07:53.208 T:139033238697728   ERROR: CPVRChannelGroups - Load - failed to load channels

This repeats a lot.

I have had this all working just fine up to about two months ago. Admittedly I didn't notice the exact time it stopped working, so I can't precisely remember what I may have done to break it! My best guess is I was trying to install an additional addon or two, changed my mind and uninstalled them. I may have uninstalled an important addon?

Apart from that, my system is pretty basic. Minimal installation, kept up to date. I have both lts and regular Arch kernels installed. Xfce desktop and that's about it.

I tried following the kodi wiki to enable debug logging, but I can't even see the option in my install now (https://kodi.wiki/view/Log_file/Easy), there is no "Enable debug logging" option.

Any help much appreciated!

Last edited by farmerdave (2018-12-18 09:16:42)

Offline

#2 2018-12-18 09:16:13

farmerdave
Member
Registered: 2011-11-23
Posts: 114

Re: [SOLVED] Kodi pvr addon mythtv error

Solved.
I enabled debug using the advancesettings.xml (https://kodi.wiki/view/Log_file/Advanced). Going through the log carefully I found this:

19:26:15.427 T:140197285369600   ERROR: SQL: [TV29.db] Undefined SQLite error
                                            Query: PRAGMA cache_size=4096
19:26:15.433 T:140197285369600   ERROR: Connect failed with 'SQL: [TV29.db] Undefined SQLite error
                                            Query: PRAGMA cache_size=4096

                                            '
19:26:15.434 T:140197285369600  NOTICE: Old database found - updating from version 26 to 29
19:26:15.434 T:140197285369600   DEBUG: Copying from TV26.db to TV29 at /home/david/.kodi/userdata/Database/
19:26:15.434 T:140197285369600   ERROR: SQL: Can't copy database. (26)
19:26:15.437 T:140197285369600   ERROR: Unable to copy old database TV26 to new version TV29
19:26:15.439 T:140197285369600  NOTICE: Running database version Epg11

I tried moving the TV26.db and TV29.db to a backup, and restarted kodi and it now works! Database was recreated and fixes the problem.

Offline

Board footer

Powered by FluxBB