Re: Mythmetadatalookup not working in myth 0.25.3
Larry K <[email protected]> Tue, 24 Sep 2013 20:41:50 -0400
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Message-ID | <CAPCvy=n_ytZho3tjEX1aG5MPvkJngkbNNcgM+SE8J_rP_PWnmQ@mail.gmail.com> |
On Wed, Nov 21, 2012 at 10:00 PM, Larry K <[email protected]> wrote: > On Fri, Nov 16, 2012 at 10:30 PM, Paul <[email protected]> wrote: > >> You seem to be running from Root is that correct? >> >> Yes. Running as root. > > I was able to resolve this problem. It seems that the MythTV 0.25.3 > bundle that I pulled from atrpms does not have the correct version of the > pythons scripts located at > > /usr/share/mythtv/metadata/Television/ttvdb.py and > /usr/share/mythtv/metadata/Movie/tmdb.py > > In both cases, the first line of each script was missing the python > directive: #!/usr/bin/python > > Once I fixed this, mythmetadatalookup started working. Word to the wise. > > Larry > >> >> >> On Sat 17/11/2012 10:13 AM, Larry K wrote: >> >>> Since I upgraded from myth 0.25.2 to 0.25.3 using atrpms, It looks like >>> mythmetadatalookup >>> no longer works. Attached below is the output from the command. Any >>> thoughts? >>> >>> mythmetadatalookup --version >>> Please attach all output as a file in bug reports. >>> MythTV Version : v0.25.3 >>> MythTV Branch : >>> Network Protocol : 72 >>> Library API : 0.25.20120506-1 >>> QT Version : 4.7.2 >>> Options compiled in: >>> linux release use_hidesyms using_alsa using_jack using_oss using_pulse >>> using_pulseoutput >>> using_backend using_bindings_perl using_bindings_python >>> using_bindings_php using_crystalhd >>> using_dvb using_firewire using_frontend using_hdhomerun using_ceton >>> using_hdpvr using_iptv >>> using_ivtv using_joystick_menu using_libcrypto using_libdns_sd >>> using_libfftw3 >>> using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit >>> using_qtscript >>> using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv >>> using_bindings_perl >>> using_bindings_python using_bindings_php using_mythtranscode >>> using_opengl using_vaapi >>> using_vdpau using_ffmpeg_threads using_live using_mheg using_libass >>> using_libxml2 >>> >>> >>> mythmetadatalookup --refresh-all-rules --loglevel info -v all >>> 2012-11-16 18:11:07.690536 C mythmetadatalookup version: [v0.25.3] >>> www.mythtv.org >>> <http://www.mythtv.org> >>> >>> 2012-11-16 18:11:07.690566 C Qt version: compile: 4.7.2, runtime: 4.7.2 >>> 2012-11-16 18:11:07.690569 N Enabled verbose msgs: all >>> 2012-11-16 18:11:07.690618 N Setting Log Level to LOG_INFO >>> 2012-11-16 18:11:07.690680 I Added logging to the console >>> 2012-11-16 18:11:07.690685 I Added database logging to table logging >>> 2012-11-16 18:11:07.690790 N Setting up SIGHUP handler >>> 2012-11-16 18:11:07.690875 N Using runtime prefix = /usr >>> 2012-11-16 18:11:07.690885 N Using configuration directory = >>> /root/.mythtv >>> 2012-11-16 18:11:07.691295 E (old)Settings::ReadSettings(**settings.txt) >>> - No such file >>> settings.txt >>> 2012-11-16 18:11:07.691381 I Assumed character encoding: en_US.UTF-8 >>> 2012-11-16 18:11:07.691691 E (old)Settings::ReadSettings(**settings.txt) >>> - No such file >>> settings.txt >>> 2012-11-16 18:11:07.691707 E (old)Settings::ReadSettings(/**usr/share/mythtv/mysql.txt) >>> - >>> No such file /usr/share/mythtv/mysql.txt >>> 2012-11-16 18:11:07.691717 E (old)Settings::ReadSettings(/**usr/etc/mythtv/mysql.txt) >>> - No >>> such file /usr/etc/mythtv/mysql.txt >>> 2012-11-16 18:11:07.691725 E (old)Settings::ReadSettings(/**root/.mythtv/mysql.txt) >>> - No >>> such file /root/.mythtv/mysql.txt >>> 2012-11-16 18:11:07.691733 E (old)Settings::ReadSettings(./**mysql.txt) >>> - No such file >>> ./mysql.txt >>> 2012-11-16 18:11:07.691737 E Unable to read configuration file mysql.txt >>> 2012-11-16 18:11:07.691878 N Empty LocalHostName. >>> 2012-11-16 18:11:07.691888 I Using localhost value of xxxx >>> 2012-11-16 18:11:07.691897 I Clearing Settings Cache. >>> 2012-11-16 18:11:07.691972 I DefaultUPnP() - No default UPnP backend >>> 2012-11-16 18:11:07.691985 I Clearing Settings Cache. >>> 2012-11-16 18:11:07.700703 I Database connection created: DBManager0 >>> 2012-11-16 18:11:07.700733 I New DB connection, total: 1 >>> 2012-11-16 18:11:07.708599 I Connected to database 'mythconverg' at >>> host: localhost >>> 2012-11-16 18:11:07.713604 I Closing DB connection named 'DBManager0' >>> 2012-11-16 18:11:07.713740 I Clearing Settings Cache. >>> 2012-11-16 18:11:07.713793 I Database connection created: DBManager1 >>> 2012-11-16 18:11:07.713813 I New DB connection, total: 1 >>> 2012-11-16 18:11:07.714351 I Connected to database 'mythconverg' at >>> host: localhost >>> 2012-11-16 18:11:07.716840 N Setting QT default locale to EN_US >>> 2012-11-16 18:11:07.716877 I Current locale EN_US >>> 2012-11-16 18:11:07.716991 N Reading locale defaults from >>> /usr/share/mythtv//locales/en_**us.xml >>> 2012-11-16 18:11:07.728961 I Enabling Settings Cache. >>> 2012-11-16 18:11:07.728976 I Clearing Settings Cache. >>> 2012-11-16 18:11:07.729945 I Loading en_us translation for module >>> mythfrontend >>> 2012-11-16 18:11:07.730741 I Testing grabbers and metadata sites for >>> functionality... >>> 2012-11-16 18:11:07.732478 I Starting process manager >>> 2012-11-16 18:11:07.732758 I Starting process signal handler >>> 2012-11-16 18:11:07.732878 I Starting IO manager (read) >>> 2012-11-16 18:11:07.735622 I Managed child (PID: 28674) has started! >>> command=/usr/share/mythtv/**metadata/Movie/tmdb.py -t, timeout=0 >>> 2012-11-16 18:11:07.735657 I Starting IO manager (write) >>> 2012-11-16 18:11:07.791773 I Database connection created: DBManager2 >>> 2012-11-16 18:11:07.791829 I New DB connection, total: 2 >>> 2012-11-16 18:11:07.792588 I Connected to database 'mythconverg' at >>> host: localhost >>> 2012-11-16 18:11:07.832753 I Managed child (PID: 28674) has exited! >>> command=/usr/share/mythtv/**metadata/Movie/tmdb.py -t, status=37120, >>> result=145 >>> 2012-11-16 18:11:07.833249 I Movie grabber not functional. Aborting >>> this run. >>> 2012-11-16 18:11:07.856139 I Closing DB connection named 'DBManager2' >>> 2012-11-16 18:11:07.933072 I Closing DB connection named 'DBManager1' >>> 2012-11-16 18:11:07.933399 I Destroying MythDBPrivate >>> >>> >>> >>> >>> >>> ______________________________**_________________ >>> atrpms-users mailing list >>> [email protected] >>> http://lists.atrpms.net/**mailman/listinfo/atrpms-users<http://lists.atrpms.net/mailman/listinfo/atrpms-users> >>> >>> >> >> ______________________________**_________________ >> atrpms-users mailing list >> [email protected] >> http://lists.atrpms.net/**mailman/listinfo/atrpms-users<http://lists.atrpms.net/mailman/listinfo/atrpms-users> >> > > I just upgraded to mythtv version 0.26 using atrpms packages and this particular python problem is now recurring. To correct for this, I have to find all the python scripts and add the proper directive: #!/usr/bin/python Can anyone explain why this happens every time I update mythtv from the atrpms repo? Is there a flaw in the packages, or in my particular environment? _______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users