| IOError | Python 2.4.3: /usr/bin/python Sat Jul 4 08:04:41 2009 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /srv/www/ipfire.org/www/ipfire.py |
| 20 pass |
| 21 |
| 22 c = content(site) |
| 23 s = sidebar(site) |
| 24 |
| c undefined, content = <class static.Content>, site = 'index.shtml' |
| /srv/www/ipfire.org/www/pages/static/__init__.py in __init__(self=<static.Content instance>, file='index.shtml') |
| 28 class Content(Xml): |
| 29 def __init__(self, file,): |
| 30 Xml.__init__(self, file) |
| 31 |
| 32 def __call__(self, lang="en"): |
| global Xml = <class static.Xml>, Xml.__init__ = <unbound method Xml.__init__>, self = <static.Content instance>, file = 'index.shtml' |
| /srv/www/ipfire.org/www/pages/static/__init__.py in __init__(self=<static.Content instance>, file='/srv/www/ipfire.org/www/pages/static/index.shtml.xml') |
| 10 def __init__(self, file): |
| 11 file = "%s/pages/static/%s.xml" % (os.getcwd(), file,) |
| 12 f = open(file) |
| 13 data = f.read() |
| 14 f.close() |
| f undefined, builtin open = <type 'file'>, file = '/srv/www/ipfire.org/www/pages/static/index.shtml.xml' |
IOError: [Errno 2] No such file or directory: '/srv/www/ipfire.org/www/pages/static/index.shtml.xml'
args =
(2, 'No such file or directory')
errno =
2
filename =
'/srv/www/ipfire.org/www/pages/static/index.shtml.xml'
strerror =
'No such file or directory'