dpkp / kafka-python

Python client for Apache Kafka
http://kafka-python.readthedocs.io/
Apache License 2.0
5.59k stars 1.4k forks source link

kafka-python 2.0.1 Exception ignored under Pypi #2220

Open Federico-Comesana opened 3 years ago

Federico-Comesana commented 3 years ago

Following this issue from 2018. It was closed but it seems to continue appearing in v2.0.1

Any idea what is happening here?

Exception ignored in: <bound method KafkaProducer.del of <kafka.producer.kafka.KafkaProducer object at 0x7f968daf5940>> Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/kafka/producer/kafka.py", line 448, in del File "/usr/local/lib/python3.6/site-packages/kafka/producer/kafka.py", line 461, in close File "/usr/local/lib/python3.6/logging/init.py", line 1305, in info File "/usr/local/lib/python3.6/logging/init.py", line 1546, in isEnabledFor TypeError: '>=' not supported between instances of 'int' and 'NoneType' Exception ignored in: <bound method KafkaProducer.del of <kafka.producer.kafka.KafkaProducer object at 0x7f968ccb70f0>> Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/kafka/producer/kafka.py", line 448, in del File "/usr/local/lib/python3.6/site-packages/kafka/producer/kafka.py", line 461, in close File "/usr/local/lib/python3.6/logging/init.py", line 1305, in info File "/usr/local/lib/python3.6/logging/init.py", line 1546, in isEnabledFor TypeError: '>=' not supported between instances of 'int' and 'NoneType'

jpribyl commented 2 years ago

https://github.com/dpkp/kafka-python/pull/2043/files

in case anyone else stumbles across this