-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error 500 on creating new VM #56
Comments
Change in file settings.py line: DEBUG=False to DEBUG=True What show debug (css not work) |
Output: TypeError at /newvm/1/ cannot concatenate 'str' and 'list' objects Request Method: POST Request URL: http://10.0.0.9:8000/newvm/1/ Django Version: 1.4.5 Exception Type: TypeError Exception Value: cannot concatenate 'str' and 'list' objects Exception Location: /root/webvirtmgr/newvm/views.py in newvm, line 243 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path: ['/root/webvirtmgr', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7', '/root/webvirtmgr/webvirtmgr'] Server time: Tue, 21 May 2013 23:13:15 +0300 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 |
Update webvirtmgr and try again |
No, still the same error: TypeError at /newvm/1/ cannot concatenate 'str' and 'list' objects Request Method: POST Request URL: http://10.0.0.9:8000/newvm/1/ Django Version: 1.4.5 Exception Type: TypeError Exception Value: cannot concatenate 'str' and 'list' objects Exception Location: /root/webvirtmgr/newvm/views.py in newvm, line 243 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path: ['/root/webvirtmgr', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7', '/root/webvirtmgr/webvirtmgr'] Server time: Tue, 21 May 2013 23:59:55 +0300 I updated with "git pull" and restarted the integrated webserver. |
Fix this bug. Need update. |
mhh... Really... Does work now :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: