{"action":"closed","issue":{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1516","labels_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1516/labels{/name}","comments_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1516/comments","events_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1516/events","html_url":"https://github.com/CellProfiler/CellProfiler/issues/1516","id":103332961,"number":1516,"title":"BatchProfiler error","user":{"login":"dlogan","id":1225595,"avatar_url":"https://avatars.githubusercontent.com/u/1225595?v=3","gravatar_id":"","url":"https://api.github.com/users/dlogan","html_url":"https://github.com/dlogan","followers_url":"https://api.github.com/users/dlogan/followers","following_url":"https://api.github.com/users/dlogan/following{/other_user}","gists_url":"https://api.github.com/users/dlogan/gists{/gist_id}","starred_url":"https://api.github.com/users/dlogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlogan/subscriptions","organizations_url":"https://api.github.com/users/dlogan/orgs","repos_url":"https://api.github.com/users/dlogan/repos","events_url":"https://api.github.com/users/dlogan/events{/privacy}","received_events_url":"https://api.github.com/users/dlogan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/labels/BatchProfiler","name":"BatchProfiler","color":"adeded"},{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"LeeKamentsky","id":660469,"avatar_url":"https://avatars.githubusercontent.com/u/660469?v=3","gravatar_id":"","url":"https://api.github.com/users/LeeKamentsky","html_url":"https://github.com/LeeKamentsky","followers_url":"https://api.github.com/users/LeeKamentsky/followers","following_url":"https://api.github.com/users/LeeKamentsky/following{/other_user}","gists_url":"https://api.github.com/users/LeeKamentsky/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeKamentsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeKamentsky/subscriptions","organizations_url":"https://api.github.com/users/LeeKamentsky/orgs","repos_url":"https://api.github.com/users/LeeKamentsky/repos","events_url":"https://api.github.com/users/LeeKamentsky/events{/privacy}","received_events_url":"https://api.github.com/users/LeeKamentsky/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/milestones/1","html_url":"https://github.com/CellProfiler/CellProfiler/milestones/CellProfiler%202.1.2%20","labels_url":"https://api.github.com/repos/CellProfiler/CellProfiler/milestones/1/labels","id":493817,"number":1,"title":"CellProfiler 2.1.2 ","description":"Mentioned in the NIH CellProfiler R01, year 4.","creator":{"login":"AnneCarpenter","id":1213811,"avatar_url":"https://avatars.githubusercontent.com/u/1213811?v=3","gravatar_id":"","url":"https://api.github.com/users/AnneCarpenter","html_url":"https://github.com/AnneCarpenter","followers_url":"https://api.github.com/users/AnneCarpenter/followers","following_url":"https://api.github.com/users/AnneCarpenter/following{/other_user}","gists_url":"https://api.github.com/users/AnneCarpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/AnneCarpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnneCarpenter/subscriptions","organizations_url":"https://api.github.com/users/AnneCarpenter/orgs","repos_url":"https://api.github.com/users/AnneCarpenter/repos","events_url":"https://api.github.com/users/AnneCarpenter/events{/privacy}","received_events_url":"https://api.github.com/users/AnneCarpenter/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":59,"state":"open","created_at":"2013-11-22T15:38:38Z","updated_at":"2015-08-26T18:23:48Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-26T18:10:29Z","updated_at":"2015-08-26T18:23:48Z","closed_at":"2015-08-26T18:23:48Z","body":"I just ran a batch but got this error below.\r\n\r\nI submitted with these settings:\r\n<img width=\"542\" alt=\"screen shot 2015-08-26 at 2 09 55 pm\" src=\"https://cloud.githubusercontent.com/assets/1225595/9501916/23c99166-4bfc-11e5-857c-0fe906b97268.png\">\r\n\r\n\r\n```\r\n--> -->\r\n \r\n \r\n<type 'exceptions.TypeError'>\tPython 2.7.2: /imaging/analysis/CPCluster/CellProfiler-2.0/builds/redhat_6/bin/python\r\nWed Aug 26 14:03:17 2015\r\nA problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.\r\n\r\n /imaging/docs/People/imageweb/batchprofiler/CellProfiler/BatchProfiler/NewBatch.py in ()\r\n    590 \r\n    591 with CellProfilerContext():    \r\n    592     doc = NewBatchDoc()\r\n=>  593     doc.build()\r\n    594 doc.render()\r\ndoc = <bpformdata.NewBatchDoc object>, doc.build = <bound method NewBatchDoc.build of <bpformdata.NewBatchDoc object>>\r\n /imaging/docs/People/imageweb/batchprofiler/CellProfiler/BatchProfiler/NewBatch.py in build(self=<bpformdata.NewBatchDoc object>)\r\n     62     def build(self):\r\n     63         if self.wants_batch_submission():\r\n=>   64             self.build_submit_batch()\r\n     65         else:\r\n     66             self.build_normal()\r\nself = <bpformdata.NewBatchDoc object>, self.build_submit_batch = <bound method NewBatchDoc.build_submit_batch of <bpformdata.NewBatchDoc object>>\r\n /imaging/docs/People/imageweb/batchprofiler/CellProfiler/BatchProfiler/NewBatch.py in build_submit_batch(self=<bpformdata.NewBatchDoc object>)\r\n    501                 run = RunBatch.BPRun.create(cursor, batch, bstart, bend, cmd)\r\n    502                 bpruns.append(run)\r\n=>  503         RunBatch.run(batch, bpruns)\r\n    504         vb_url = BATCHPROFILER_DEFAULTS[URL] + \\\r\n    505             \"/ViewBatch.py?batch_id=%d\" % batch.batch_id\r\nglobal RunBatch = <module 'RunBatch' from '/imaging/docs/People/im...rofiler/CellProfiler/BatchProfiler/RunBatch.pyc'>, RunBatch.run = <function run>, batch = <RunBatch.BPBatch object>, bpruns = [<RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, ...]\r\n /imaging/docs/People/imageweb/batchprofiler/CellProfiler/BatchProfiler/RunBatch.py in run(batch=<RunBatch.BPBatch object>, runs=[<RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, <RunBatch.BPRun object>, ...], cwd='/imaging/analysis/CPCluster/CellProfiler-2.0/red...05143441_aa38cd92d244a87cb5b3b4410935775072319e2a')\r\n    869         queue_name = batch.queue,\r\n    870         priority = priority,\r\n=>  871         memory=batch.memory_limit / 1000,\r\n    872         cwd = cwd,\r\n    873         output = batch_array_text_file_path(batch_array),\r\nmemory undefined, batch = <RunBatch.BPBatch object>, batch.memory_limit = '2000'\r\n<type 'exceptions.TypeError'>: unsupported operand type(s) for /: 'str' and 'int' \r\n      args = (\"unsupported operand type(s) for /: 'str' and 'int'\",) \r\n      message = \"unsupported operand type(s) for /: 'str' and 'int'\"\r\n```"}}