Skip to content

zk dashboard unavailable during zookeeper restarts #2

@ezbz

Description

@ezbz

AttributeError at /
'NoneType' object has no attribute 'group'
Request Method: GET
Request URL: http://zk_dash:8080/
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'group'
Exception Location: /home/tomcat/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/models.py in init, line 35
Python Executable: /usr/bin/python26
Python Version: 2.6.5
Python Path: ['/home/tomcat/zookeeper_dashboard', '/home/tomcat/zookeeper_dashboard/lib.linux-i686-2.6', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
Server time: Sun, 25 Sep 2011 10:07:36 -0500

Environment:

Request Method: GET
Request URL: http://zk_dash.outbrain.com:8080/
Django Version: 1.1
Python Version: 2.6.5
Installed Applications:
['django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'zookeeper_dashboard.zkadmin',
'zookeeper_dashboard.zktree']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')

Traceback:
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response

  1.             response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/home/tomcat/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/views.py" in index
  2.     zkserver = ZKServer(server)
    
    File "/home/tomcat/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/models.py" in init
  3.     self.version = m.group(1)
    

Exception Type: AttributeError at /
Exception Value: 'NoneType' object has no attribute 'group'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions