infinyon / fluvio-client-python

The Fluvio Python Client!
https://infinyon.github.io/fluvio-client-python/fluvio.html
Apache License 2.0
13 stars 12 forks source link

PyFluvioError: WatchApi version not found #461

Closed MinLee0210 closed 1 month ago

MinLee0210 commented 1 month ago

I setup fluvio and it worked well on CLI. However, I ran into a problem while following instruction using the fluvio package for Python. I got this issue:

PyFluvioError: WatchApi version not found

In detail, I try example on this. It worked well with CLI, however, running on .py script, I ran into this:

Traceback (most recent call last):
  File "****************/Challenges/Quira17/python_producer.py", line 10, in <module>
    fluvio = Fluvio.connect()
  File "***************/anaconda3/envs/octo/lib/python3.10/site-packages/fluvio/__init__.py", line 657, in connect
    return cls(_Fluvio.connect())
mymodule.PyFluvioError: WatchApi version not found

Please help!

ajhunyady commented 1 month ago

@MinLee0210 can you please update your fluvio cluster and python client? Let us know if that fixed the problem.

MinLee0210 commented 1 month ago

About python client, I installed the fluvio-0.16.1 version. About the cluster, I followed instructions and tried both the local version and the docker version. Both worked well with CLI, but ran into troubles with .py scripts.

May I know reasons for the problem I got? I'm curious to understand if there are any steps I can take on my end to resolve it. Besides, this is a new issue for me, and I'm eager to learn more.

ajhunyady commented 1 month ago

@digikata can you explain why this happened? BTW, the problem is on our end.

MinLee0210 commented 1 month ago

Here is the code that I use to test: https://github.com/8Opt/Wipe.git

P/s: If I can do anything to lighten the problem, please tell.

digikata commented 1 month ago

@MinLee0210 Sorry to hear you are having trouble. we are investigating this, & need to clear some internal tests and release and updated version of the python client

digikata commented 1 month ago

Hi @MinLee0210 we have released a 0.16.3 version of the python client that should fix your issue. Please install that version and try again!

MinLee0210 commented 1 month ago

I have just tried. It worked perfectly!

Thanks for your time and dedication!

ajhunyady commented 1 month ago

Fixed