Quote:03-09-2004 19:52:04 info -->python initialized<--
03-09-2004 19:52:04 info
03-09-2004 19:52:04 info get url: http://www.xbox-scene.com/xbox1data/xbox-scene.xml
03-09-2004 19:52:04 info detecting dvd-rom media filesystem...
03-09-2004 19:52:04 error detection of dvd-rom media failed.
03-09-2004 19:52:14 info sys:1: deprecationwarning: non-ascii character '\xc6' in file q:\scripts\tv.guide.py on line 253, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
03-09-2004 19:52:14 info html size failed:
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info exceptions.typeerror
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info int() argument must be a string or a number
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info traceback (most recent call last):
03-09-2004 19:52:14 info file "q:\scripts\tv.guide.py", line 89, in gethtmlsize
03-09-2004 19:52:14 info size = int(res.getheader("content-length"))
03-09-2004 19:52:14 info typeerror: int() argument must be a string or a number
03-09-2004 19:52:14 info local size is:
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info 1019882
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info sizes differ: retrieving new listing...
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info download failed:
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info exceptions.nameerror
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info global name 'urllib' is not defined
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info traceback (most recent call last):
03-09-2004 19:52:14 info file "q:\scripts\tv.guide.py", line 67, in downloadlist
03-09-2004 19:52:14 info urllib.urlretrieve(url, filename)
03-09-2004 19:52:14 info nameerror: global name 'urllib' is not defined
03-09-2004 19:52:14 info traceback (most recent call last):
03-09-2004 19:52:14 info file "q:\scripts\tv.guide.py", line 590, in ?
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info tvguide = ctvguide()
03-09-2004 19:52:14 info file "q:\scripts\tv.guide.py", line 317, in
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info self.processxml.processxml()
03-09-2004 19:52:14 info file "q:\scripts\tv.guide.py", line 145, in processxml
03-09-2004 19:52:14 info
03-09-2004 19:52:14 info channels = split(listing, '<channel ')
03-09-2004 19:52:14 info file "q:\python\lib\string.py", line 121, in split
03-09-2004 19:52:14 info attributeerror
03-09-2004 19:52:14 info :
03-09-2004 19:52:14 info 'nonetype' object has no attribute 'split'
03-09-2004 19:52:14 info
looks like still something is wrong, looks like it cannnot find urllib

.
). i've had a little search around on here and noticed a few threads of python scripts to do with tv listings, but wasn't too sure about what they did.
Search
Help