--> --> -->
 
 
<type 'exceptions.OSError'>
Python 2.7.13: /usr/bin/python2
Mon Mar 25 05:27:51 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /index.py in ()
     74 #session mechanism and authenticating user
     75 
=>   76 sess = session(form, cook["sessid"].value if "sessid" in cook else None)
     77 sess.load()
     78 #login = sess.trylog(connection)
sess undefined, session = <class session.session>, form = FieldStorage(None, None, [MiniFieldStorage('do',...a', '2019.1.20'), MiniFieldStorage('pora', '0')]), cook = <SimpleCookie: >, ].value undefined, builtin None = None
 /session.py in __init__(self=<session.session instance>, formul=FieldStorage(None, None, [MiniFieldStorage('do',...a', '2019.1.20'), MiniFieldStorage('pora', '0')]), sessid=None)
     25                         if not self.form.has_key('sessid'):
     26                                 if not sessid:
=>   27                                         self.nuke()
     28                                         string = ''
     29                                         for i in random.sample('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_=+',6):
self = <session.session instance>, self.nuke = <bound method session.nuke of <session.session instance>>
 /session.py in nuke(self=<session.session instance>)
     74                 timen = time.time()
     75                 for fp in os.listdir("ses/"):
=>   76                         info = os.stat("ses/"+fp)
     77                         if info.st_mtime < timen-1800:
     78                                 try:
info = posix.stat_result(st_mode=33188, st_ino=7940426,...475427, st_mtime=1553475427, st_ctime=1553475427), global os = <module 'os' from '/usr/lib/python2.7/os.py'>, os.stat = <built-in function stat>, fp = '155347569966249664115459LfAFmO.ses'

<type 'exceptions.OSError'>: [Errno 2] No such file or directory: 'ses/155347569966249664115459LfAFmO.ses'
      args = (2, 'No such file or directory')
      errno = 2
      filename = 'ses/155347569966249664115459LfAFmO.ses'
      message = ''
      strerror = 'No such file or directory'