Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Error #20

Open
dlogan opened this issue Dec 9, 2015 · 0 comments
Open

Error #20

dlogan opened this issue Dec 9, 2015 · 0 comments

Comments

@dlogan
Copy link
Member

dlogan commented Dec 9, 2015

Batch 132 is throwing an error, but the output files are filling up ok (/imaging/analysis/2010_05_18_Malaria_Liver_Infection_Bhatia_Lab/Analysis/2015_12_08_Thailand_Nil_v2/txt_output).

<type 'exceptions.AttributeError'>  Python 2.7.2: /imaging/analysis/CPCluster/CellProfiler-2.0/builds/redhat_6/bin/python
Wed Dec 9 00:29:08 2015
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /imaging/docs/People/imageweb/batchprofiler/BatchProfiler/ViewBatch.py in ()
    747         
    748 with bputilities.CellProfilerContext():
    749     doc = ViewBatchDoc()
=>  750     doc.build()
    751 doc.render()
doc = <bpformdata.ViewBatchDoc object>, doc.build = <bound method ViewBatchDoc.build of <bpformdata.ViewBatchDoc object>>
 /imaging/docs/People/imageweb/batchprofiler/BatchProfiler/ViewBatch.py in build(self=<bpformdata.ViewBatchDoc object>)
     67             self.build_submit_run()
     68         else:
=>   69             self.build_batch()
     70     
     71     def read_batch(self):
self = <bpformdata.ViewBatchDoc object>, self.build_batch = <bound method ViewBatchDoc.build_batch of <bpformdata.ViewBatchDoc object>>
 /imaging/docs/People/imageweb/batchprofiler/BatchProfiler/ViewBatch.py in build_batch(self=<bpformdata.ViewBatchDoc object>)
    208                 self.build_summary_table()
    209                 self.build_summary_buttons()
=>  210                 self.build_database_scripts()
    211             with self.tag("div", style='clear:both; padding-top:10px'):
    212                 self.build_job_table()
self = <bpformdata.ViewBatchDoc object>, self.build_database_scripts = <bound method ViewBatchDoc.build_database_scripts of <bpformdata.ViewBatchDoc object>>
 /imaging/docs/People/imageweb/batchprofiler/BatchProfiler/ViewBatch.py in build_database_scripts(self=<bpformdata.ViewBatchDoc object>)
    384                     run, task, task_status = sql_jobs.sql_file_job_and_status(
    385                         self.my_batch.batch_id, 
=>  386                         RunBatch.batch_script_file(filename))
    387                     status = None if task_status is None else task_status.status
    388                     with self.tag("tr"):
global RunBatch = <module 'RunBatch' from '/imaging/docs/People/imageweb/batchprofiler/BatchProfiler/RunBatch.py'>, RunBatch.batch_script_file = <function batch_script_file>, filename = 'SQL__Per_Well_SETUP.SQL'
 /imaging/docs/People/imageweb/batchprofiler/BatchProfiler/sql_jobs.py in sql_file_job_and_status(batch_id=132, sql_file='batch_SQL__Per_Well_SETUP.SQL')
     54     returns latest job or None if not submitted
     55     """
=>   56     batch = RunBatch.select(batch_id)
     57     run = RunBatch.BPSQLRun.select_by_sql_filename(batch, sql_file)
     58     if run is None:
batch undefined, global RunBatch = <module 'RunBatch' from '/imaging/docs/People/imageweb/batchprofiler/BatchProfiler/RunBatch.py'>, RunBatch.select undefined, batch_id = 132
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'select' 
      args = ("'module' object has no attribute 'select'",) 
      message = "'module' object has no attribute 'select'"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant