-
Notifications
You must be signed in to change notification settings - Fork 2
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
TransferActivity fails: attempts to process string as dict. #170
Comments
Can you provide a basic example that produces this error? |
Yes, just added to the description now! Long-story short -- anything that uses a standalone TransferActivity (aka the last step of any workflow where you may want to Transfer data out... does not apply to implicit data transfers that happen throughout workflow execution). |
I'm just now digging into this. I noticed |
@renan-souza and I discovered a bug this morning on Defiant where a TransferActivity is invoked. The error we get specifically from the message_handler is
"""
2024-05-29 11:49:57,002 - zambeze.cli_agent - INFO - [mh] Flushing activity message to flowcept
2024-05-29 11:49:57,002 - zambeze.cli_agent - ERROR - 'str' object has no attribute 'origin_agent_id'
"""
It seems that we need to alter the processing to ensure that a TransferActivity is correctly parsed. Tests are needed to ensure this doesn't happen again.
The simplest way to reproduce this error is to generate a standalone transfer activity between any two endpoints, such as:
In other words, if you check out the imagemagick_globus example, the TransferActivity there will fail to execute.
The text was updated successfully, but these errors were encountered: