<type 'exceptions.OSError'> | Python 2.7.9: /usr/bin/python Fri Jun 20 12:07:11 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/data/project/yifeibot/public_html/downloaders/gap.py in |
63 if __name__ == "__main__": |
64 try: |
=> 65 main() |
66 finally: |
67 pass |
main = <function main> |
/data/project/yifeibot/public_html/downloaders/gap.py in main() |
59 def main(): |
60 enablecgitb() |
=> 61 GAPInterface().run() |
62 |
63 if __name__ == "__main__": |
global GAPInterface = <class '__main__.GAPInterface'>, ).run = <unbound method GAPInterface.run> |
/data/project/yifeibot/public_html/downloaders/gap.py in run(self=<__main__.GAPInterface object>) |
43 |
44 print '<script>GAPCheckStatus("'+self.id+'");</script>' |
=> 45 for job in self.qstat(): |
46 # if len(job["name"]) > 5 and jobname[:len(job["name"])] == job["name"]: |
47 if job.strip() == jobname: |
job undefined, self = <__main__.GAPInterface object>, self.qstat = <function qstat> |
/data/project/yifeibot/public_html/downloaders/gap.py in qstat() |
54 @staticmethod |
55 def qstat(): |
=> 56 output = subprocess.check_output(['qstat', '-xml']) |
57 return re.findall(r"<JB_name>(.+?)</JB_name>", output) |
58 |
output undefined, global subprocess = <module 'subprocess' from '/usr/lib/python2.7/subprocess.pyc'>, subprocess.check_output = <function check_output> |
/usr/lib/python2.7/subprocess.py in check_output(*popenargs=(['qstat', '-xml'],), **kwargs={}) |
564 if 'stdout' in kwargs: |
565 raise ValueError('stdout argument not allowed, it will be overridden.') |
=> 566 process = Popen(stdout=PIPE, *popenargs, **kwargs) |
567 output, unused_err = process.communicate() |
568 retcode = process.poll() |
process undefined, global Popen = <class 'subprocess.Popen'>, stdout undefined, global PIPE = -1, popenargs = (['qstat', '-xml'],), kwargs = {} |
/usr/lib/python2.7/subprocess.py in __init__(self=<subprocess.Popen object>, args=['qstat', '-xml'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
708 p2cread, p2cwrite, |
709 c2pread, c2pwrite, |
=> 710 errread, errwrite) |
711 except Exception: |
712 # Preserve original exception in case os.close raises. |
errread = None, errwrite = None |
/usr/lib/python2.7/subprocess.py in _execute_child(self=<subprocess.Popen object>, args=['qstat', '-xml'], executable='qstat', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, to_close=set([3]), p2cread=None, p2cwrite=None, c2pread=3, c2pwrite=5, errread=None, errwrite=None) |
1333 raise |
1334 child_exception = pickle.loads(data) |
=> 1335 raise child_exception |
1336 |
1337 |
child_exception = OSError(2, 'No such file or directory') |
<type 'exceptions.OSError'>: [Errno 2] No such file or directory
args =
(2, 'No such file or directory')
child_traceback =
'Traceback (most recent call last):\n File "/usr/...st)\nOSError: [Errno 2] No such file or directory\n'
errno =
2
filename =
None
message =
''
strerror =
'No such file or directory'