chroma-core / chroma

the AI-native open-source embedding database
https://www.trychroma.com/
Apache License 2.0
15.57k stars 1.3k forks source link

[Bug]: With every chroma method call: `[chromadb.telemetry.posthog] [ERROR] Failed to send telemetry event collection_add: module 'chromadb' has no attribute 'get_settings'` #924

Open cachho opened 1 year ago

cachho commented 1 year ago

What happened?

I get the error mentioned below every time I do anything with Chroma. It happens with Settings(anonymized_telemetry=False) and Settings(anonymized_telemetry=True). This is not causing any issues, it's just making it hard to read the logs.

Versions

Chroma 0.4.4, Python 3.11, Ubuntu WSL

Relevant log output

[chromadb.telemetry.posthog] [ERROR] Failed to send telemetry event collection_add: module 'chromadb' has no attribute 'get_settings'
jeffchuber commented 1 year ago

@cachho is there a file/line log associated with this? thanks for reporting it

cachho commented 1 year ago

@cachho is there a file/line log associated with this? thanks for reporting it

That's all I see in the logs. What do you want me to look for?

benc-uk commented 1 year ago

Same message here running chromadb 0.4.10 with Python 3.11.5 There's no logs you see this the moment you start the client

When I try disabling telemetry it also makes no difference https://docs.trychroma.com/telemetry#opting-out

image

jeffchuber commented 1 year ago

@benc-uk can you tell us more about your platform/env?