milvus-io / milvus-tools

A data migration tool for Milvus.
Apache License 2.0
71 stars 21 forks source link

Error with: name 'delids' is not defined #50

Closed Cheung7788 closed 2 years ago

Cheung7788 commented 2 years ago
yhmo commented 2 years ago

This is a known issue, has been fixed by this commit: https://github.com/milvus-io/milvus-tools/commit/41143e5f4f5ef3693e4abd903e6b443b98804cb4

But this fix was not packed into the latest release 2.0rc, because 2.0rc was released on June 29, 2021, this commit was submitted on Aug 23, 2021.

Before we publish next release, you can manually fix it on your local:

  1. find out the install path of pymilvusdm
  2. find out the file pymilvusdm/core/read_milvus_data.py
  3. change the "delids[2:]" to be "del_ids[2:]" at line no.51