[mythtvnz] Python errors in tv_grab_nz-py so mythfilldatabase fails

Robin Gilks g8ecj at gilks.org
Sun Jul 3 11:44:26 BST 2011


Greetings

Just noticed I've got only 2 days of listings left and when I run
mythfilldatabase I get the following from tv_grab_nz-py.

2011-07-03 22:29:22.272 Using runtime prefix = /usr
2011-07-03 22:29:22.272 Using configuration directory = /home/mythtv/.mythtv
2011-07-03 22:29:22.273 Empty LocalHostName.
2011-07-03 22:29:22.273 Using localhost value of jupiter
2011-07-03 22:29:22.273 Testing network connectivity to '192.168.1.10'
2011-07-03 22:29:24.393 New DB connection, total: 1
2011-07-03 22:29:24.682 Connected to database 'mythconverg' at host:
192.168.1.10
2011-07-03 22:29:24.684 Closing DB connection named 'DBManager0'
2011-07-03 22:29:24.788 Connected to database 'mythconverg' at host:
192.168.1.10
2011-07-03 22:29:24.912 Current locale en_NZ
2011-07-03 22:29:24.937 No locale defaults file for en_NZ, skipping
2011-07-03 22:29:25.052 Loading en_gb translation for module mythfrontend
2011-07-03 22:29:25.214 Current MythTV Schema Version (DBSchemaVer): 1264
2011-07-03 22:29:25.438 New DB connection, total: 2
2011-07-03 22:29:25.495 Connected to database 'mythconverg' at host:
192.168.1.10
2011-07-03 22:29:25.567 mythfilldatabase: Listings Download Started
2011-07-03 22:29:25.700 Updating source #2 (S-Video) with grabber
tv_grab_nz-py
2011-07-03 22:29:25.756 Found 69 channels for source 2 which use grabber
2011-07-03 22:29:36.204 Grabber has capabilities: baseline manualconfig
preferredmethod cache
2011-07-03 22:29:44.731 Grabber prefers method: allatonce
2011-07-03 22:29:44.821 New DB connection, total: 3
2011-07-03 22:29:44.880 Connected to database 'mythconverg' at host:
192.168.1.10
2011-07-03 22:29:44.881 XMLTV config file is:
/home/mythtv/.mythtv/S-Video.xmltv
2011-07-03 22:29:44.881 New DB connection, total: 4
2011-07-03 22:29:44.970 Connected to database 'mythconverg' at host:
192.168.1.10
Traceback (most recent call last):
  File "/usr/local/bin/tv_grab_nz-py", line 257, in <module>
    text = getListings(cache=options.cache)
  File "/usr/local/bin/tv_grab_nz-py", line 87, in getListings
    res = doDownload(source)
  File "/usr/local/bin/tv_grab_nz-py", line 64, in doDownload
    h.request('GET', url, headers=headers)
  File "/usr/lib64/python2.7/httplib.py", line 941, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.7/httplib.py", line 975, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 937, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 797, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 759, in send
    self.connect()
  File "/usr/lib64/python2.7/httplib.py", line 740, in connect
    self.timeout, self.source_address)
  File "/usr/lib64/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known
2011-07-03 22:29:51.952 FillData, Error: xmltv returned error code 256
2011-07-03 22:29:51.981 Error in 1:1: unexpected end of file
2011-07-03 22:29:52.032 IconData: Updating icons for sourceid: 2




I'm running a Gentoo based system and having been through the emerge log I
can't find any major changes to python in the last week apart from the
following and I can't see that these are relevant to the grabber :(

1308772619:  === (15 of 37) Compiling/Merging
(dev-python/numpy-1.6.0::/usr/portage/dev-python/numpy/numpy-1.6.0.ebuild)
1308772999:  === (16 of 37) Compiling/Merging
(dev-python/argparse-1.2.1::/usr/portage/dev-python/argparse/argparse-1.2.1.ebuild)
1308773400:  === (23 of 37) Compiling/Merging
(app-admin/python-updater-0.9::/usr/portage/app-admin/python-updater/python-updater-0.9.ebuild)
1309648157:  === (18 of 68) Compiling/Merging
(dev-python/sip-4.12.3-r2::/usr/portage/dev-python/sip/sip-4.12.3-r2.ebuild)
1309648828:  === (31 of 68) Compiling/Merging
(dev-python/pygobject-2.28.6::/usr/portage/dev-python/pygobject/pygobject-2.28.6.ebuild)
1309650622:  === (50 of 68) Compiling/Merging
(dev-python/pygtk-2.24.0-r1::/usr/portage/dev-python/pygtk/pygtk-2.24.0-r1.ebuild)


Hope someone has some ideas...



-- 
Robin Gilks





More information about the mythtvnz mailing list