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

module 'kopf' has no attribute 'Error' #91

Open
victor-wyk opened this issue Jan 16, 2023 · 2 comments
Open

module 'kopf' has no attribute 'Error' #91

victor-wyk opened this issue Jan 16, 2023 · 2 comments

Comments

@victor-wyk
Copy link

victor-wyk commented Jan 16, 2023

[2023-01-16 04:01:25,818] kopf.objects [ERROR ] [kmon-k1670/confluent-schema-registry] Handler 'create_registry' failed with an exception. Will retry. Traceback (most recent call last): File "/opt/venv/lib/python3.10/site-packages/kopf/_core/actions/execution.py", line 279, in execute_handler_once result = await invoke_handler( File "/opt/venv/lib/python3.10/site-packages/kopf/_core/actions/execution.py", line 374, in invoke_handler result = await invocation.invoke( File "/opt/venv/lib/python3.10/site-packages/kopf/_core/actions/invocation.py", line 139, in invoke await asyncio.shield(future) # slightly expensive: creates tasks File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/opt/venv/lib/python3.10/site-packages/strimziregistryoperator/handlers/createregistry.py", line 131, in create_registry bootstrap_server = get_kafka_bootstrap_server( File "/opt/venv/lib/python3.10/site-packages/strimziregistryoperator/deployments.py", line 83, in get_kafka_bootstrap_server raise kopf.Error(msg, delay=10) AttributeError: module 'kopf' has no attribute 'Error'

@victor-wyk
Copy link
Author

Hello we have been looking for a straight forward solution for this error but so far this is a dead end, please help

@karanalang
Copy link

karanalang commented Jan 17, 2023

I've the same issue, i think this is the same as issue #84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants