[GH-ISSUE #28] Error 500 on Overview #20

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

Originally created by @Tarnyko on GitHub (Feb 28, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/28

OS : CentOS 6.2 x86_64
Python : 2.6.6
Libvirt : 0.9.4
Django : 1.3.4

Getting this fast empty webpage when clicking on "Overview" :

Error 500
- Sign in -

Workaround is to change "webvirtmgr/polls/views.py". Replace :

cpu = conn.getCPUStats(-1,0)

with :

cpu = 0

and replace :

get_freemem = conn.getMemoryStats(-1,0)

with :

get_freemem = 0

Of course, CPU and Memory usage only display "0" after that. Needs better solution.

Originally created by @Tarnyko on GitHub (Feb 28, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/28 OS : CentOS 6.2 x86_64 Python : 2.6.6 Libvirt : 0.9.4 Django : 1.3.4 Getting this fast empty webpage when clicking on "Overview" : ``` Error 500 - Sign in - ``` Workaround is to change "webvirtmgr/polls/views.py". Replace : ``` cpu = conn.getCPUStats(-1,0) ``` with : ``` cpu = 0 ``` and replace : ``` get_freemem = conn.getMemoryStats(-1,0) ``` with : ``` get_freemem = 0 ``` Of course, CPU and Memory usage only display "0" after that. Needs better solution.
kerem closed this issue 2026-02-27 16:00:43 +03:00
Author
Owner

@retspen commented on GitHub (Feb 28, 2013):

Update to CentOS 6.3

<!-- gh-comment-id:14231574 --> @retspen commented on GitHub (Feb 28, 2013): Update to CentOS 6.3
Author
Owner

@Tarnyko commented on GitHub (Feb 28, 2013):

That was fast :-).
OK, will do that.

<!-- gh-comment-id:14231604 --> @Tarnyko commented on GitHub (Feb 28, 2013): That was fast :-). OK, will do that.
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#20
No description provided.