[GH-ISSUE #122] NoReverseMatch Issue #104

Closed
opened 2026-02-27 16:37:57 +03:00 by kerem · 12 comments
Owner

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 ?

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 ?
kerem closed this issue 2026-02-27 16:37:57 +03:00
Author
Owner

@retspen commented on GitHub (Oct 9, 2013):

Need Django - 1.5.x

<!-- gh-comment-id:25969335 --> @retspen commented on GitHub (Oct 9, 2013): Need Django - 1.5.x
Author
Owner

@Paul-LKW commented on GitHub (Oct 9, 2013):

I am following your installation instruction;

  'python-pip install Django==1.5.2'

and there should be already 1.5.2.

<!-- gh-comment-id:25969596 --> @Paul-LKW commented on GitHub (Oct 9, 2013): I am following your installation instruction; ``` 'python-pip install Django==1.5.2' ``` and there should be already 1.5.2.
Author
Owner

@retspen commented on GitHub (Oct 9, 2013):

But your log show - Django Version: 1.4.5

<!-- gh-comment-id:25969694 --> @retspen commented on GitHub (Oct 9, 2013): But your log show - Django Version: 1.4.5
Author
Owner

@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

<!-- gh-comment-id:25969863 --> @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
Author
Owner

@retspen commented on GitHub (Oct 9, 2013):

Remove all django and try:

$ pip install django

<!-- gh-comment-id:25969958 --> @retspen commented on GitHub (Oct 9, 2013): Remove all django and try: $ pip install django
Author
Owner

@Paul-LKW commented on GitHub (Oct 9, 2013):

Oh it gives;

Cannot fetch index base URL https://pypi.python.org/simple/

<!-- gh-comment-id:25970112 --> @Paul-LKW commented on GitHub (Oct 9, 2013): Oh it gives; Cannot fetch index base URL https://pypi.python.org/simple/
Author
Owner

@retspen commented on GitHub (Oct 9, 2013):

pip install Django

<!-- gh-comment-id:25970210 --> @retspen commented on GitHub (Oct 9, 2013): pip install Django
Author
Owner

@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?

<!-- gh-comment-id:25970759 --> @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?
Author
Owner

@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

<!-- gh-comment-id:25970955 --> @retspen commented on GitHub (Oct 9, 2013): Download <a href="https://www.djangoproject.com/download/1.5.4/tarball/">Django-1.5.4.tar.gz</a>. Then: tar xzvf Django-1.5.4.tar.gz cd Django-1.5.4 sudo python setup.py install
Author
Owner

@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.

<!-- gh-comment-id:25972367 --> @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.
Author
Owner

@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?

<!-- gh-comment-id:27572375 --> @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?
Author
Owner

@cjsoftuk commented on GitHub (Nov 1, 2013):

Sorry - my fault - was looking at the wrong branch!

<!-- gh-comment-id:27572674 --> @cjsoftuk commented on GitHub (Nov 1, 2013): Sorry - my fault - was looking at the wrong branch!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#104
No description provided.