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

code show crashes with 'local' code #4079

Closed
adegomme opened this issue May 18, 2020 · 1 comment · Fixed by #4083
Closed

code show crashes with 'local' code #4079

adegomme opened this issue May 18, 2020 · 1 comment · Fixed by #4083

Comments

@adegomme
Copy link
Contributor

adegomme commented May 18, 2020

I did setup a test script as a 'local' code to be copied on the remote systems. It appears on the list and works, but verdi code show testscript fails with trunk aiida_core

at line https://github.com/aiidateam/aiida-core/blob/develop/aiida/orm/nodes/data/code.py#L512

  File "lib/python3.8/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "lib/python3.8/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "aiida_core/aiida/cmdline/utils/decorators.py", line 65, in wrapper
    return wrapped(*args, **kwargs)
  File "aiida_core/aiida/cmdline/commands/cmd_code.py", line 171, in show
    click.echo(tabulate.tabulate(code.get_full_text_info(verbose)))
  File "aiida_core/aiida/orm/nodes/data/code.py", line 512, in get_full_text_info
    if self._repository._get_folder_pathsubfolder.isdir(fname):
AttributeError: 'Repository' object has no attribute '_get_folder_pathsubfolder' 
@sphuber
Copy link
Contributor

sphuber commented May 19, 2020

Thanks for the report @adegomme . Should be a simple fix, I will have a look

@sphuber sphuber self-assigned this May 19, 2020
@sphuber sphuber added this to the v1.2.2 milestone May 20, 2020
@sphuber sphuber modified the milestones: v1.2.2, v1.3.0 Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants