matthiaskoenig / tellurium-web

Tellurium Web Tools
GNU Lesser General Public License v3.0
1 stars 1 forks source link

L1V3_plotting-data.omex: data not supported #61

Closed matthiaskoenig closed 7 years ago

matthiaskoenig commented 7 years ago
                 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 43, in top-level template code
    {{ dataGeneratorToPython(factory.doc, dg) }}
  File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 1300, in dataGeneratorToPython
    modelId = task.getModelReference()
AttributeError: 'NoneType' object has no attribute 'getModelReference'
matthiaskoenig commented 7 years ago

Fixed in latest tellurium master.