Re: error starting sentry

125 views
Skip to first unread message

David Cramer

unread,
Apr 12, 2013, 1:28:12 AM4/12/13
to gets...@googlegroups.com, gets...@googlegroups.com
You're missing a library. It's likely that its python-memcache

On Apr 11, 2013, at 10:15 PM, john felipe urrego mejia <ingenierof...@gmail.com> wrote:

Hi please tell me:

(sentry)[root@felipeurrego sentry]# sentry --config=/etc/sentry.conf.py start
Traceback (most recent call last):
  File "/var/www/sentry/bin/sentry", line 8, in <module>
    load_entry_point('sentry==5.4.5', 'console_scripts', 'sentry')()
  File "/var/www/sentry/lib/python2.6/site-packages/sentry-5.4.5-py2.6.egg/sentry/utils/runner.py", line 197, in main
    initializer=initialize_app,
  File "/var/www/sentry/lib/python2.6/site-packages/logan-0.5.5-py2.6.egg/logan/runner.py", line 155, in run_app
    management.execute_from_command_line([runner_name, command] + command_args)
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/__init__.py", line 252, in fetch_command
    app_name = get_commands()[subcommand]
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/management/__init__.py", line 101, in get_commands
    apps = settings.INSTALLED_APPS
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/utils/functional.py", line 184, in inner
    self._setup()
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py", line 93, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/var/www/sentry/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/var/www/sentry/lib/python2.6/site-packages/logan-0.5.5-py2.6.egg/logan/importer.py", line 68, in load_module
    return self._load_module(fullname)
  File "/var/www/sentry/lib/python2.6/site-packages/logan-0.5.5-py2.6.egg/logan/importer.py", line 95, in _load_module
    self.callback(settings_mod)
  File "/var/www/sentry/lib/python2.6/site-packages/logan-0.5.5-py2.6.egg/logan/runner.py", line 99, in settings_callback
    'settings': settings,
  File "/var/www/sentry/lib/python2.6/site-packages/sentry-5.4.5-py2.6.egg/sentry/utils/runner.py", line 171, in initialize_app
    from sentry.app import env
  File "/var/www/sentry/lib/python2.6/site-packages/sentry-5.4.5-py2.6.egg/sentry/app.py", line 25, in <module>
    buffer = get_instance(settings.BUFFER, settings.BUFFER_OPTIONS)
  File "/var/www/sentry/lib/python2.6/site-packages/sentry-5.4.5-py2.6.egg/sentry/app.py", line 20, in get_instance
    cls = import_string(path)
  File "/var/www/sentry/lib/python2.6/site-packages/sentry-5.4.5-py2.6.egg/sentry/utils/imports.py", line 40, in import_string
    raise ImportError(path)
django.core.exceptions.ImproperlyConfigured: ImportError('sentry.buffer.Buffer',)

Tnks

--
You received this message because you are subscribed to the Google Groups "sentry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getsentry+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jaimin Patel

unread,
Apr 19, 2013, 6:23:49 PM4/19/13
to gets...@googlegroups.com
Were you able to fix the issue? I am running into the same error.

David Cramer

unread,
Apr 19, 2013, 6:30:28 PM4/19/13
to gets...@googlegroups.com
Did you install the libraries required in the documentation?

- psycopg2, or mysql-python
- python-memcached
- redis/nydus

It depends on the config, and while we're going to improve this error, it's likely that you're missing a del and the exception is being reported poorly
--
Message has been deleted

Jaimin Patel

unread,
Apr 19, 2013, 6:45:14 PM4/19/13
to gets...@googlegroups.com
Cramer - Thanks for the response. 

I installed some missing packages and now its throwing different error - 
(sentry)Jaimins-MacBook-Pro:logger Jaimin$ sentry upgrade ~/.sentry/sentry.conf.py 
Traceback (most recent call last):
  File "/Users/Jaimin/Apps/Github/logger/sentry/bin/sentry", line 8, in <module>
    load_entry_point('sentry==5.4.5', 'console_scripts', 'sentry')()
  File "/Users/Jaimin/Apps/Github/logger/sentry/lib/python2.7/site-packages/sentry-5.4.5-py2.7.egg/sentry/utils/runner.py", line 197, in main
    initializer=initialize_app,
  File "/Users/Jaimin/Apps/Github/logger/sentry/lib/python2.7/site-packages/logan/runner.py", line 155, in run_app
    management.execute_from_command_line([runner_name, command] + command_args)
  File "/Users/Jaimin/Apps/Github/logger/sentry/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/Users/Jaimin/Apps/Github/logger/sentry/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/Jaimin/Apps/Github/logger/sentry/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Users/Jaimin/Apps/Github/logger/sentry/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
TypeError: handle() takes exactly 1 argument (7 given)
Reply all
Reply to author
Forward
0 new messages