[GH-ISSUE #4] Crash #6

Closed
opened 2026-02-27 16:00:38 +03:00 by kerem · 3 comments
Owner

Originally created by @rlex on GitHub (Oct 6, 2012).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/4

Created VM, tried to open it's page.
Environment:

Request Method: GET
Request URL: http://marion.lhc:8000/vm/2/debian/

Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'webvirtmgr.model']
Installed Middleware:
('django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.csrf.CsrfViewMiddleware')

Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/home/lex/webvirtmgr/../webvirtmgr/vm/views.py" in index
  2. active = get_vm_active()
    File "/home/lex/webvirtmgr/../webvirtmgr/vm/views.py" in get_vm_active
  3.      state = dom.isActive()
    

Exception Type: AttributeError at /vm/2/debian/
Exception Value: 'str' object has no attribute 'isActive'

Originally created by @rlex on GitHub (Oct 6, 2012). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/4 Created VM, tried to open it's page. Environment: Request Method: GET Request URL: http://marion.lhc:8000/vm/2/debian/ Django Version: 1.3.1 Python Version: 2.7.3 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'webvirtmgr.model'] Installed Middleware: ('django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.csrf.CsrfViewMiddleware') Traceback: File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 1. response = callback(request, _callback_args, *_callback_kwargs) File "/home/lex/webvirtmgr/../webvirtmgr/vm/views.py" in index 2. active = get_vm_active() File "/home/lex/webvirtmgr/../webvirtmgr/vm/views.py" in get_vm_active 3. state = dom.isActive() Exception Type: AttributeError at /vm/2/debian/ Exception Value: 'str' object has no attribute 'isActive'
kerem closed this issue 2026-02-27 16:00:38 +03:00
Author
Owner

@retspen commented on GitHub (Oct 6, 2012):

What your OS and your CPU support KVM? This problem if you install WebVirtMgr on virtual machine.

<!-- gh-comment-id:9200423 --> @retspen commented on GitHub (Oct 6, 2012): What your OS and your CPU support KVM? This problem if you install WebVirtMgr on virtual machine.
Author
Owner

@rlex commented on GitHub (Oct 15, 2012):

Is KVM absolutely essential for management? This machine is atom-based, i do not run any VMs here, only controller. But my remote servers support KVM. Libvirt versions, however, a bit different - one is running debian squeeze and another running ubuntu 12.04 LTS.

<!-- gh-comment-id:9444382 --> @rlex commented on GitHub (Oct 15, 2012): Is KVM absolutely essential for management? This machine is atom-based, i do not run any VMs here, only controller. But my remote servers support KVM. Libvirt versions, however, a bit different - one is running debian squeeze and another running ubuntu 12.04 LTS.
Author
Owner

@retspen commented on GitHub (Oct 15, 2012):

KVM not support Atom processors (but Atom z5xx alredy supported). Yes - KVM need to use WebVirtMgr. Qemu virtual machine on Atom processor work very slowly.

<!-- gh-comment-id:9445803 --> @retspen commented on GitHub (Oct 15, 2012): KVM not support Atom processors (but Atom z5xx alredy supported). Yes - KVM need to use WebVirtMgr. Qemu virtual machine on Atom processor work very slowly.
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#6
No description provided.