mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #315] Error Instances #246
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 @ajolote on GitHub (May 22, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/315
Hy
Sorry for my english
I've installed webvirtmgr, great project, but when i try to access to instances page de next error shows
UnboundLocalError at /instances/1/
local variable 'get_instances' referenced before assignment
Request Method: GET
Request URL: http://172.16.1.5:8000/instances/1/
Django Version: 1.6.5
Exception Type: UnboundLocalError
Exception Value:
local variable 'get_instances' referenced before assignment
Exception Location: /var/www/webvirtmgr/instance/views.py in instances, line 382
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/lib64/python2.6/site-packages/gtk-2.0',
'/usr/lib/python2.6/site-packages',
'/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']
Server time: Jue, 22 May 2014 23:22:41 +0300
can anyone help with this
Thanks
@retspen commented on GitHub (May 23, 2014):
Do you read https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr ?
@ajolote commented on GitHub (May 23, 2014):
Hello
Thanks for the anwer
Yes i follow the instructions on that page, actually a can´t access to server until a run ./manage.py runserver 172.16.1.5:8000 in my server, after that a login and when click on instances the problem apears.
I've change debug to true so i get de page with the problem
Thanks
@retspen commented on GitHub (May 23, 2014):
How can you install django-1.6.5? If you follow instruction django installed only 1.5.5
@ajolote commented on GitHub (May 23, 2014):
Sorry i forgot metioned, my sistem is centos 6.5 X86_64, the default version of djando is 1.4 so i updated to latest 1.6.5, the django version could be the problem??
@retspen commented on GitHub (May 23, 2014):
No, but when you do that:
you can't install Django-1.4. And check libvirt-python:
@ajolote commented on GitHub (May 23, 2014):
mm when i run then command get this Cannot fetch index base URL https://pypi.python.org/simple/ so i installed everything manually
i supose the error is because the sistem is behind a proxy squid
@retspen commented on GitHub (May 23, 2014):
Did you install libvirt-python ?
@retspen commented on GitHub (May 26, 2014):
Fix -
66c59b68f6