Joel Mathew
2018-11-02 19:19:02 UTC
When I turned DEBUG = False in my project/settings.py, I suddenly got
a whole bunch of HTTP Error 500. Most of the css reources showed the
error. I have two apps in this project, and I've been sharing static
resources between these apps. Would these be the cause of these
errors?
See the following with DEBUG=True:
================================================
***@hp:~/myappointments$ python3 manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
November 03, 2018 - 00:46:23
Django version 2.1.2, using settings 'myappointments.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
In livelist for clinic: joelent
Checking for membership
In HasMembership function.
In IsMemberof function.. Got arguments: cliniclabel:joelent username:joel
permobj.viewperms: 1
Verified that ... is a member of joelent
Username is ...
Showhelp for Joel G Mathew is False
[03/Nov/2018 00:46:27] "GET /clinic/joelent/live HTTP/1.1" 200 19802
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/css/calcustomcolors.css?dev=82444302
HTTP/1.1" 200 246
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/css/mytheme.css?dev=82444302
HTTP/1.1" 200 884
[03/Nov/2018 00:46:27] "GET
/appointments/static/clinic/css/colorbuttons.css?dev=82444302
HTTP/1.1" 200 3596
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/js/search.js?dev=82444302 HTTP/1.1"
200 6554
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/js/jquery-ui/jquery-ui.js?dev=82444302
HTTP/1.1" 200 520714
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/js/appointment.js?dev=82444302
HTTP/1.1" 200 17716
[03/Nov/2018 00:46:27] "GET
/appointments/static/clinic/icons/favicon.ico HTTP/1.1" 200 311737
================================================
And now with DEBUG = False:
python3 manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
November 03, 2018 - 00:47:39
Django version 2.1.2, using settings 'myappointments.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
In livelist for clinic: joelent
Checking for membership
In HasMembership function.
In IsMemberof function.. Got arguments: cliniclabel:joelent username:joel
permobj.viewperms: 1
Verified that ... is a member of joelent
Username is ....
Showhelp for Joel G Mathew is False
[03/Nov/2018 00:47:44] "GET /clinic/joelent/live HTTP/1.1" 200 19802
2018-11-03 00:47:44,523 django.request ERROR Internal Server Error:
/appointments/static/clinic/css/colorbuttons.css
2018-11-03 00:47:44,525 django.request ERROR Internal Server Error:
/appointments/static/appointments/css/calcustomcolors.css
2018-11-03 00:47:44,532 django.request ERROR Internal Server Error:
/appointments/static/appointments/css/mytheme.css
2018-11-03 00:47:44,562 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/jquery-ui/jquery-ui.js
2018-11-03 00:47:44,567 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/search.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/css/mytheme.css?dev=82846267
HTTP/1.1" 500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/css/calcustomcolors.css?dev=82846267
HTTP/1.1" 500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/clinic/css/colorbuttons.css?dev=82846267
HTTP/1.1" 500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/search.js?dev=82846267 HTTP/1.1"
500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/jquery-ui/jquery-ui.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:44,632 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/appointment.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/appointment.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:44,697 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/jquery-ui/jquery-ui.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/jquery-ui/jquery-ui.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:44,849 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/search.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/search.js?dev=82846267 HTTP/1.1"
500 27
2018-11-03 00:47:44,875 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/appointment.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/appointment.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:45,152 django.request ERROR Internal Server Error:
/appointments/static/clinic/icons/favicon.ico
[03/Nov/2018 00:47:45] "GET
/appointments/static/clinic/icons/favicon.ico HTTP/1.1" 500 27
Sincerely yours,
Joel G Mathew
a whole bunch of HTTP Error 500. Most of the css reources showed the
error. I have two apps in this project, and I've been sharing static
resources between these apps. Would these be the cause of these
errors?
See the following with DEBUG=True:
================================================
***@hp:~/myappointments$ python3 manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
November 03, 2018 - 00:46:23
Django version 2.1.2, using settings 'myappointments.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
In livelist for clinic: joelent
Checking for membership
In HasMembership function.
In IsMemberof function.. Got arguments: cliniclabel:joelent username:joel
permobj.viewperms: 1
Verified that ... is a member of joelent
Username is ...
Showhelp for Joel G Mathew is False
[03/Nov/2018 00:46:27] "GET /clinic/joelent/live HTTP/1.1" 200 19802
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/css/calcustomcolors.css?dev=82444302
HTTP/1.1" 200 246
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/css/mytheme.css?dev=82444302
HTTP/1.1" 200 884
[03/Nov/2018 00:46:27] "GET
/appointments/static/clinic/css/colorbuttons.css?dev=82444302
HTTP/1.1" 200 3596
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/js/search.js?dev=82444302 HTTP/1.1"
200 6554
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/js/jquery-ui/jquery-ui.js?dev=82444302
HTTP/1.1" 200 520714
[03/Nov/2018 00:46:27] "GET
/appointments/static/appointments/js/appointment.js?dev=82444302
HTTP/1.1" 200 17716
[03/Nov/2018 00:46:27] "GET
/appointments/static/clinic/icons/favicon.ico HTTP/1.1" 200 311737
================================================
And now with DEBUG = False:
python3 manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
November 03, 2018 - 00:47:39
Django version 2.1.2, using settings 'myappointments.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
In livelist for clinic: joelent
Checking for membership
In HasMembership function.
In IsMemberof function.. Got arguments: cliniclabel:joelent username:joel
permobj.viewperms: 1
Verified that ... is a member of joelent
Username is ....
Showhelp for Joel G Mathew is False
[03/Nov/2018 00:47:44] "GET /clinic/joelent/live HTTP/1.1" 200 19802
2018-11-03 00:47:44,523 django.request ERROR Internal Server Error:
/appointments/static/clinic/css/colorbuttons.css
2018-11-03 00:47:44,525 django.request ERROR Internal Server Error:
/appointments/static/appointments/css/calcustomcolors.css
2018-11-03 00:47:44,532 django.request ERROR Internal Server Error:
/appointments/static/appointments/css/mytheme.css
2018-11-03 00:47:44,562 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/jquery-ui/jquery-ui.js
2018-11-03 00:47:44,567 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/search.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/css/mytheme.css?dev=82846267
HTTP/1.1" 500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/css/calcustomcolors.css?dev=82846267
HTTP/1.1" 500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/clinic/css/colorbuttons.css?dev=82846267
HTTP/1.1" 500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/search.js?dev=82846267 HTTP/1.1"
500 27
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/jquery-ui/jquery-ui.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:44,632 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/appointment.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/appointment.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:44,697 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/jquery-ui/jquery-ui.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/jquery-ui/jquery-ui.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:44,849 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/search.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/search.js?dev=82846267 HTTP/1.1"
500 27
2018-11-03 00:47:44,875 django.request ERROR Internal Server Error:
/appointments/static/appointments/js/appointment.js
[03/Nov/2018 00:47:44] "GET
/appointments/static/appointments/js/appointment.js?dev=82846267
HTTP/1.1" 500 27
2018-11-03 00:47:45,152 django.request ERROR Internal Server Error:
/appointments/static/clinic/icons/favicon.ico
[03/Nov/2018 00:47:45] "GET
/appointments/static/clinic/icons/favicon.ico HTTP/1.1" 500 27
Sincerely yours,
Joel G Mathew
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_-MbkumM6MT4vzNjmT3CTRgfO4krqY%3D%2BQWBx%2BiG-VL_Xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_-MbkumM6MT4vzNjmT3CTRgfO4krqY%3D%2BQWBx%2BiG-VL_Xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.