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

Problem importing cimpl. #1785

Open
3 of 7 tasks
lewesche opened this issue Jul 18, 2024 · 0 comments
Open
3 of 7 tasks

Problem importing cimpl. #1785

lewesche opened this issue Jul 18, 2024 · 0 comments

Comments

@lewesche
Copy link

Description

When trying to build my project with pybuilder, the unittest stage of my jenkins pipeline fails with:

BUILD FAILED - PicklingError: Can't pickle <class 'cimpl.KafkaException'>: import of module 'cimpl' failed

I see this issue with any version greater than 1.6.1 (my goal is to be able to build with 1.9.2 for M1 support). I'm using the matching librdkafka version.

As far as I can tell, nothing in my codebase is directly importing cimpl.KafkaException. I haven't figured out a way to get a stack trace yet but I'll post here if I do.

Thanks!

How to reproduce

Looks like two others have had this issue, neither were resolved:

Checklist

Please provide the following information:

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()): 1.9.2
  • Apache Kafka broker version: 3.5.2
  • Client configuration: {...}
  • Operating system: alpine:3.18
  • Provide client logs (with 'debug': '..' as necessary)
  • Provide broker log excerpts
  • Critical issue
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

1 participant