[mythtv-users] Metadata Lookup fails with exit status 128: Solved, Gentoo specific

jk90090 jk90090 at gmail.com
Fri Jan 6 02:51:14 UTC 2012


Ever since upgrading my Gentoo MythTV backend to 0.25, this new Metadata 
lookup just kept failing.  It never really caused any problems for me, 
but was a nagging issue I wanted to figure out sometime.

So the problem exhibits itself in the backend logs as follows:

     mythbackend.20120104155118.21765.log:2012-01-04 21:00:29.840537 E 
[21765/30322] Metadata_9050 jobqueue.cpp:2188 (DoMetadataLookupThread) - 
JobQueue: Metadata Lookup Errored: Suburgatory:"Driving Miss Dalia" 
recorded from channel 65175 at 2012-01-04T20:30:00 (Failed with exit 
status 128)


Ran the Metadata Lookup manually: mythmetadatalookup --starttime 
20120104203000 --chanid 65175 --loglevel debug -v all

     2012-01-05 16:11:36.781966 I  Connected to database 'mythconverg' 
at host: hdtv

     The subdirectory "tmdb" containing the modules tmdb_api.py (v0.1.3 
or greater), tmdb_ui.py,
     tmdb_exceptions.py must have been installed with the MythTV python 
bindings.
     Error:(No module named MythStatic)
     2012-01-05 16:11:36.782801 D  MSqlQuery::exec(DBManager2) SELECT 
INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME   FROM 
INFORMATION_SCHEMA.COLUMNS  WHERE    
INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA =        DATABASE()    AND 
INFORMATION_SCHEMA.COLUMNS.TABLE_NAME =        'logging'    AND 
INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME =        'function'; <<<< Returns 
1 row(s)
     2012-01-05 16:11:36.782817 D  MSqlQuery::next(DBManager2) Result: 
"COLUMN_NAME = function"
     2012-01-05 16:11:36.874884 I  Managed child (PID: 8827) has exited! 
command=/usr/share/mythtv/metadata/Movie/tmdb.py -t, status=256, result=1

...

     2012-01-05 16:40:41.954747 I  Starting IO manager (read)
     2012-01-05 16:40:41.954754 D  Launching: 
/usr/share/mythtv/metadata/Movie/tmdb.py -t
     2012-01-05 16:40:41.954762 I  Starting IO manager (write)
     2012-01-05 16:40:41.954778 I  Starting process signal handler
     2012-01-05 16:40:41.955187 I  Managed child (PID: 10226) has 
started!  command=/usr/share/mythtv/metadata/Movie/tmdb.py -t, timeout=0
     2012-01-05 16:40:42.054874 I  Managed child (PID: 10226) has 
exited! command=/usr/share/mythtv/metadata/Movie/tmdb.py -t, status=256, 
result=1


I looked in /usr/lib/python2.6/site-packages, and found some older files 
for Myth (tmdb).  After some digging in github, I found those files were 
newer.
Next, looked at the latest ebuild, and found tmdb in 
/var/tmp/portage/media-tv/mythtv-0.25_pre20111129/work/MythTV-mythtv-1da9d23/mythtv/bindings/python/MythTV/ 


So why weren't the updated one being inserted into /usr from my ebuilds 
tars?

The answer: my use flags were missing python.  Added that, removed the 
MythTV from /usr/lib/python2.6/site-packages, re-emerged, and now the 
files are updated.  Not sure how those got there to begin with when I 
didn't have the flag set since I build the system, but at least now I've 
figured it out and hopefully will help out Gentoo users.

-JK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120105/6bb628d9/attachment.html 


More information about the mythtv-users mailing list