error after tutorial command "smt run..."

25 views
Skip to first unread message

Rafael Monteiro

unread,
Mar 16, 2016, 8:59:17 AM3/16/16
to sumatra-users
Hello

I'm following tutorial, and I got this error:

smt run --executable=python --main=main.py input.param
Traceback (most recent call last):
  File "/home/rafael/Projects/anaconda2/bin/smt", line 31, in <module>
    main(sys.argv[2:])
  File "/home/rafael/Projects/anaconda2/lib/python2.7/site-packages/sumatra/commands.py", line 370, in run
    project.allow_command_line_parameters)
  File "/home/rafael/Projects/anaconda2/lib/python2.7/site-packages/sumatra/commands.py", line 76, in parse_arguments
    parameters = build_parameters(arg)
  File "/home/rafael/Projects/anaconda2/lib/python2.7/site-packages/sumatra/parameters.py", line 583, in build_parameters
    parameters = parameter_set_class(filename)
  File "/home/rafael/Projects/anaconda2/lib/python2.7/site-packages/parameters/__init__.py", line 429, in __init__
    "`initialiser` must be a `dict`, a `ParameterSet` object, a string, or a valid URL")
TypeError: `initialiser` must be a `dict`, a `ParameterSet` object, a string, or a valid URL



Thank you for help me.

Maximilian Albert

unread,
Mar 16, 2016, 11:04:33 AM3/16/16
to sumatr...@googlegroups.com
Hi Rafael,

What do the contents of your file "input.param" look like? I presume that the error is caused by something in your parameter file that isn't recognised by Sumatra. In case you are able to produce a minimal example that reproduces the error that would make it easier to debug. Btw, which version of Sumatra are you using?

Best wishes,
Max


--
You received this message because you are subscribed to the Google Groups "sumatra-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sumatra-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rafael Monteiro

unread,
Mar 28, 2016, 10:02:11 AM3/28/16
to sumatra-users
Hi Max,

Thanks. The problem was the input file.
Reply all
Reply to author
Forward
0 new messages