sentry-extensions / cyclops

Cyclops is meant to be a high performance barrier in front of Sentry (http://getsentry.com).
http://sentry-extensions.github.io/cyclops/
164 stars 15 forks source link

unable to start cyclops #6

Open tbarbugli opened 10 years ago

tbarbugli commented 10 years ago

Hi, I was trying to start cyclops when I got to this error:

Traceback (most recent call last):
  File "/usr/local/bin/cyclops", line 9, in <module>
    load_entry_point('cyclops==0.6.16', 'console_scripts', 'cyclops')()
  File "/usr/local/lib/python2.7/dist-packages/cyclops/server.py", line 70, in main
    application = app(config, log_level, options.debug, main_loop)
  File "/usr/local/lib/python2.7/dist-packages/cyclops/app.py", line 87, in __init__
    handlers, options = configure_app(self, config, log_level, debug, main_loop)
  File "/usr/local/lib/python2.7/dist-packages/cyclops/app.py", line 68, in configure_app
    projects_update_task.update()
  File "/usr/local/lib/python2.7/dist-packages/cyclops/tasks.py", line 37, in update
    password=config.MYSQL_PASS
  File "/usr/local/lib/python2.7/dist-packages/torndb.py", line 66, in __init__
    args = dict(conv=CONVERSIONS, use_unicode=True, charset="utf8",
NameError: global name 'CONVERSIONS' is not defined

I installed cyclops via pip (got 0.6.16), copied your example settings (only changed the sentry url) and started it

cyclops --config=/path/to/cyclops.conf

tbarbugli commented 10 years ago

Turns out I dont have MySQLdb on my system and torndb does not raise an exception for it (or cyclops ingests that)

heynemann commented 10 years ago

Oh sorry to hear that... We should handle that, but cyclops won't test your connection to MySQL, I think... Will give it a shot at trying to improve detection of connection failure. We have it running for so long here at globo.com that I forgot about it.