Advertisement
Guest User

Untitled

a guest
Sep 29th, 2020
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. registered_flow = client.register(
  2. Traceback (most recent call last):
  3. File "main.py", line 4, in <module>
  4. pb_flow.register("my project")
  5. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/prefect/core/flow.py", line 1603, in register
  6. registered_flow = client.register(
  7. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/prefect/client/client.py", line 734, in register
  8. serialized_flow = flow.serialize(build=build) # type: Any
  9. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/prefect/core/flow.py", line 1454, in serialize
  10. storage = self.storage.build() # type: Optional[Storage]
  11. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/prefect/environments/storage/docker.py", line 351, in build
  12. self._build_image(push=push)
  13. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/prefect/environments/storage/docker.py", line 383, in _build_image
  14. dockerfile_path = self.create_dockerfile_object(directory=tempdir)
  15. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/prefect/environments/storage/docker.py", line 501, in create_dockerfile_object
  16. cloudpickle.dump(self._flows[flow_name], f)
  17. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 55, in dump
  18. CloudPickler(
  19. File "/Users/adyer/Desktop/git/pipelines/venv/lib/python3.8/site-packages/cloudpickle/cloudpickle_fast.py", line 563, in dump
  20. return Pickler.dump(self, obj)
  21. TypeError: cannot pickle '_cffi_backend.FFI' object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement