Howdy, Running into so Django weirdness, anyone se...
# ask-community
m
Howdy, Running into so Django weirdness, anyone seen this?
Copy code
Failed to load and execute Flow's environment: FlowStorageError('An error occurred while unpickling the flow:\n  AppRegistryNotReady("Apps aren\'t loaded yet.")')
We do have django.setup() being called
Seems to only be affecting web-qued flows
a
Looks like an issue with storage, possibly a Prefect version or dependency mismatch between your registration environment and your agent.
m
Oddly it all runs on a docker container
a
can you share more about your issue? 1. what storage do you use? how do you configure it on a flow? 2. what agent do you use? 3. are you on Cloud/Server? 4. why do you use Django with Prefect? which one calls which?
m
1. Local storage 2. Local
3. Server 4. Prefect calls tasks that use the Django OORM
we seem to have gotten it working by calling django.setup() in every import / models
a
Gotcha. LMK if you have any other questions