omnivector-solutions / jobbergate-cli

Jobbergate CLI
MIT License
2 stars 0 forks source link

traceback when creating job script #76

Open jamesbeedy opened 3 years ago

jamesbeedy commented 3 years ago
[ubuntu@p-c103 ~]$ jobbergate create-job-script --application-id 60
[?] Choose slurm partition:: debug
 > debug
   partition1

[?] Please enter a jobname: rats
Traceback (most recent call last):
  File "/srv/jobbergate-cli-venv/bin/jobbergate", line 11, in <module>
    load_entry_point('jobbergate-cli==1.0.1', 'console_scripts', 'jobbergate')()
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/click/decorators.py", line 38, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/jobbergate_cli/main.py", line 348, in create_job_script
    debug,
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/jobbergate_cli/jobbergate_api_wrapper.py", line 230, in wrapper
    response = func(*args, **kwargs)
  File "/srv/jobbergate-cli-venv/lib64/python3.6/site-packages/jobbergate_cli/jobbergate_api_wrapper.py", line 627, in create_job_script
    job_script_name_from_param = param_dict["jobbergate_config"]["job_script_name"]
KeyError: 'job_script_name'