Enter Valid Class Number Back

Regularity Report
MOD_PYTHON ERROR

ProcessId:      22073
Interpreter:    'mptmattakkara.ihrd.ac.in'

ServerName:     'mptmattakkara.ihrd.ac.in'
DocumentRoot:   '/var/www/mptmattakkara.ihrd.ac.in/web'

URI:            '/attendance/studreport.py'
Location:       None
Directory:      '/var/www/mptmattakkara.ihrd.ac.in/web/attendance/'
Filename:       '/var/www/mptmattakkara.ihrd.ac.in/web/attendance/studreport.py'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mod_python.publisher'

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 213, in handler
    published = publish_object(req, object)

  File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 425, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "/usr/lib/python2.7/dist-packages/mod_python/util.py", line 554, in apply_fs_data
    return object(**args)

  File "/var/www/mptmattakkara.ihrd.ac.in/web/attendance/studreport.py", line 67, in index
    pstr = "<div class='easyui-panel' title='Student Report' style='padding:10px;'><h1>Regularity Report </h1><h2>Class:%s - No: %s <br/>%s<br/>Regno:%s </h2><br/><br/><br/>" % ( cls, studno, sname, regno)

UnboundLocalError: local variable 'sname' referenced before assignment


MODULE CACHE DETAILS

Accessed:       Sat Dec 15 15:53:55 2018
Generation:     0

_mp_99ee7679bb0f6a61a637cc657f3411b8 {
  FileName:     '/var/www/mptmattakkara.ihrd.ac.in/web/attendance/studreport.py'
  Instance:     1 [IMPORT]
  Generation:   1
  Modified:     Fri Jun 29 19:48:04 2018
  Imported:     Sat Dec 15 15:53:55 2018
}