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

.Config files not being used when importing multiple .psa files. #114

Open
ggwp222 opened this issue Nov 11, 2024 · 0 comments
Open

.Config files not being used when importing multiple .psa files. #114

ggwp222 opened this issue Nov 11, 2024 · 0 comments

Comments

@ggwp222
Copy link

ggwp222 commented Nov 11, 2024

I have an issue when importing multiple psa files to a model even though "Use Config File" is checked. This only happens when dragging, and when I try to drag a single .psa with Use Config checked, it won't use the .config either and brings up an error: "Failed to read PSA config file: 'odict_keys' object is not subscriptable."

This doesn't happen when importing manually through the file view, but I'm not able to import multiple psa's that way. Any help appreciated.

EDIT: Fix:

Location: Line 134 in operators.py, PSA_OT_import_multiple.execute()

# Before (current code causing error):
sequence_names = psa_reader.sequences.keys()

# After (fix):
sequence_names = list(psa_reader.sequences.keys())
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

1 participant