graypy icon indicating copy to clipboard operation
graypy copied to clipboard

GELFRabbitHandler not imported in python new versions.

Open PabloEmidio opened this issue 3 years ago • 5 comments

When use python3.9.13 I ran into the following error: AttributeError: module 'graypy' has no attribute 'GELFRabbitHandler

Conditions: graypy==2.1.0 amqplib==1.0.2

PabloEmidio avatar Aug 10 '22 16:08 PabloEmidio

Hey! Is this lib still suported? Debugging the error, I found out that the problem is the amqplib (last update was 7 years ago) and it's being suppressed by the ImportError. But great news, amqlib was forked and now it's the official suport of Celery organization in this repository. https://github.com/severb/graypy/blob/a5a82c535002db6015473cb59a7476361060d358/graypy/init.py#L23-L26

It's time to consider migrate. Could we discuss it?

PabloEmidio avatar Jan 15 '23 02:01 PabloEmidio

I also encounter this issue with graypy==2.1.0 amqplib==1.0.2

Petchesi-Iulian avatar Mar 01 '23 12:03 Petchesi-Iulian

Would either of you be interested in opening a pull request to fix this issue?

severb avatar Jul 19 '23 19:07 severb