--> -->
 
 
IOError
Python 2.2.3: /usr/bin/python
Sat Feb 5 22:24:03 2005

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/neurok/public_html/cgi-bin/neurokodelabs_interface.py
   36 
   37 #Get the content for the page
   38 strHTML = wtLayout.displayContent(basepath, scriptpage, page, toplevel, templatename, pagesfolder,XMLList, pagetitle)
   39 
   40 #Display the page.
strHTML undefined, wtLayout = <neurokode.LayoutElements instance>, wtLayout.displayContent = <bound method LayoutElements.displayContent of <neurokode.LayoutElements instance>>, basepath = '/home/neurok/neurokode', scriptpage = 'index.shtml', page = 'a2', toplevel = <neurokode.menuItem object>, templatename = 'py.template.inc', pagesfolder = 'labsv3pages', XMLList = [<neurokode.xmlItem object>], pagetitle = 'NeuroKode Labs, LLC'

 /home/neurok/public_html/cgi-bin/neurokode.py in displayContent(self=<neurokode.LayoutElements instance>, basepath='/home/neurok/neurokode', scriptname='index.shtml', page='a2', menustructure=<neurokode.menuItem object>, templatename='py.template.inc', pagesfolder='labsv3pages', xmllist=[<neurokode.xmlItem object>], pagetitle='NeuroKode Labs, LLC')
   90         else:
   91             #This is just a page to be included
   92             strContent = self.getContent(basepath, pagesfolder, page, xmllist)
   93         
   94         #Get the Template
strContent undefined, self = <neurokode.LayoutElements instance>, self.getContent = <bound method LayoutElements.getContent of <neurokode.LayoutElements instance>>, basepath = '/home/neurok/neurokode', pagesfolder = 'labsv3pages', page = 'a2', xmllist = [<neurokode.xmlItem object>]

 /home/neurok/public_html/cgi-bin/neurokode.py in getContent(self=<neurokode.LayoutElements instance>, basepath='/home/neurok/neurokode', pagesfolder='labsv3pages', page='a2', xmllist=[<neurokode.xmlItem object>])
   70         import string
   71         
   72         file = open(basepath + "/" + pagesfolder + "/py." + page + ".inc")
   73         strContent = file.read()
   74         
file undefined, open undefined, basepath = '/home/neurok/neurokode', pagesfolder = 'labsv3pages', page = 'a2'

IOError: [Errno 2] No such file or directory: '/home/neurok/neurokode/labsv3pages/py.a2.inc'
      __doc__ = 'I/O operation failed.'
      __getitem__ = <bound method IOError.__getitem__ of <exceptions.IOError instance>>
      __init__ = <bound method IOError.__init__ of <exceptions.IOError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method IOError.__str__ of <exceptions.IOError instance>>
      args = (2, 'No such file or directory')
      errno = 2
      filename = '/home/neurok/neurokode/labsv3pages/py.a2.inc'
      strerror = 'No such file or directory'