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

Error on initial page load #4

Open
clofresh opened this issue Dec 16, 2011 · 1 comment
Open

Error on initial page load #4

clofresh opened this issue Dec 16, 2011 · 1 comment

Comments

@clofresh
Copy link

After starting up the server, I get an error when I try to go to the site:

Environment:

Request Method: GET
Request URL: http://localhost:8000/

Django Version: 1.3.1
Python Version: 2.6.1
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 "/Users/carlo/Projects/datadog/python/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py" in get_response

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/Users/carlo/Projects/datadog/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/views.py" in index
  2.     zkserver = ZKServer(server)
    
    File "/Users/carlo/Projects/datadog/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/models.py" in init
  3.         self.sessions.append(Session(line.strip()))
    
    File "/Users/carlo/Projects/datadog/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/models.py" in init
  4.     self.host = m.group(1)
    

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

@rohit-tm
Copy link

rohit-tm commented Jun 2, 2016

HI @clofresh
follow this:

Setting.py

Put False at Debug...
then check

got some error in command line then check it and let me know

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

2 participants