Comments (6)
Change in file settings.py line: DEBUG=False to DEBUG=True
What show debug (css not work)
from webvirtmgr.
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
from webvirtmgr.
Update webvirtmgr and try again
from webvirtmgr.
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.
from webvirtmgr.
Fix this bug. Need update.
from webvirtmgr.
mhh... Really... Does work now :)
Somehow git didn't updated correctly. I clone'd the git again and now its working.
from webvirtmgr.
Related Issues (20)
- Screenshots missing from Wiki
- about bridge
- Does webvirtmgr support openvswitch network
- guest has not initialize the display (yet) HOT 2
- HTTP/500 on /console when instance uuid
- VNC console launch failed HOT 3
- webvirtmgr not working HOT 1
- 内部错误:池 'image' 有异步任务运行。 HOT 1
- could not new instance with the host network
- login failed HOT 1
- archive this shit HOT 1
- I bet nobody end up with working app in first fime HOT 1
- virEventPollUpdateTimeout
- When is the libvirt connection closed
- clean ubuntu 20.04.4 lts server Manage.py error HOT 1
- Want to ssh through GUI using password in webvirtmgr host as well as in docker-container.
- Webvirt cloud [kvm/webvirtmgr] HOT 1
- How to customize novnc's token? HOT 4
- 500 when accesses /interfaces/1/
- The performance monitoring time is not synchronized
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webvirtmgr.