error: 'module' object has no attribute '_handlerList'

32 views
Skip to first unread message

Sergey R

unread,
Mar 19, 2014, 6:37:15 PM3/19/14
to django...@googlegroups.com

i started to get 500 error when loading the site

traceback shows:

Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 50, in _setup
    self._configure_logging()
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 76, in _configure_logging
    logging_config_func(DEFAULT_LOGGING)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/dictconfig.py", line 555, in dictConfig
    dictConfigClass(config).configure()
  File "/usr/local/lib/python2.7/dist-packages/django/utils/dictconfig.py", line 323, in configure
    del logging._handlerList[:]
AttributeError: 'module' object has no attribute '_handlerList'


last thing i remember doing was installing celery
to make this error disappear i have to  add LOGGING_CONFIG = None  to settings,py

im running Python 2.7.5+, Django 1.6.2

couldn't find any info on how to fix this issue
all i know is, its something to do with logging module

anyone got any advice?





Reply all
Reply to author
Forward
0 new messages