--> --> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.6: /opt/bitnami/python/bin/python
Wed Dec 12 08:44:26 2018

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/fetch_results.py in ()
    118 
    119         # generate report
=>  120         print html_report(job_id)
    121 
    122 
html_report = <function html_report>, job_id = '1'
 /home/bitnami/MetaQuery/cgi-bin/report_by_job.py in html_report(job_id='1')
    422         args['tempdir'] = os.path.basename(args['plotdir'])
    423         args.update(make_plots(args, job_id))
    424         args.update(build_tables(cursor, job_id))
=>  425         return success_html(args)
    426 
global success_html = <function success_html>, args = {'abundance_plot': '', 'count_homologs': 0L, 'count_queries': 0L, 'homologs_table': "<table id='homologs' class='table table-striped ...dentity </th></tr></thead><tbody></tbody></table>", 'job_id': '1', 'max_copy': None, 'max_relabun': None, 'mean_copy': None, 'mean_relabun': None, 'min_copy': None, ...}
 /home/bitnami/MetaQuery/cgi-bin/report_by_job.py in success_html(args={'abundance_plot': '', 'count_homologs': 0L, 'count_queries': 0L, 'homologs_table': "<table id='homologs' class='table table-striped ...dentity </th></tr></thead><tbody></tbody></table>", 'job_id': '1', 'max_copy': None, 'max_relabun': None, 'mean_copy': None, 'mean_relabun': None, 'min_copy': None, ...})
    291         </body>
    292         </html>
=>  293         """ % args)
=>  294 
=>  295 def build_table(cursor, query, id):

<type 'exceptions.KeyError'>: 'job_name'
      args = ('job_name',)
      message = 'job_name'