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

unable to start cyclops #6

Open
tbarbugli opened this issue Nov 22, 2013 · 2 comments
Open

unable to start cyclops #6

tbarbugli opened this issue Nov 22, 2013 · 2 comments

Comments

@tbarbugli
Copy link

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
Copy link
Author

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

@heynemann
Copy link
Member

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.

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

2 participants