You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "...\model\api\api.py", line 54, in create_app
WeaviateInstrumentor().instrument()
File "...\venv\Lib\site-packages\opentelemetry\instrumentation\instrumentor.py", line 116, in instrument
result = self._instrument( # pylint: disable=assignment-from-no-return
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\venv\Lib\site-packages\opentelemetry\instrumentation\weaviate\__init__.py", line 231, in _instrument
module = importlib.import_module(wrap_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dd\AppData\Local\Programs\Python\Python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'weaviate.schema'
👟 Reproduction steps
weaviate-client==4.10.4
👍 Expected behavior
Work
👎 Actual Behavior with Screenshots
Crashes
🤖 Python Version
3.10
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
I checked and didn't find similar issue
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered:
Hey @danieldaeschle! 👋 I'm here to help you with any bugs, questions, or contributions you have regarding Anthropic Instrumentation. I'm a bot designed to assist you while waiting for a human maintainer. Let me know how I can help!
The error "No module named 'weaviate.schema'" occurs because the weaviate.schema module is not available in the weaviate-client version 4.10.4. The WeaviateInstrumentor class in the OpenTelemetry instrumentation package attempts to import this module, but it seems to have been removed or renamed in the newer versions of the weaviate-client.
To resolve this issue, you can ensure that the WeaviateInstrumentor is using the alternative modules provided for newer versions of the weaviate-client. The WeaviateInstrumentor can use modules from the WRAPPED_METHODS_v4 list, such as weaviate.collections.collections and weaviate.collections.data, which are compatible with weaviate-client version 4.10.4 [1].
Make sure your OpenTelemetry instrumentation package is up to date and supports these alternative modules. If the issue persists, you might need to check if there are any updates or patches available for the OpenTelemetry instrumentation package that address this compatibility issue.
Which component is this bug for?
Weaviate Instrumentation
📜 Description
👟 Reproduction steps
weaviate-client==4.10.4
👍 Expected behavior
Work
👎 Actual Behavior with Screenshots
Crashes
🤖 Python Version
3.10
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: