Saddlers Court, Yateley Margolis Home Page The State Legislature, Kuching, Malaysia

--> -->
 
 
<type 'exceptions.OSError'>
Python 2.6.6: /usr/bin/python
Sat Oct 21 16:34:25 2017

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/sites/margolis.org.uk/cgi-bin/mdispatcher.cgi in ()
   44                 if len(call)>1:
   45                         fns[call[0]](call[1])
   46                 else:
   47                         fns[call[0]]()
   48 
fns = {'footMenu': <function footMenu>, 'makeHead': <function makeHead>, 'newSubMenu': <function newSubMenu>, 'printArgs': <function printArgs>, 'showEnvironment': <function showEnvironment>, 'subMenu': <function subMenu>, 'topMenu': <function topMenu>}, call = ['newSubMenu']
 /home/sites/margolis.org.uk/cgi-bin/mdispatcher.cgi in newSubMenu()
   26 
   27 def newSubMenu():
   28         print mlib.makeNewSubMenu()
   29 
   30 fns = {
global mlib = <module 'mlib' from '/home/sites/margolis.org.uk/cgi-bin/mlib.pyc'>, mlib.makeNewSubMenu = <function makeNewSubMenu>
 /home/sites/margolis.org.uk/cgi-bin/mlib.py in makeNewSubMenu()
  147 def makeNewSubMenu():
  148         result = ''
  149         dirs = listDirs(getReferrerDir())
  150         dirs.sort()
  151         for d in dirs:
dirs undefined, global listDirs = <function listDirs>, global getReferrerDir = <function getReferrerDir>
 /home/sites/margolis.org.uk/cgi-bin/mlib.py in listDirs(dir='/home/sites/margolis.org.uk/public_html/public_html/photos/4000southasia')
   24         result = []
   25         curdir = os.getcwd()
   26         os.chdir(dir)
   27         r = glob.glob('{0}/*'.format(dir.rstrip('/')))
   28         for d in r:
global os = <module 'os' from '/usr/lib64/python2.6/os.pyc'>, os.chdir = <built-in function chdir>, dir = '/home/sites/margolis.org.uk/public_html/public_html/photos/4000southasia'

<type 'exceptions.OSError'>: [Errno 2] No such file or directory: '/home/sites/margolis.org.uk/public_html/public_html/photos/4000southasia'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '/home/sites/margolis.org.uk/public_html/public_html/photos/4000southasia'
      message = ''
      strerror = 'No such file or directory'