Metadata Lookup errored with exit status 128

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
Chris
Newcomer
Posts: 9
Joined: Fri Dec 26, 2014 6:16 pm
United States of America

Metadata Lookup errored with exit status 128

Post by Chris »

Looking through mythweb, several recent recordings are queued to Look up Metadata, when I hover over one of these, the status is "errored" with the comments saying "failed with exit status 128". Any thoughts on how to fix this are appreciated.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Metadata Lookup errored with exit status 128

Post by bill6502 »

Hi,

There are 2 places in mythmetadatalookup where that exit code is used,
so looking at the mythmetadatalookup.log would be a good start.

I don't know what distribution or version of MythTV you're running but
see if the command being executed is in the log and try it yourself from
the command line. I'm GUESSING that it's a problem with the Python
grabbers and you'll see:

... Testing grabbers and metadata sites for functionality...

in the logs. And I'm also GUESSING that the command that fails
in the logs will be something like this:

/usr/share/mythtv/metadata/Television/ttvdb.py -t

That's too many guesses, but it's a start.
lindsayward
Junior
Posts: 55
Joined: Sat May 31, 2014 4:58 am
Australia

Re: Metadata Lookup errored with exit status 128

Post by lindsayward »

I know this post is 2 years old, but I found it when searching for this problem on my Ubuntu 14.04 MythTV 0.28 system...

I think I've solved this by:

running the last command in Bill's post, then installing missing Python packages:

Code: Select all

sudo apt-get install python-pip
sudo pip install future
sudo pip install requests-cache
or something like that.
Thanks Bill.

Unless of course I was meant to update the system as explained at: viewtopic.php?f=30&t=2289
My metadata jobs are working again without having added a PPA or other things listed at that link.
Gnicko
Newcomer
Posts: 9
Joined: Sat Nov 01, 2014 2:11 am
United States of America

Re: Metadata Lookup errored with exit status 128

Post by Gnicko »

Ran in to about the same issue with Debian 8. After a software version upgrade, metadata lookup was failing with exit code 128.

It seems that, the python bindings were not part of the mythtv upgrade (or the upgraded python was part of a later batch of upgrades that didn't come along with the mythtv upgrade.)

In any case, upgrading the python packages (python-mythtv) from the Debian Multimedia depos. that come with mythtv fixed the problem.
Post Reply