RFC : | rfc571 |
Title: | |
Date: | November 1973 |
Status: | UNKNOWN |
--> -->
<type 'exceptions.IOError'> | Python 2.5: /usr/local/bin/python Thu Aug 23 19:08:16 2007 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/away/ietf/code/rfcmk in () |
430 postlude()
|
431
|
432 if __name__ == "__main__":
|
433 markup()
|
434
|
markup = <function markup at 0x8266064> |
/away/ietf/code/rfcmk in markup() |
335
|
336 # Get the raw text of the source page
|
337 f = urllib.urlopen(url)
|
338 data = f.read()
|
339 f.close()
|
f undefined, global urllib = <module 'urllib' from '/usr/local/lib/python2.5/urllib.pyc'>, urllib.urlopen = <function urlopen at 0x82464c4>, url = '/away/ietf/rfc/rfc571.txt' |
/usr/local/lib/python2.5/urllib.py in urlopen(url='/away/ietf/rfc/rfc571.txt', data=None, proxies=None) |
80 opener = _urlopener
|
81 if data is None:
|
82 return opener.open(url)
|
83 else:
|
84 return opener.open(url, data)
|
opener = <urllib.FancyURLopener instance at 0x826542c>, opener.open = <bound method FancyURLopener.open of <urllib.FancyURLopener instance at 0x826542c>>, url = '/away/ietf/rfc/rfc571.txt' |
/usr/local/lib/python2.5/urllib.py in open(self=<urllib.FancyURLopener instance at 0x826542c>, fullurl='/away/ietf/rfc/rfc571.txt', data=None) |
188 try:
|
189 if data is None:
|
190 return getattr(self, name)(url)
|
191 else:
|
192 return getattr(self, name)(url, data)
|
builtin getattr = <built-in function getattr>, self = <urllib.FancyURLopener instance at 0x826542c>, name = 'open_file', url = '/away/ietf/rfc/rfc571.txt' |
/usr/local/lib/python2.5/urllib.py in open_file(self=<urllib.FancyURLopener instance at 0x826542c>, url='/away/ietf/rfc/rfc571.txt') |
449 return self.open_ftp(url)
|
450 else:
|
451 return self.open_local_file(url)
|
452
|
453 def open_local_file(self, url):
|
self = <urllib.FancyURLopener instance at 0x826542c>, self.open_local_file = <bound method FancyURLopener.open_local_file of <urllib.FancyURLopener instance at 0x826542c>>, url = '/away/ietf/rfc/rfc571.txt' |
/usr/local/lib/python2.5/urllib.py in open_local_file(self=<urllib.FancyURLopener instance at 0x826542c>, url='/away/ietf/rfc/rfc571.txt') |
463 stats = os.stat(localname)
|
464 except OSError, e:
|
465 raise IOError(e.errno, e.strerror, e.filename)
|
466 size = stats.st_size
|
467 modified = email.Utils.formatdate(stats.st_mtime, usegmt=True)
|
builtin IOError = <type 'exceptions.IOError'>, e = OSError(2, 'No such file or directory'), e.errno = 2, e.strerror = 'No such file or directory', e.filename = '/away/ietf/rfc/rfc571.txt' |
<type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/away/ietf/rfc/rfc571.txt'