jforman / binder

Django Web Admin Gui for manging BIND DNS Zones
129 stars 41 forks source link

Reverse for '"server_list"' with arguments '()' and keyword arguments '{}' not found. #9

Open xtavras opened 9 years ago

xtavras commented 9 years ago

I'm trying to run binder on test server, after installing all dependencies and running syncdb (without erros), I'm starting a django (manage.py runserver 0.0.0.0:8080)

but if I try to open it browser i see

NoReverseMatch at /

Reverse for '"server_list"' with arguments '()' and keyword arguments '{}' not found.

Request Method:     GET
Request URL:    http://192.168.122.171:8080/
Django Version:     1.4.5
Exception Type:     NoReverseMatch
Exception Value:    

Reverse for '"server_list"' with arguments '()' and keyword arguments '{}' not found.

Exception Location:     /usr/lib/python2.7/dist-packages/django/template/defaulttags.py in render, line 426
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    

['/srv/binder',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/pymodules/python2.7']

Am I missing something in configuration?

jforman commented 9 years ago

What version of django do you have installed?

xtavras commented 9 years ago

Hi jforman,

all packages are from debian wheezy stock.

ii  python-bs4                         4.1.0-1                       all          error-tolerant HTML parser for Python
ii  python-django                      1.4.5-1+deb7u9                all          High-level Python web development framework
ii  python-dnspython                   1.10.0-1                      all          DNS toolkit for Python
ii  python-flup                        1.0.2-2                       all          Implements Python Web Server Gateway Interface (WSGI)
ii  python-sqlite                      1.0.1-9                       amd64        Python interface to SQLite 2
sherbang commented 9 years ago

@xtavras I had the same problem. Removing the Debian's Django package, and installing version 1.8 with pip fixed it.

apt-get purge python-django
pip install django
xtavras commented 9 years ago

Hi @sherbang , thanks, fixed it for me too.