Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: hello_milvus.py link not working #27387

Closed
1 task done
pauldintel opened this issue Sep 26, 2023 · 4 comments
Closed
1 task done

[Bug]: hello_milvus.py link not working #27387

pauldintel opened this issue Sep 26, 2023 · 4 comments
Assignees
Labels
kind/bug Issues or changes related a bug stale indicates no udpates for 30 days triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@pauldintel
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

wget https://raw.githubusercontent.com/milvus-io/pymilvus/v2.0.x/examples/hello_milvus.py

that URL is broken in the Milvus documentation hence I got the code from here :
$wget https://github.com/milvus-io/pymilvus/blob/master/examples/hello_milvus.py

however problem with this code is there is error on Python : false vs False , true vs True and null vs None
After replacing this : python3 hello_milvus.py doesn't show any output

Expected Behavior

python3 hello_milvus.py show output as per what state in documentation

Steps To Reproduce

$wget https://github.com/milvus-io/pymilvus/blob/master/examples/hello_milvus.py
$python3 hello_milvus.py

nothing happens

Milvus Log

nA

Anything else?

no

@pauldintel pauldintel added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 26, 2023
@yanliang567
Copy link
Contributor

I downloaded the hello_milvus.py in https://milvus.io/docs/example_code.md, and run the script successfully on milvus v2.3.1.
@pauldintel could you please double check the python version >=3.8, pymilvus version is consistent to your milvus server, and the milvus host is correctly updated in the script.

/assign @pauldintel
/unassign

@yanliang567 yanliang567 added triage/needs-information Indicates an issue needs more information in order to work on it. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 27, 2023
@pauldintel
Copy link
Author

I am seeing the problem I stated with Milvus 2.0.2 version . with 2.3.x no problem with wget
sudo docker compose up -d
network milvus was found but has incorrect label com.docker.compose.network set to "milvus"

what is the fix here ?
I have Docker V2 :
ubuntu@ip-172-31-1-111:~$ docker-compose version
Docker Compose version v2.20.3

@pauldintel
Copy link
Author

found this and fixed : #25684 (comment)

@stale
Copy link

stale bot commented Oct 28, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@stale stale bot added the stale indicates no udpates for 30 days label Oct 28, 2023
@stale stale bot closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug stale indicates no udpates for 30 days triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants