Hi all, I'm running into a issue with RunGreatExp...
# prefect-community
n
Hi all, I'm running into a issue with RunGreatExpectationsValidation, hope you can help. When I run it directly
flow.run()
it works fine. When I register the same flow to a local server and run it with a local prefect agent I get the following error.
Copy code
File "/home/prinsn/Code/prefect/repo/gima-prefect-cicd/.env/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 602, in dump
    return Pickler.dump(self, obj)
TypeError: 'NoneType' object is not callable
I' m using: ge api V3 prefect==0.15.13 great_expectations==0.14.5 Any pointers? =D
a
Hi @Niels Prins! Where are you storing your Great Expectations project? Is it on your local machine?
n
Yes, in my demo setup it is stored on my local machine. Tried it with the flow in the great_expections folder and with the flow on the same level
a
What type of storage are you using for your flow?
n
Currently running with the default, also tried Docker storage. Both times with the pickled option
Found this one in the community
<https://gitlab.com/hashmapinc/oss/great-expectations-poc>
Will check if this runs in my local server and than slowly upgrade it to the latest versions. For now I will call it a night =D
@alex woke up fresh this morning, switched the flow to a 'stored_as_script' flow and it worked straight out of the box =P Seems that the GreatExpectationObject can not be de-serialized or something?
thnxs for your help =D
a
I’m glad that you were able to get it working!