--> --> -->
 
 
<type 'exceptions.OSError'>
Python 2.6.5: /usr/local/bin/python
Sun Nov 23 17:08:03 2014

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/ff/cs162/qgroups/bin/show-ag-queue.cgi in ()
    7 cgitb.enable()
    8 import glob
    9 from grading import *
   10 
   11 # next 3 are hack, just disables script
grading undefined
 /home/ff/cs162/qgroups/bin/grading.py in ()
 1230 signal.signal(signal.SIGQUIT, SignalInterceptor)
 1231 signal.signal(signal.SIGTERM, SignalInterceptor)
 1232 signal.signal(signal.SIGHUP, SignalInterceptor)
 1233 
 1234 database = Database()
database undefined, Database = None
 /home/ff/cs162/qgroups/bin/grading.py in __init__(self=<grading.Database object>)
 1115     def __init__(self):
 1116         self.roster_map = {}
 1117         roster_dirs = os.listdir(os.path.join(ROOT,'rosters'))
 1118         for r in roster_dirs:
 1119             if r.startswith('.'): continue
roster_dirs undefined, global os = None, os.listdir undefined, os.path undefined, global ROOT = None

<type 'exceptions.OSError'>: [Errno 2] No such file or directory: '/home/ff/cs162/grading/rosters'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '/home/ff/cs162/grading/rosters'
      message = ''
      strerror = 'No such file or directory'