jina-ai / jina-hubble-sdk

Python API for authentication, resource management with Hubble
Apache License 2.0
19 stars 2 forks source link

bug: pushing deleted executor again fails #94

Closed fogx closed 1 year ago

fogx commented 2 years ago

I created an Executor and pushed it to the hub, then deleted it in the UI and tried to push it again from the code.

I get the following error

❯ jina hub push ./executors/MyExecutor48 ⠧ Pushing ./executors/MyExecutor48 ...🔐 You are logged in to Jina AI as leon.wolf. To log out, use jina auth logout. ⠙ Uploading...ERROR HubIO@6359 Please report this session_id: [yellow bold]308bde38-545d-11ed-bf72-00155d1458da[/] to https://github.com/jina-ai/jina/issues [10/25/22 14:04:36] Traceback (most recent call last):
File "/home/user/sandbox/.venv/bin/jina", line 8, in sys.exit(main()) File "/home/user/sandbox/.venv/lib/python3.9/site-packages/jinacli/init.py", line 143, in main getattr(api, args.cli.replace('-', ''))(args) File "/home/user/sandbox/.venv/lib/python3.9/site-packages/jina_cli/api.py", line 186, in hub getattr(HubIO(args), args.hub)() File "/home/user/sandbox/.venv/lib/python3.9/site-packages/jina/hubble/hubio.py", line 550, in push raise e File "/home/user/sandbox/.venv/lib/python3.9/site-packages/jina/hubble/hubio.py", line 508, in push raise Exception( Exception: RequestedEntityNotFoundError: Executor(2ecno8cm) was not found in the system. session_id: 308bde38-545d-11ed-bf72-00155d1458da

floralatin commented 2 years ago

@mapleeit @nomagick I write a docs about: Multi-terminal data synchronization problem

nomagick commented 1 year ago

Maybe solved by https://github.com/jina-ai/jina-hubble-sdk/issues/125

delgermurun commented 1 year ago

Solved by #137