Traceback (most recent call last):
File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/celery/app/trace.py", line 374, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/celery/app/trace.py", line 629, in __protected_call__
return self.run(*args, **kwargs)
File "/home/mkoenig/git/tellurium-web/teweb/combine/tasks.py", line 62, in execute_omex
dgs_all = tellurium.sedml.tesedml.executeOMEX(omex_path, workingDir=tmp_dir)
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 193, in executeOMEX
sedml_dgs = factory.executePython()
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 408, in executePython
execStr = self.toPython()
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 398, in toPython
pysedml = template.render(c)
File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/home/mkoenig/git/tellurium/tellurium/sedml/templates/tesedml_template.template", line 37, in top-level template code
{{ taskToPython(factory.doc, task) }}
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 558, in taskToPython
return SEDMLCodeFactory.taskTreeToPython(doc, tree=taskTree)
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 675, in taskTreeToPython
taskLines = SEDMLCodeFactory.simpleTaskToPython(doc=doc, node=node)
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 842, in simpleTaskToPython
selections.update(SEDMLCodeFactory.selectionsForTask(doc=doc, task=p.task))
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 1062, in selectionsForTask
selection = SEDMLCodeFactory.selectionFromVariable(var, modelId)
File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 1218, in selectionFromVariable
return Selection(target.id, target.type)
AttributeError: 'NoneType' object has no attribute 'id'
Affected models: