mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #56] Getting error 500 on creating new VM #45
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 @patschi on GitHub (May 21, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/56
I'm always getting an errorcode 500 when I want to create a virtual machine. The test.img will be created. I'm using the integrated webserver started with
./manage.py runserver 0.0.0.0:8000@retspen commented on GitHub (May 21, 2013):
Change in file settings.py line: DEBUG=False to DEBUG=True
What show debug (css not work)
@patschi commented on GitHub (May 21, 2013):
Output:
Edit: More debug output:
Environment: Request Method: POST Request URL: http://10.0.0.9:8000/newvm/1/ Django Version: 1.4.5 Python Version: 2.7.3 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/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/root/webvirtmgr/newvm/views.py" in newvm 243. vnc_passwd = ''.join([choice(letters + digits) for i in range(12)]) Exception Type: TypeError at /newvm/1/ Exception Value: cannot concatenate 'str' and 'list' objects@retspen commented on GitHub (May 21, 2013):
Update webvirtmgr and try again
@patschi commented on GitHub (May 21, 2013):
No, still the same error:
I updated with "git pull" and restarted the integrated webserver.
@retspen commented on GitHub (May 22, 2013):
Fix this bug. Need update.
@patschi commented on GitHub (May 23, 2013):
mhh... Really... Does work now :)
Somehow git didn't updated correctly. I clone'd the git again and now its working.