[mythtv-users] Upgraded to 29, mythmetadata lookup failing...

Marlon Buchanan mlb.linux at gmail.com
Sat Sep 9 12:14:06 UTC 2017


Nothing much more in mythbackend.log either. Just the same Failed with exit
> status 128... Is there a place in myth where I set the path of ttvdb.py for
> mythmetadatalookup?
>


mythbackend --setverbose --system will cause the backend and any programs
it calls to run with -v system. But if you want to run mythmetadatalookup
from the command line, then just add:  -v system. That will show the actual
command being executed.

Haven't found the answer to your question though.



In my pre upgrade  mythmetadatalookup logs (before upgrade from .27 to 29)
I see the command called ttvdb.py command called successfully shortly after
the "Testing grabbers and metadata sites for functionality..." message. See
below:

Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: C
thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging)
mythmetadatalookup version: fixes/0.27 [v0.27.5-4-ge2a11c9] www.mythtv.org
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: C
thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) Qt
version: compile: 4.8.1, runtime: 4.8.6
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) Enabled
verbose msgs:  general
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
thread_unknown logging.cpp:907 (logStart) Setting Log Level to LOG_INFO
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
Logger logging.cpp:308 (run) Added logging to the console
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt
handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated
handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup
Segmentation fault handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted
handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error
handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating
point exception handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal
instruction handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time
signal 0 handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
thread_unknown mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix =
/usr
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
thread_unknown mythdirs.cpp:68 (InitializeMythDirs) Using configuration
directory = /home/mythtv/.mythtv
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcorecontext.cpp:257 (Init) Assumed character encoding:
en_US.UTF-8
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) Empty LocalHostName.
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) Using localhost
value of firestorm
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcontext.cpp:693 (TestDBconnection) Testing network
connectivity to '192.168.1.109'
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
SystemManager mythsystemunix.cpp:275 (run) Starting process manager
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
SystemSignalManager mythsystemunix.cpp:510 (run) Starting process signal
handler
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
SystemIOHandlerW mythsystemunix.cpp:91 (run) Starting IO manager (write)
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
SystemIOHandlerR mythsystemunix.cpp:91 (run) Starting IO manager (read)
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
LogForward loggingserver.cpp:1373 (forwardMessage) New Client:  (#1)
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
CoreContext mythcorecontext.cpp:1634 (InitLocale) Setting QT default locale
to en_US
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcorecontext.cpp:1667 (SaveLocaleDefaults) Current locale
en_US
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale
defaults from /usr/share/mythtv//locales/en_us.xml
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythtranslation.cpp:65 (load) Loading en_us translation for
module mythfrontend
Sep  6 18:59:39 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext main.cpp:128 (main) Testing grabbers and metadata sites for
functionality...
Sep  6 18:59:40 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext main.cpp:135 (main) All grabbers tested and working.
Continuing...
Sep  6 18:59:40 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcorecontext.cpp:426 (ConnectCommandSocket) MythCoreContext:
Connecting to backend server: 192.168.1.109:6543 (try 1 of 1)
Sep  6 18:59:40 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcorecontext.cpp:1547 (CheckProtoVersion) Using protocol
version 77
Sep  6 18:59:40 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
MetadataDownload metadatagrabber.cpp:455 (RunGrabber) Running Grabber:
/usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -N Snowfall The
Rubicon
Sep  6 18:59:40 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) Result Found,
Season 1 Episode 10
Sep  6 18:59:41 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
MetadataDownload metadatagrabber.cpp:455 (RunGrabber) Running Grabber:
/usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -N 328092 The
Rubicon
Sep  6 18:59:41 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
MetadataDownload metadatacommon.cpp:1188 (ParseMetadataItem) Result Found,
Season 1 Episode 10
Sep  6 18:59:41 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
MetadataDownload metadatadownload.cpp:176 (run) Returning Metadata Results:
Snowfall 1 10
Sep  6 18:59:44 firestorm mythmetadatalookup: mythmetadatalookup[22515]: N
CoreContext main.cpp:183 (main) MythMetadataLookup run complete.
Sep  6 18:59:44 firestorm mythmetadatalookup: mythmetadatalookup[22515]: I
CoreContext mythcontext.cpp:1194 (~MythContext) Waiting for threads to exit.
Sep  6 19:59:30 firestorm mythmetadatalookup: mythmetadatalookup[5538]: C
thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging)
mythmetadatalookup version: fixes/0.27 [v0.27.5-4-ge2a11c9] www.mythtv.org


