Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running setup for a specific HAND model #72

Open
dgarijo opened this issue Aug 6, 2020 · 1 comment
Open

Error when running setup for a specific HAND model #72

dgarijo opened this issue Aug 6, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@dgarijo
Copy link
Contributor

dgarijo commented Aug 6, 2020

Describe the bug
I have an error when running dame run e60cf1d0-11f8-454d-a48b-686612fdaf90.

The error I see is

Traceback (most recent call last):
  File "C:\Users\dgarijo\Documents\GitHub\dame_cli\env\Scripts\dame-script.py", line 11, in <module>
    load_entry_point('dame-cli', 'console_scripts', 'dame')()
    return self.main(*args, **kwargs)
  File "c:\users\dgarijo\documents\github\dame_cli\env\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "c:\users\dgarijo\documents\github\dame_cli\env\lib\site-packages\click\core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\dgarijo\documents\github\dame_cli\env\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\dgarijo\documents\github\dame_cli\env\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\__main__.py", line 127, in run
    run_method_setup(resource, interactive, data)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\cli_methods.py", line 181, in run_method_setup
    component_src_dir, execution_dir, setup_cmd_line, setup_name, image = prepare_execution(file_path)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\executor.py", line 201, in prepare_execution
    raise e
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\executor.py", line 199, in prepare_execution
    image, setup_cmd_line, src_path = build_command_line(setup_dict, execution_dir_path)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\executor.py", line 168, in build_command_line
    l = build_input(inputs, src_path)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\executor.py", line 111, in build_input
    file_name = get_file(destination_dir, url, _format)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\executor.py", line 79, in get_file
    file_path, file_name = download_data_file(url, destination_dir, _format)
  File "c:\users\dgarijo\documents\github\dame_cli\src\dame\utils.py", line 93, in download_data_file
    filepath = filepath.with_suffix(validate_suffix(format))
  File "C:\Users\dgarijo\AppData\Local\Programs\Python\Python37\lib\pathlib.py", line 853, in with_suffix
    raise ValueError("Invalid suffix %r" % (suffix,))
ValueError: Invalid suffix '.https://portals-api.tacc.utexas.edu/postits/v2/065f978cc95f4bd266310556949cc16a'

I thought the setup had a problem in the URL, but I can see it fine in the UI. I wonder what could be wrong.
Other setups for the same model work fine.

To Reproduce
dame run e60cf1d0-11f8-454d-a48b-686612fdaf90

@dgarijo dgarijo added the bug Something isn't working label Aug 6, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant