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

AttributeError: 'NoneType' object has no attribute 'conf' #19

Open
webjay opened this issue Nov 13, 2012 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'conf' #19

webjay opened this issue Nov 13, 2012 · 0 comments

Comments

@webjay
Copy link

webjay commented Nov 13, 2012

I have Python 2.7.3 and Celerymon 1.0.3
celerymon was installed with pip install -U celerymon

The error I get is AttributeError: 'NoneType' object has no attribute 'conf'

./manage.py celerymon --settings=settings.prod
Traceback (most recent call last):
  File "./manage.py", line 14, in <module>
    execute_manager(settings)
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager
    utility.execute()
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 69, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/djcelery/management/commands/celerymon.py", line 31, in <module>
    class Command(CeleryCommand):
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/djcelery/management/commands/celerymon.py", line 34, in Command
    + (mon and mon.get_options() + mon.preload_options or ()))
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/celerymon/bin/celerymon.py", line 113, in get_options
    conf = self.app.conf
  File "/home/django/domains/everplaces.com/everplaces.com/local/lib/python2.7/site-packages/celery/local.py", line 169, in __getattr__
    return getattr(self._get_current_object(), name)
AttributeError: 'NoneType' object has no attribute 'conf'
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

1 participant