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

Copying a CIAOToolParFile instance results in RecursionError #642

Open
adonath opened this issue Oct 21, 2022 · 2 comments
Open

Copying a CIAOToolParFile instance results in RecursionError #642

adonath opened this issue Oct 21, 2022 · 2 comments

Comments

@adonath
Copy link

adonath commented Oct 21, 2022

To reproduce:

from ciao_contrib.runtool import dmcopy
import copy

copy.deepcopy(dmcopy)

Results in:

...
   1085 """Provide support for read using tool.parameter syntax"""
   1086 try:
-> 1087     pname = self._expand_parname(parname)
   1088 except UnknownParamError as ue:
   1089     raise AttributeError(str(ue)) from None

RecursionError: maximum recursion depth exceeded

This does not seem correct behavior to me.

@DougBurke
Copy link
Member

DougBurke commented Oct 21, 2022 via email

@adonath
Copy link
Author

adonath commented Oct 21, 2022

Thanks @DougBurke, there is no hurry from my side. Meanwhile I'll try the make_tool command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants