auvipy/celery-flower

Python 3 support?

Opened this issue · 4 comments

I thought you said that it is supported, but:

$ celerymon
Traceback (most recent call last):
  File "/home/argon/.Envs/burgundy/bin/celerymon", line 5, in <module>
    from celerymon.bin.celerymon import main
  File "/home/argon/.Envs/burgundy/lib/python3.6/site-packages/celerymon/bin/celerymon.py", line 94
    except Exception, exc:
                    ^
SyntaxError: invalid syntax

it's still not ready for use!!

Got it, thank you:)
Celery lacks good monitoring so badly.

yes! that's why I will take on this!

mcepl commented

Well, at least 2to3 claims that only change which is necessary is:

---
 celerymon/bin/celerymon.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- a/celerymon/bin/celerymon.py
+++ b/celerymon/bin/celerymon.py
@@ -91,9 +91,8 @@ class MonitorCommand(Command):

             try:
                 monitor.start()
-            except Exception, exc:
-                logger.error('celerymon raised exception %r',
-                             exc, exc_info=True)
+            except Exception:
+                logger.exception('celerymon raised exception')
             except KeyboardInterrupt:
                 pass