06/28/2022, 12:44 PM
Hey guys i'm randomly getting:
Failed to load and execute Flow's environment: StorageError('An error occurred while unpickling the flow:\n ImportError("cannot import name \'MyService\' from partially initialized module \'\' (most likely due to a circular import) (/app/src/myflows/services/")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
This is happening randomly the same flow with same args can work without any issue. There a way to debug this i'm using S3 storage

James Sopkin

06/28/2022, 1:32 PM
Hi, if you are getting a circular imports error, that should be fixable with some code refactoring. This happens when you modules that both depend on each other.