[mythtv-users] mythvidexport.py failing on one episode -- still the non-ascii bug?

Ian Evans dheianevans at gmail.com
Tue May 15 16:41:06 UTC 2018


On Tue, May 15, 2018 at 3:58 AM, Mark Perkins <perkins1724 at hotmail.com>
wrote:

>
>
> On 15 May 2018 2:21:30 am Ian Evans <dheianevans at gmail.com> wrote:
>
>> I had one episode that failed to export. I increased the log level but
>> don't see too much extra info.
>>
>> Just wondering if this is still the non-ascii bug mentioned here (
>> https://code.mythtv.org/trac/ticket/12245) as "Piñata" is in the title.
>>
>> May 14 12:30:26 buster mythbackend: mythbackend[14916]: I UserJob_56024
>> jobqueue.cpp:2410 (DoUserJobThread) JobQueue: Started MythVidExport for
>> "The Big Bang Theory":"The Panty Piñata Polarization" recorded from channel
>> 1091 at 2011-08-23T23:30:00Z
>> May 14 12:30:28 buster mythbackend: mythbackend[14916]: I
>> MetadataDownload metadatacommon.cpp:1202 (ParseMetadataItem) Result Found,
>> Season 2 Episode 7
>> May 14 12:30:28 buster mythbackend: mythbackend[14916]: I
>> MetadataDownload metadatadownload.cpp:176 (run) Returning Metadata Results:
>> The Big Bang Theory 2 7
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1738 (HandleAnnounce) MainServer: MainServer::ANN Monitor
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I ProcessRequest
>> mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: buster(10df5c0) as
>> a client (events: 0)
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: I
>> MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) Monitor
>> sock(10df5c0) 'buster' disconnected
>> May 14 12:30:29 buster mythbackend: mythbackend[14916]: E UserJob_56024
>> jobqueue.cpp:2445 (DoUserJobThread) JobQueue: User Job '/usr/share/mythtv/mythvidexport.py
>> --delete --syslog local7 --loglevel debug --verbose all 56024' failed.
>>
>> MythTV Version : v29.1-15-g280138b
>> MythTV Branch : fixes/29
>> Network Protocol : 91
>> Library API : 29.20180316-1
>> QT Version : 5.5.1
>> Options compiled in:
>>  linux profile use_hidesyms using_alsa 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_vbox using_ceton using_hdpvr using_ivtv
>> using_joystick_menu using_libcec using_libcrypto using_libdns_sd
>> using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl
>> using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript
>> using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv
>> using_profiletype using_systemd_notify using_systemd_journal
>> using_bindings_perl using_bindings_python using_bindings_php
>> using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau
>> using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>> You could try running as the MBE user the command in a terminal and see
> what additional info it gives  '/usr/share/mythtv/mythvidexport.py
> --delete --syslog local7 --loglevel debug --verbose all 56024'. May need to
> tweak terminal env.
>
>
> since we're running it from the command line, we won't have a jobid so I
followed the mythvidexport wiki and used chanid and starttime. In
recordedprogram the chanid is 1091 and the starttime is 2011-08-23 23:30:00
which I assume I change to 20110823233000

running /usr/share/mythtv/mythvidexport.py --delete --syslog local7
--loglevel debug --verbose all --chanid=1091 --starttime=20110823233000 as
the mythtv user gives me this:

$ /usr/share/mythtv/mythvidexport.py --delete --syslog local7 --loglevel
debug --verbose all --chanid=1091 --starttime=20110823233000

Traceback (most recent call last):
  File "/usr/share/mythtv/mythvidexport.py", line 437, in <module>
    main()
  File "/usr/share/mythtv/mythvidexport.py", line 409, in main
    export = VIDEO(opts)
  File "/usr/share/mythtv/mythvidexport.py", line 58, in __init__
    self.rec = Recorded((self.chanid,self.starttime), db=self.db)
  File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line 342, in
__init__
    DBDataWrite.__init__(self, data, db)
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 318, in
__init__
    DBData.__init__(self, data, db)
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 180, in
__init__
    self._pull()
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 388, in
_pull
    DBData._pull(self)
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 204, in
_pull
    raise MythError('DBData() could not read from database')
MythTV.exceptions.MythError: DBData() could not read from database
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180515/66d68313/attachment.html>


More information about the mythtv-users mailing list