[GH-ISSUE #60] no webfrontend after update #51

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

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

toda i made git pull and result is:
MOD_PYTHON ERROR

ProcessId: 19965
Interpreter: 'foo.example.com'

ServerName: 'foo.example.com'
DocumentRoot: '/var/www/webvirtmgr'

URI: '/login/'
Location: None
Directory: None
Filename: '/var/www/webvirtmgr/login'
PathInfo: '/'

Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)

File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)

File "/usr/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 180, in handler
return ModPythonHandler()(req)

File "/usr/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 158, in call
response = self.get_response(request)

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception
return callback(request, **param_dict)

File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, _args, *_kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 32, in server_error
t = loader.get_template(template_name) # You need to create a 500.html template.

File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 145, in get_template
template, origin = find_template(template_name)

File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 138, in find_template
raise TemplateDoesNotExist(name)

TemplateDoesNotExist: 500.html

Ubuntu 13.04.

Originally created by @caustic1q on GitHub (May 28, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/60 toda i made git pull and result is: MOD_PYTHON ERROR ProcessId: 19965 Interpreter: 'foo.example.com' ServerName: 'foo.example.com' DocumentRoot: '/var/www/webvirtmgr' URI: '/login/' Location: None Directory: None Filename: '/var/www/webvirtmgr/login' PathInfo: '/' Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target result = object(arg) File "/usr/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 180, in handler return ModPythonHandler()(req) File "/usr/lib/python2.7/dist-packages/django/core/handlers/modpython.py", line 158, in **call** response = self.get_response(request) File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in get_response response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception return callback(request, **param_dict) File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 91, in _wrapped_view response = view_func(request, _args, *_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 32, in server_error t = loader.get_template(template_name) # You need to create a 500.html template. File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 145, in get_template template, origin = find_template(template_name) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 138, in find_template raise TemplateDoesNotExist(name) TemplateDoesNotExist: 500.html Ubuntu 13.04.
kerem closed this issue 2026-02-27 16:00:52 +03:00
Author
Owner

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

If you update WebVirtMgr 1.6 to 2.0 - NOT SUPPORTED! Need only install.

<!-- gh-comment-id:18534365 --> @retspen commented on GitHub (May 28, 2013): If you update WebVirtMgr 1.6 to 2.0 - NOT SUPPORTED! Need only install.
Author
Owner

@caustic1q commented on GitHub (May 28, 2013):

Ok, I fresh install ended up with an OOPS ... internal server error 500
apache2 was stopped and I did start the frontend with
./manage.py runserver x.x.x.x:8000

slighly better but not realy good.
root@patserver01:~/webvirtmgr# ./manage.py runserver 192.168.227.100:8000
Validating models...

0 errors found
May 28, 2013 - 11:18:57
Django version 1.5.1, using settings 'webvirtmgr.settings'
Development server is running at http://192.168.227.100:8000/
Quit the server with CONTROL-C.
[28/May/2013 11:19:23] "GET / HTTP/1.1" 302 0
[28/May/2013 11:19:23] "GET /login/ HTTP/1.1" 500 2496
[28/May/2013 11:19:23] "GET /static/img/favicon.ico HTTP/1.1" 200 2238
[28/May/2013 11:19:24] "GET /static/css/bootstrap-responsive.css HTTP/1.1" 200 21751
[28/May/2013 11:19:24] "GET /static/css/bootstrap.css HTTP/1.1" 200 124223
[28/May/2013 11:19:24] "GET /static/js/jquery.js HTTP/1.1" 200 92791
[28/May/2013 11:19:24] "GET /static/js/bootstrap.js HTTP/1.1" 200 58516
[28/May/2013 11:19:31] "GET / HTTP/1.1" 302 0
[28/May/2013 11:19:31] "GET /login/ HTTP/1.1" 500 2496

<!-- gh-comment-id:18536358 --> @caustic1q commented on GitHub (May 28, 2013): Ok, I fresh install ended up with an OOPS ... internal server error 500 apache2 was stopped and I did start the frontend with ./manage.py runserver x.x.x.x:8000 slighly better but not realy good. root@patserver01:~/webvirtmgr# ./manage.py runserver 192.168.227.100:8000 Validating models... 0 errors found May 28, 2013 - 11:18:57 Django version 1.5.1, using settings 'webvirtmgr.settings' Development server is running at http://192.168.227.100:8000/ Quit the server with CONTROL-C. [28/May/2013 11:19:23] "GET / HTTP/1.1" 302 0 [28/May/2013 11:19:23] "GET /login/ HTTP/1.1" 500 2496 [28/May/2013 11:19:23] "GET /static/img/favicon.ico HTTP/1.1" 200 2238 [28/May/2013 11:19:24] "GET /static/css/bootstrap-responsive.css HTTP/1.1" 200 21751 [28/May/2013 11:19:24] "GET /static/css/bootstrap.css HTTP/1.1" 200 124223 [28/May/2013 11:19:24] "GET /static/js/jquery.js HTTP/1.1" 200 92791 [28/May/2013 11:19:24] "GET /static/js/bootstrap.js HTTP/1.1" 200 58516 [28/May/2013 11:19:31] "GET / HTTP/1.1" 302 0 [28/May/2013 11:19:31] "GET /login/ HTTP/1.1" 500 2496
Author
Owner

@caustic1q commented on GitHub (May 28, 2013):

Problem solved:
Wrong django release.
WebVirtMgr is not working with django 1.5.1

<!-- gh-comment-id:18538949 --> @caustic1q commented on GitHub (May 28, 2013): Problem solved: Wrong django release. WebVirtMgr is not working with django 1.5.1
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#51
No description provided.