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

Fixed issue AttributeError: 'tuple' object has no attribute 'keys' #2365

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

huynguyen2909
Copy link

I received this message when I am trying to run Dynamic FSI tutorial case
This issue is derived from line 314 of file FSIInterface.py
What I received in terminal was like this:
File "home/huy/SU2/bin/FSI_tools/FSIInterface.py", line 314, in connect
if allMovingMarkersTags[0] in allMarkersID.keys():
AttributeError: 'tuple' object has no attribute 'keys'

To fix this I add this line above the error line:
allMarkersID = {marker: idx for idx, marker in enumerate(allMarkersID)}

@bigfooted bigfooted changed the base branch from master to develop October 13, 2024 08:14
@bigfooted
Copy link
Contributor

Why is there an empty file called FSIInterface.py:Zone.Identifier ? Can you remove it?

@huynguyen2909
Copy link
Author

Why is there an empty file called FSIInterface.py:Zone.Identifier ? Can you remove it?

Oh it's just one of those zone identifier files in Ubuntu WSL. They are created every time new files are moved into a directory and they are empty. I have removed it.

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

Successfully merging this pull request may close these issues.

3 participants