Now  in the logs I don't get any mention of the ttvdb.py call by
mythmetadatalookup... Does mytmetadatalookup fail before it gets there???

Sep  7 10:19:12 firestorm mythmetadatalookup: mythmetadatalookup[8395]: I
CoreContext mythcontext.cpp:1194 (~MythContext) Waiting for threads to exit.
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: C
thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging)
mythmetadatalookup version: fixes/29 [v29.0-25-g7a40b2f] www.mythtv.org
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: C
thread_unknown mythcommandlineparser.cpp:2621 (ConfigureLogging) Qt
version: compile: 5.2.1, runtime: 5.2.1
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
thread_unknown mythcommandlineparser.cpp:2623 (ConfigureLogging) Enabled
verbose msgs:  general
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
thread_unknown logging.cpp:927 (logStart) Setting Log Level to LOG_INFO
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
Logger logging.cpp:313 (run) Added logging to the console
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt
handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated
handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup
Segmentation fault handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted
handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error
handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating
point exception handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal
instruction handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time
signal 0 handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Hangup
handler
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
thread_unknown mythdirs.cpp:195 (InitializeMythDirs) Using runtime prefix =
/usr
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using configuration
directory = /home/mythtv/.mythtv
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext mythcorecontext.cpp:271 (Init) Assumed character encoding:
en_US.UTF-8
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
CoreContext mythcontext.cpp:599 (LoadDatabaseSettings) Empty LocalHostName.
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext mythcontext.cpp:607 (LoadDatabaseSettings) Using localhost
value of firestorm
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext mythcontext.cpp:849 (TestDBconnection) Start up testing
connections. DB 192.168.1.109, BE , attempt 0, status dbAwake
Sep  7 14:29:35 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
LogForward loggingserver.cpp:302 (SyslogLogger) Added syslogging
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
CoreContext mythcorecontext.cpp:1766 (InitLocale) Setting QT default locale
to en_US
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext mythcorecontext.cpp:1799 (SaveLocaleDefaults) Current locale
en_US
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: N
CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale
defaults from /usr/share/mythtv//locales/en_us.xml
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext mythtranslation.cpp:73 (load) Loading en_us translation for
module mythfrontend
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext main.cpp:112 (main) Testing grabbers and metadata sites for
functionality...
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
SystemManager mythsystemunix.cpp:276 (run) Starting process manager
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
SystemSignalManager mythsystemunix.cpp:509 (run) Starting process signal
handler
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
SystemIOHandlerW mythsystemunix.cpp:92 (run) Starting IO manager (write)
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
SystemIOHandlerR mythsystemunix.cpp:92 (run) Starting IO manager (read)
Sep  7 14:29:36 firestorm mythmetadatalookup: mythmetadatalookup[14349]: I
CoreContext metadatadownload.cpp:342 (TelevisionGrabberWorks) Television
grabber not functional.  Aborting this run.
Sep  7 16:37:56 firestorm mythmetadatalookup: mythmetadatalookup[29098]: C
thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging)
mythmetadatalookup version: fixes/29 [v29.0-25-g7a40b2f] www.mythtv.org

I'm sure the logging and call tracing is different two versions later, but
it naybe the problem  is myth's call to mythmetadatalookup or ttvdb.py
failing or it's using the wrong path for mythmetadatalookup or ttvdb.py? As
I mentioned before, mythmetadatalookup works fine via commandline, and it
does show proper calls and results from ttvdb.py. The frontend works
properly as well when initiating a metadata lookup in the videos (not
recordings) from the frontend using ttvdb.py.


I've tried running the tools as root, my user and tge mythtv user from cli
and they work. I'm just struggling to figure out what is going wrong...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170909/188560d4/attachment.html>


More information about the mythtv-users mailing list