| <type 'exceptions.IOError'> | Python 2.5.2: /usr/bin/python Wed Sep 8 21:12:48 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/kazuo/sites/peixecru/index.cgi in |
| 37 article = Wiki.AmbigArticle(articlename[1:]) |
| 38 else: |
| 39 article = Wiki.Article(articlename) |
| 40 |
| 41 article.loadbody() |
| article undefined, Wiki = <module 'business.Wiki' from '/home/kazuo/sites/peixecru/business/Wiki.py'>, Wiki.Article = <class business.Wiki.Article at 0xb7acae0c>, articlename = 'stuart_spivack' |
| /home/kazuo/sites/peixecru/business/Wiki.py in __init__(self=<business.Wiki.Article instance at 0xb7aa64cc>, name='stuart_spivack') |
| 105 self.decorations = [] |
| 106 self.children = None |
| 107 self.load() |
| 108 def load(self): |
| 109 fp = open(self.path, 'r') |
| self = <business.Wiki.Article instance at 0xb7aa64cc>, self.load = <bound method Article.load of <business.Wiki.Article instance at 0xb7aa64cc>> |
| /home/kazuo/sites/peixecru/business/Wiki.py in load(self=<business.Wiki.Article instance at 0xb7aa64cc>) |
| 107 self.load() |
| 108 def load(self): |
| 109 fp = open(self.path, 'r') |
| 110 while 1: |
| 111 line = fp.readline()[:-1] |
| fp undefined, builtin open = <built-in function open>, self = <business.Wiki.Article instance at 0xb7aa64cc>, self.path = 'data/stuart_spivack' |
<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'data/stuart_spivack'
args =
(2, 'No such file or directory')
errno =
2
filename =
'data/stuart_spivack'
message =
''
strerror =
'No such file or directory'