These are chat archives for allegro/ralph

Sep 2017
Sep 01 2017 06:19
@vi4m No, it comes from Putty when I add some lines in settings.p for LDAP group import (from documentation)
Rudy Pinochet
Sep 01 2017 18:32
Hi, I fresh intall in ubuntu 14.04 of ralph 3.0.0-snapshot-20170901-8287 amd64 but when execute ralph migrate send me this error:
ralph@br-dcim:~$ ralph migrate

Traceback (most recent call last):
  File "/opt/ralph/ralph-core/bin/ralph", line 11, in <module>
    load_entry_point('ralph==3.0.0', 'console_scripts', 'ralph')()
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/", line 29, in prod
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/", line 14, in main
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/core/management/", line 354, in execute_from_command_line
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/core/management/", line 328, in execute
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/", line 18, in setup
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/apps/", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/apps/", line 112, in create
    mod = import_module(mod_path)
  File "/opt/ralph/ralph-core/lib/python3.4/importlib/", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/notifications/", line 5, in <module>
    from ralph.notifications.sender import send_notification_for_model
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/notifications/", line 10, in <module>
    from ralph.lib.metrics import statsd
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/lib/metrics/", line 1, in <module>
    from .collector import build_statsd_client, statsd
  File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/lib/metrics/", line 5, in <module>
    from statsd import defaults, StatsClient
ImportError: No module named 'statsd'
Rudy Pinochet
Sep 01 2017 18:44
create issue: #3154
Rudy Pinochet
Sep 01 2017 19:04

the fixed error is:

pip install statsd

this way install statsd 3.2.1