--> --> -->
 
 
<type 'exceptions.OSError'>
Python 2.7.6: /opt/bitnami/python/bin/python
Wed Feb 20 16:48:06 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.

 /opt/bitnami/apache2/cgi-bin/export.py in ()
    216                                 'plotdir':form.getvalue('plotdir')}
    217         outdir = create_outdir(args)
=>  218         copy_plots(args, outdir)
    219         readme = init_readme(args, outdir)
    220         write_data(args, outdir, readme)
copy_plots = <function copy_plots>, args = {'db': 'kegg', 'level': 'gene_family', 'name': 'K00001', 'plotdir': '/home/bitnami/MetaQuery/htdocs/plot/tmpleSrrY', 'type': 'function'}, outdir = '/tmp/tmp7ODg6w/MetaQuery.K00001'
 /opt/bitnami/apache2/cgi-bin/export.py in copy_plots(args={'db': 'kegg', 'level': 'gene_family', 'name': 'K00001', 'plotdir': '/home/bitnami/MetaQuery/htdocs/plot/tmpleSrrY', 'type': 'function'}, outdir='/tmp/tmp7ODg6w/MetaQuery.K00001')
    198         dest = '%s/plots' % outdir
    199         os.mkdir(dest)
=>  200         for file in os.listdir(args['plotdir']):
    201                 src = os.path.join(args['plotdir'], file)
    202                 shutil.copy(src, dest)
builtin file = <type 'file'>, global os = <module 'os' from '/opt/bitnami/python/lib/python2.7/os.pyc'>, os.listdir = <built-in function listdir>, args = {'db': 'kegg', 'level': 'gene_family', 'name': 'K00001', 'plotdir': '/home/bitnami/MetaQuery/htdocs/plot/tmpleSrrY', 'type': 'function'}

<type 'exceptions.OSError'>: [Errno 2] No such file or directory: '/home/bitnami/MetaQuery/htdocs/plot/tmpleSrrY'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '/home/bitnami/MetaQuery/htdocs/plot/tmpleSrrY'
      message = ''
      strerror = 'No such file or directory'