[GH-ISSUE #68] virConnect instance has no attribute 'getSysinfo' #57

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

Originally created by @wildstray on GitHub (Jun 6, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/68

I'm experiencing errors 500 in Overview and Infrastructure. I'm using a Debian 6.0 with libvirtd (libvirt) 0.9.12, Python 2.6.6, Django 1.4.5, qemu-kvm-0.12.5.

With debug turned on this is the Traceback:

Environment:

Request Method: GET
Request URL: http://10.10.10.170/webvirtmgr/clusters/

Django Version: 1.4.5
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'vds')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')

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

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/var/www/webvirtmgr/dashboard/views.py" in clusters
  2.         host_info = libvirt_func.node_get_info(conn)
    
    File "/var/www/webvirtmgr/libvirt_func.py" in node_get_info
  3.     xml_inf = conn.getSysinfo(0)
    

Exception Type: AttributeError at /clusters/
Exception Value: virConnect instance has no attribute 'getSysinfo'

Originally created by @wildstray on GitHub (Jun 6, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/68 I'm experiencing errors 500 in Overview and Infrastructure. I'm using a Debian 6.0 with libvirtd (libvirt) 0.9.12, Python 2.6.6, Django 1.4.5, qemu-kvm-0.12.5. With debug turned on this is the Traceback: Environment: Request Method: GET Request URL: http://10.10.10.170/webvirtmgr/clusters/ Django Version: 1.4.5 Python Version: 2.6.6 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'vds') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response 1. response = callback(request, _callback_args, *_callback_kwargs) File "/var/www/webvirtmgr/dashboard/views.py" in clusters 2. host_info = libvirt_func.node_get_info(conn) File "/var/www/webvirtmgr/libvirt_func.py" in node_get_info 3. xml_inf = conn.getSysinfo(0) Exception Type: AttributeError at /clusters/ Exception Value: virConnect instance has no attribute 'getSysinfo'
kerem closed this issue 2026-02-27 16:00:53 +03:00
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#57
No description provided.