mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-27 08:35:53 +03:00
[GH-ISSUE #122] NoReverseMatch Issue #104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Paul-LKW on GitHub (Oct 9, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/122
Dear All:
Just installed V3.0 and when open page http://xxx.xxx.xxx.xxx:8000 it shows Internal Server Error and then I enable the debug function and it shows
NoReverseMatch at /login/
Reverse for ''login'' with arguments '()' and keyword arguments '{}' not found.
Request Method: GET
Request URL: http://xxx.xxx.xxx.xxx:8000/login/
Django Version: 1.4.5
Exception Type: NoReverseMatch
Exception Value:
Reverse for ''login'' with arguments '()' and keyword arguments '{}' not found.
Exception Location: /usr/lib/python2.6/site-packages/django/template/defaulttags.py in render, line 424
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path:
['/var/www/webvirtmgr',
'/usr/lib64/python26.zip',
'/usr/lib64/python2.6',
'/usr/lib64/python2.6/plat-linux2',
'/usr/lib64/python2.6/lib-tk',
'/usr/lib64/python2.6/lib-old',
'/usr/lib64/python2.6/lib-dynload',
'/usr/lib64/python2.6/site-packages',
'/usr/lib/python2.6/site-packages',
'/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']
Server time: Wed, 9 Oct 2013 16:03:04 +0300
any hints could solve this ?
@retspen commented on GitHub (Oct 9, 2013):
Need Django - 1.5.x
@Paul-LKW commented on GitHub (Oct 9, 2013):
I am following your installation instruction;
and there should be already 1.5.2.
@retspen commented on GitHub (Oct 9, 2013):
But your log show - Django Version: 1.4.5
@Paul-LKW commented on GitHub (Oct 9, 2013):
OH I found something strange, when every time I run; python-pip install Django==1.5.2
Downloading/unpacking Django==1.5.2
Running setup.py egg_info for package Django
Requested Django==1.5.2, but installing version 1.4.5
Installing collected packages: Django
Found existing installation: Django 1.4.5
Uninstalling Django:
Successfully uninstalled Django
Running setup.py install for Django
changing mode of /usr/bin/django-admin.py to 755
Successfully installed Django
Cleaning up...
that means it never installed 1.5.2
@retspen commented on GitHub (Oct 9, 2013):
Remove all django and try:
$ pip install django
@Paul-LKW commented on GitHub (Oct 9, 2013):
Oh it gives;
Cannot fetch index base URL https://pypi.python.org/simple/
@retspen commented on GitHub (Oct 9, 2013):
pip install Django
@Paul-LKW commented on GitHub (Oct 9, 2013):
It drive me cracy, I can sure it is uninstalled but; pip install Django still give me the 1.4.5 @@
or could I go some where to down this package to install directly?
@retspen commented on GitHub (Oct 9, 2013):
Download Django-1.5.4.tar.gz. Then:
tar xzvf Django-1.5.4.tar.gz
cd Django-1.5.4
sudo python setup.py install
@Paul-LKW commented on GitHub (Oct 9, 2013):
Great thanks, I finally use menu install method installed 1.5.4 and I could see the login now.
@cjsoftuk commented on GitHub (Nov 1, 2013):
@retspen - I just ran into this because the readme says to install 1.4.5. Could you possibly fix the Readme so it says the minimum requirement correctly?
@cjsoftuk commented on GitHub (Nov 1, 2013):
Sorry - my fault - was looking at the wrong branch!