Forums

need help install this app in python everywhere

https://github.com/Rjtsahu/School-Bus-Tracking

please check this and tell me how I can install this app on pythoneverywhere

I have tried this up to pip install -r requirements.txt is okay

next don't know how to create config for this one please help me by giving instructions.

It looks like that's a Flask app, so the easiest way to get it running would be to create a new Flask app from the "Web" page, then to edit the WSGI file (there will be a link to that on the "Web" page once you've set up your app) to point to the Flask app created by the code.

So, for example, the default WSGI file for Flask will look like this:

import sys

# add your project directory to the sys.path
project_home = u'/home/venkateshgajula/mysite'
if project_home not in sys.path:
    sys.path = [project_home] + sys.path

# import flask app but need to call it "application" for WSGI to work
from flask_app import app as application  # noqa

The Flask app in that repository is in School-Bus-Tracking/BusTrack/__init__.py, so if you've git cloned it into /home/venkateshgajula/School-Bus-Tracking, you'd change

project_home = u'/home/venkateshgajula/mysite'

...to this:

project_home = u'/home/venkateshgajula/School-Bus-Tracking'

...and then change this:

from flask_app import app as application  # noqa

...to this:

from BusTrack import app as application  # noqa

Once you've done that, reload the website (using the button on the "Web" page) and the site will start up. If you get any errors, check the error log (also linked from the "Web" page) -- the most recent error will be at the bottom.

I have done as you told me here is logs its not working

ACESSS LOG

54.243.221.225 - - [20/Aug/2018:21:28:38 +0000] "GET / HTTP/1.1" 302 5 "-" "python-requests/2.18.4" "54.243.221.225" response-time=5.112
157.48.242.242 - - [20/Aug/2018:21:28:56 +0000] "GET / HTTP/1.1" 200 17 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "157.48.242.242" response-time=0.004
157.48.242.242 - - [20/Aug/2018:21:28:57 +0000] "GET /favicon.ico HTTP/1.1" 404 233 "http://venkateshgajula.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "157.48.242.242" response-time=0.013
54.243.221.225 - - [20/Aug/2018:21:38:46 +0000] "GET / HTTP/1.1" 302 5 "-" "python-requests/2.18.4" "54.243.221.225" response-time=4.384
54.225.225.112 - - [20/Aug/2018:21:38:57 +0000] "GET / HTTP/1.1" 200 17 "-" "python-requests/2.18.4" "54.225.225.112" response-time=0.003
157.48.242.242 - - [20/Aug/2018:21:39:02 +0000] "GET / HTTP/1.1" 200 17 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "157.48.242.242" response-time=0.001
54.225.225.112 - - [20/Aug/2018:21:50:52 +0000] "GET / HTTP/1.1" 500 1236 "-" "python-requests/2.18.4" "54.225.225.112" response-time=0.008
157.48.242.242 - - [20/Aug/2018:21:50:56 +0000] "GET / HTTP/1.1" 500 1236 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "157.48.242.242" response-time=0.003
54.243.221.225 - - [22/Aug/2018:11:32:25 +0000] "GET / HTTP/1.1" 302 5 "-" "python-requests/2.19.1" "54.243.221.225" response-time=5.843
50.17.220.95 - - [22/Aug/2018:11:46:38 +0000] "GET / HTTP/1.1" 404 233 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.021
45.125.116.38 - - [22/Aug/2018:11:46:52 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.018
50.17.220.95 - - [22/Aug/2018:11:46:53 +0000] "GET / HTTP/1.1" 404 233 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.001
45.125.116.38 - - [22/Aug/2018:11:46:56 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.001
45.125.116.38 - - [22/Aug/2018:11:50:27 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.002
50.17.220.95 - - [22/Aug/2018:11:54:02 +0000] "GET / HTTP/1.1" 404 233 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.015
45.125.116.38 - - [22/Aug/2018:11:54:08 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.001
45.125.116.38 - - [22/Aug/2018:11:54:10 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.001
50.17.220.95 - - [22/Aug/2018:11:57:11 +0000] "GET / HTTP/1.1" 404 233 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.013
45.125.116.38 - - [22/Aug/2018:11:57:15 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.001
45.125.116.38 - - [22/Aug/2018:11:57:21 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.003
45.125.116.38 - - [22/Aug/2018:11:57:24 +0000] "GET /api HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.001
45.125.116.38 - - [22/Aug/2018:11:57:31 +0000] "GET /api HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.001
45.125.116.38 - - [22/Aug/2018:11:57:32 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.002
50.17.220.95 - - [22/Aug/2018:11:59:55 +0000] "GET / HTTP/1.1" 500 1236 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.006
45.125.116.38 - - [22/Aug/2018:12:00:02 +0000] "GET / HTTP/1.1" 500 1236 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.002
45.125.116.38 - - [22/Aug/2018:12:00:16 +0000] "GET / HTTP/1.1" 500 1236 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.002
45.125.116.38 - - [22/Aug/2018:12:00:52 +0000] "GET / HTTP/1.1" 500 1236 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.003
50.17.220.95 - - [22/Aug/2018:12:03:24 +0000] "GET / HTTP/1.1" 404 233 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.016
45.125.116.38 - - [22/Aug/2018:12:03:33 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.014
50.17.220.95 - - [22/Aug/2018:12:11:48 +0000] "GET / HTTP/1.1" 404 233 "-" "python-requests/2.19.1" "50.17.220.95" response-time=0.028
45.125.116.38 - - [22/Aug/2018:12:11:53 +0000] "GET / HTTP/1.1" 404 233 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6" "45.125.116.38" response-time=0.002

ERROR LOGS

2018-08-20 21:50:52,637: Error running WSGI application
2018-08-20 21:50:52,642: FileNotFoundError: [Errno 2] Unable to load configuration file (No such file or directory): '/home/venkateshgajula/School-Bus-Tracking/instance/config.py'
2018-08-20 21:50:52,642:   File "/var/www/venkateshgajula_pythonanywhere_com_wsgi.py", line 16, in <module>
2018-08-20 21:50:52,642:     from run import app as application  # noqa
2018-08-20 21:50:52,642: 
2018-08-20 21:50:52,642:   File "/home/venkateshgajula/School-Bus-Tracking/run.py", line 5, in <module>
2018-08-20 21:50:52,642:     app.config.from_pyfile('config.py')
2018-08-20 21:50:52,643: 
2018-08-20 21:50:52,643:   File "/usr/local/lib/python3.6/dist-packages/flask/config.py", line 129, in from_pyfile
2018-08-20 21:50:52,643:     with open(filename) as config_file:
2018-08-20 21:50:52,643: ***************************************************
2018-08-20 21:50:52,643: If you're seeing an import error and don't know why,
2018-08-20 21:50:52,643: we have a dedicated help page to help you debug: 
2018-08-20 21:50:52,643: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-08-20 21:50:52,643: ***************************************************
2018-08-20 21:50:56,061: Error running WSGI application
2018-08-20 21:50:56,062: FileNotFoundError: [Errno 2] Unable to load configuration file (No such file or directory): '/home/venkateshgajula/School-Bus-Tracking/instance/config.py'
2018-08-20 21:50:56,062:   File "/var/www/venkateshgajula_pythonanywhere_com_wsgi.py", line 16, in <module>
2018-08-20 21:50:56,062:     from run import app as application  # noqa
2018-08-20 21:50:56,062: 
2018-08-20 21:50:56,062:   File "/home/venkateshgajula/School-Bus-Tracking/run.py", line 5, in <module>
2018-08-20 21:50:56,063:     app.config.from_pyfile('config.py')
2018-08-20 21:50:56,063: 
2018-08-20 21:50:56,063:   File "/usr/local/lib/python3.6/dist-packages/flask/config.py", line 129, in from_pyfile
2018-08-20 21:50:56,063:     with open(filename) as config_file:
2018-08-20 21:50:56,063: ***************************************************
2018-08-20 21:50:56,063: If you're seeing an import error and don't know why,
2018-08-20 21:50:56,063: we have a dedicated help page to help you debug: 
2018-08-20 21:50:56,063: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-08-20 21:50:56,064: ***************************************************
2018-08-22 11:59:55,760: Error running WSGI application
2018-08-22 11:59:55,763: NameError: name 'app' is not defined
2018-08-22 11:59:55,764:   File "/var/www/venkateshgajula_pythonanywhere_com_wsgi.py", line 18, in <module>
2018-08-22 11:59:55,764:     app.config.from_object('config')
2018-08-22 11:59:55,764: ***************************************************
2018-08-22 11:59:55,764: If you're seeing an import error and don't know why,
2018-08-22 11:59:55,764: we have a dedicated help page to help you debug: 
2018-08-22 11:59:55,764: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-08-22 11:59:55,764: ***************************************************
2018-08-22 12:00:02,955: Error running WSGI application
2018-08-22 12:00:02,955: NameError: name 'app' is not defined
2018-08-22 12:00:02,956:   File "/var/www/venkateshgajula_pythonanywhere_com_wsgi.py", line 18, in <module>
2018-08-22 12:00:02,956:     app.config.from_object('config')
2018-08-22 12:00:02,956: ***************************************************
2018-08-22 12:00:02,956: If you're seeing an import error and don't know why,
2018-08-22 12:00:02,956: we have a dedicated help page to help you debug: 
2018-08-22 12:00:02,956: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-08-22 12:00:02,956: ***************************************************
2018-08-22 12:00:16,602: Error running WSGI application
2018-08-22 12:00:16,603: NameError: name 'app' is not defined
2018-08-22 12:00:16,603:   File "/var/www/venkateshgajula_pythonanywhere_com_wsgi.py", line 18, in <module>
2018-08-22 12:00:16,603:     app.config.from_object('config')
2018-08-22 12:00:16,603: ***************************************************
2018-08-22 12:00:16,603: If you're seeing an import error and don't know why,
2018-08-22 12:00:16,603: we have a dedicated help page to help you debug: 
2018-08-22 12:00:16,603: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-08-22 12:00:16,603: ***************************************************
2018-08-22 12:00:52,364: Error running WSGI application
2018-08-22 12:00:52,364: NameError: name 'app' is not defined
2018-08-22 12:00:52,365:   File "/var/www/venkateshgajula_pythonanywhere_com_wsgi.py", line 18, in <module>
2018-08-22 12:00:52,365:     app.config.from_object('config')
2018-08-22 12:00:52,365: ***************************************************
2018-08-22 12:00:52,365: If you're seeing an import error and don't know why,
2018-08-22 12:00:52,365: we have a dedicated help page to help you debug: 
2018-08-22 12:00:52,365: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-08-22 12:00:52,365: ***************************************************

SERVER LOG

2018-08-20 21:28:35 *** Starting uWSGI 2.0.14 (64bit) on [Mon Aug 20 21:28:34 2018] ***
2018-08-20 21:28:35 compiled with version: 5.4.0 20160609 on 11 May 2018 17:12:17
2018-08-20 21:28:35 os: Linux-4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018
2018-08-20 21:28:35 nodename: giles-liveweb6
2018-08-20 21:28:35 machine: x86_64
2018-08-20 21:28:35 clock source: unix
2018-08-20 21:28:35 pcre jit disabled
2018-08-20 21:28:35 detected number of CPU cores: 2
2018-08-20 21:28:35 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-20 21:28:35 detected binary path: /usr/local/bin/uwsgi
2018-08-20 21:28:35 *** dumping internal routing table ***
2018-08-20 21:28:35 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-20 21:28:35 *** end of the internal routing table ***
2018-08-20 21:28:35 chdir() to /home/venkateshgajula/
2018-08-20 21:28:35 limiting number of processes to 15...
2018-08-20 21:28:35 your processes number limit is 15
2018-08-20 21:28:35 your memory page size is 4096 bytes
2018-08-20 21:28:35 detected max file descriptor number: 123456
2018-08-20 21:28:35 building mime-types dictionary from file /etc/mime.types...
2018-08-20 21:28:35 536 entry found
2018-08-20 21:28:35 lock engine: pthread robust mutexes
2018-08-20 21:28:35 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-20 21:28:35 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-20 21:28:35 Python version: 3.5.2 (default, Jul 17 2016, 00:00:00)  [GCC 4.8.4]
2018-08-20 21:28:35 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-20 21:28:35 Python main interpreter initialized at 0x1323670
2018-08-20 21:28:35 your server socket listen backlog is limited to 100 connections
2018-08-20 21:28:35 your mercy for graceful operations on workers is 60 seconds
2018-08-20 21:28:35 setting request body buffering size to 65536 bytes
2018-08-20 21:28:35 mapped 333952 bytes (326 KB) for 1 cores
2018-08-20 21:28:35 *** Operational MODE: single process ***
2018-08-20 21:28:35 initialized 35 metrics
2018-08-20 21:28:35 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1323670 pid: 1 (default app)
2018-08-20 21:28:35 *** uWSGI is running in multiple interpreter mode ***
2018-08-20 21:28:35 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-20 21:28:35 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-20 21:28:35 metrics collector thread started
2018-08-20 21:28:35 spawned 2 offload threads for uWSGI worker 1
2018-08-20 21:28:56 announcing my loyalty to the Emperor...
2018-08-20 21:34:14 Mon Aug 20 21:34:14 2018 - *** /etc/uwsgi/venkateshgajula.pythonanywhere.com.ini has been touched... grace them all !!! ***
2018-08-20 21:34:14 ...gracefully killing workers...
2018-08-20 21:34:14 Gracefully killing worker 1 (pid: 3)...
2018-08-20 21:34:14 Mon Aug 20 21:34:14 2018 - received message 0 from emperor
2018-08-20 21:34:14 SIGINT/SIGQUIT received...killing workers...
2018-08-20 21:34:14 worker 1 buried after 0 seconds
2018-08-20 21:34:14 goodbye to uWSGI.
2018-08-20 21:34:14 chdir(): No such file or directory [core/uwsgi.c line 1590]
2018-08-20 21:34:14 VACUUM: unix socket /var/sockets/venkateshgajula.pythonanywhere.com/socket removed.
2018-08-20 21:38:43 *** Starting uWSGI 2.0.14 (64bit) on [Mon Aug 20 21:38:42 2018] ***
2018-08-20 21:38:43 compiled with version: 5.4.0 20160609 on 11 May 2018 17:12:17
2018-08-20 21:38:43 os: Linux-4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018
2018-08-20 21:38:43 nodename: giles-liveweb6
2018-08-20 21:38:43 machine: x86_64
2018-08-20 21:38:43 clock source: unix
2018-08-20 21:38:43 pcre jit disabled
2018-08-20 21:38:43 detected number of CPU cores: 2
2018-08-20 21:38:43 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-20 21:38:43 detected binary path: /usr/local/bin/uwsgi
2018-08-20 21:38:43 *** dumping internal routing table ***
2018-08-20 21:38:43 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-20 21:38:43 *** end of the internal routing table ***
2018-08-20 21:38:43 chdir() to /home/venkateshgajula/
2018-08-20 21:38:43 limiting number of processes to 15...
2018-08-20 21:38:43 your processes number limit is 15
2018-08-20 21:38:43 your memory page size is 4096 bytes
2018-08-20 21:38:43 detected max file descriptor number: 123456
2018-08-20 21:38:43 building mime-types dictionary from file /etc/mime.types...
2018-08-20 21:38:43 536 entry found
2018-08-20 21:38:43 lock engine: pthread robust mutexes
2018-08-20 21:38:43 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-20 21:38:43 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-20 21:38:43 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-20 21:38:43 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-20 21:38:43 Python main interpreter initialized at 0x1470680
2018-08-20 21:38:43 your server socket listen backlog is limited to 100 connections
2018-08-20 21:38:43 your mercy for graceful operations on workers is 60 seconds
2018-08-20 21:38:43 setting request body buffering size to 65536 bytes
2018-08-20 21:38:43 mapped 333952 bytes (326 KB) for 1 cores
2018-08-20 21:38:43 *** Operational MODE: single process ***
2018-08-20 21:38:43 initialized 35 metrics
2018-08-20 21:38:43 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1470680 pid: 1 (default app)
2018-08-20 21:38:43 *** uWSGI is running in multiple interpreter mode ***
2018-08-20 21:38:43 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-20 21:38:43 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-20 21:38:43 metrics collector thread started
2018-08-20 21:38:43 spawned 2 offload threads for uWSGI worker 1
2018-08-20 21:38:52 Mon Aug 20 21:38:52 2018 - received message 1 from emperor
2018-08-20 21:38:52 ...gracefully killing workers...
2018-08-20 21:38:52 Gracefully killing worker 1 (pid: 3)...
2018-08-20 21:38:55 *** Starting uWSGI 2.0.14 (64bit) on [Mon Aug 20 21:38:54 2018] ***
2018-08-20 21:38:55 compiled with version: 5.4.0 20160609 on 11 May 2018 17:12:17
2018-08-20 21:38:55 os: Linux-4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018
2018-08-20 21:38:55 nodename: giles-liveweb6
2018-08-20 21:38:55 machine: x86_64
2018-08-20 21:38:55 clock source: unix
2018-08-20 21:38:55 pcre jit disabled
2018-08-20 21:38:55 detected number of CPU cores: 2
2018-08-20 21:38:55 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-20 21:38:55 detected binary path: /usr/local/bin/uwsgi
2018-08-20 21:38:55 *** dumping internal routing table ***
2018-08-20 21:38:55 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-20 21:38:55 *** end of the internal routing table ***
2018-08-20 21:38:55 chdir() to /home/venkateshgajula/
2018-08-20 21:38:55 limiting number of processes to 15...
2018-08-20 21:38:55 your processes number limit is 15
2018-08-20 21:38:55 your memory page size is 4096 bytes
2018-08-20 21:38:55 detected max file descriptor number: 123456
2018-08-20 21:38:55 building mime-types dictionary from file /etc/mime.types...
2018-08-20 21:38:55 536 entry found
2018-08-20 21:38:55 lock engine: pthread robust mutexes
2018-08-20 21:38:55 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-20 21:38:55 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-20 21:38:55 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-20 21:38:55 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-20 21:38:55 Python main interpreter initialized at 0x1324680
2018-08-20 21:38:55 your server socket listen backlog is limited to 100 connections
2018-08-20 21:38:55 your mercy for graceful operations on workers is 60 seconds
2018-08-20 21:38:55 setting request body buffering size to 65536 bytes
2018-08-20 21:38:55 mapped 333952 bytes (326 KB) for 1 cores
2018-08-20 21:38:55 *** Operational MODE: single process ***
2018-08-20 21:38:55 initialized 35 metrics
2018-08-20 21:38:55 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1324680 pid: 1 (default app)
2018-08-20 21:38:55 *** uWSGI is running in multiple interpreter mode ***
2018-08-20 21:38:55 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-20 21:38:55 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-20 21:38:55 metrics collector thread started
2018-08-20 21:38:55 spawned 2 offload threads for uWSGI worker 1
2018-08-20 21:38:57 announcing my loyalty to the Emperor...
2018-08-20 21:50:48 Mon Aug 20 21:50:48 2018 - received message 1 from emperor
2018-08-20 21:50:48 ...gracefully killing workers...
2018-08-20 21:50:48 Gracefully killing worker 1 (pid: 3)...
2018-08-20 21:50:50 *** Starting uWSGI 2.0.14 (64bit) on [Mon Aug 20 21:50:49 2018] ***
2018-08-20 21:50:50 compiled with version: 5.4.0 20160609 on 11 May 2018 17:12:17
2018-08-20 21:50:50 os: Linux-4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018
2018-08-20 21:50:50 nodename: giles-liveweb6
2018-08-20 21:50:50 machine: x86_64
2018-08-20 21:50:50 clock source: unix
2018-08-20 21:50:50 pcre jit disabled
2018-08-20 21:50:50 detected number of CPU cores: 2
2018-08-20 21:50:50 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-20 21:50:50 detected binary path: /usr/local/bin/uwsgi
2018-08-20 21:50:50 *** dumping internal routing table ***
2018-08-20 21:50:50 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-20 21:50:50 *** end of the internal routing table ***
2018-08-20 21:50:50 chdir() to /home/venkateshgajula/
2018-08-20 21:50:50 limiting number of processes to 15...
2018-08-20 21:50:50 your processes number limit is 15
2018-08-20 21:50:50 your memory page size is 4096 bytes
2018-08-20 21:50:50 detected max file descriptor number: 123456
2018-08-20 21:50:50 building mime-types dictionary from file /etc/mime.types...
2018-08-20 21:50:50 536 entry found
2018-08-20 21:50:50 lock engine: pthread robust mutexes
2018-08-20 21:50:50 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-20 21:50:50 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-20 21:50:50 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-20 21:50:50 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-20 21:50:50 Python main interpreter initialized at 0x1484680
2018-08-20 21:50:50 your server socket listen backlog is limited to 100 connections
2018-08-20 21:50:50 your mercy for graceful operations on workers is 60 seconds
2018-08-20 21:50:50 setting request body buffering size to 65536 bytes
2018-08-20 21:50:50 mapped 333952 bytes (326 KB) for 1 cores
2018-08-20 21:50:50 *** Operational MODE: single process ***
2018-08-20 21:50:50 initialized 35 metrics
2018-08-20 21:50:50 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1484680 pid: 1 (default app)
2018-08-20 21:50:50 *** uWSGI is running in multiple interpreter mode ***
2018-08-20 21:50:50 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-20 21:50:50 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-20 21:50:50 metrics collector thread started
2018-08-20 21:50:50 spawned 2 offload threads for uWSGI worker 1
2018-08-20 21:50:52 announcing my loyalty to the Emperor...
2018-08-21 06:00:36 ...brutally killing workers...
2018-08-22 11:32:21 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:32:21 2018] ***
2018-08-22 11:32:21 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:32:21 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:32:21 nodename: conrad-liveweb5
2018-08-22 11:32:21 machine: x86_64
2018-08-22 11:32:21 clock source: unix
2018-08-22 11:32:21 pcre jit disabled
2018-08-22 11:32:21 detected number of CPU cores: 2
2018-08-22 11:32:21 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:32:21 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:32:21 *** dumping internal routing table ***
2018-08-22 11:32:21 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:32:21 *** end of the internal routing table ***
2018-08-22 11:32:21 chdir() to /home/venkateshgajula/
2018-08-22 11:32:21 limiting number of processes to 15...
2018-08-22 11:32:21 your processes number limit is 15
2018-08-22 11:32:21 your memory page size is 4096 bytes
2018-08-22 11:32:21 detected max file descriptor number: 123456
2018-08-22 11:32:21 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:32:21 536 entry found
2018-08-22 11:32:21 lock engine: pthread robust mutexes
2018-08-22 11:32:21 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:32:21 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:32:21 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:32:21 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:32:21 Python main interpreter initialized at 0x25359f0
2018-08-22 11:32:21 your server socket listen backlog is limited to 100 connections
2018-08-22 11:32:21 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:32:21 setting request body buffering size to 65536 bytes
2018-08-22 11:32:21 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:32:21 *** Operational MODE: single process ***
2018-08-22 11:32:21 initialized 38 metrics
2018-08-22 11:32:21 WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x25359f0 pid: 1 (default app)
2018-08-22 11:32:21 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:32:21 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:32:21 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:32:21 metrics collector thread started
2018-08-22 11:32:21 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:45:08 Wed Aug 22 11:45:08 2018 - *** /var/www/venkateshgajula_pythonanywhere_com_wsgi.py has been touched... grace them all !!! ***
2018-08-22 11:45:08 ...gracefully killing workers...
2018-08-22 11:45:08 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:45:13 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:45:12 2018] ***
2018-08-22 11:45:13 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:45:13 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:45:13 nodename: conrad-liveweb5
2018-08-22 11:45:13 machine: x86_64
2018-08-22 11:45:13 clock source: unix
2018-08-22 11:45:13 pcre jit disabled
2018-08-22 11:45:13 detected number of CPU cores: 2
2018-08-22 11:45:13 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:45:13 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:45:13 *** dumping internal routing table ***
2018-08-22 11:45:13 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:45:13 *** end of the internal routing table ***
2018-08-22 11:45:13 chdir() to /home/venkateshgajula/
2018-08-22 11:45:13 limiting number of processes to 15...
2018-08-22 11:45:13 your processes number limit is 15
2018-08-22 11:45:13 your memory page size is 4096 bytes
2018-08-22 11:45:13 detected max file descriptor number: 123456
2018-08-22 11:45:13 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:45:13 536 entry found
2018-08-22 11:45:13 lock engine: pthread robust mutexes
2018-08-22 11:45:13 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:45:13 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:45:13 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:45:13 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:45:13 Python main interpreter initialized at 0x164f9f0
2018-08-22 11:45:13 your server socket listen backlog is limited to 100 connections
2018-08-22 11:45:13 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:45:13 setting request body buffering size to 65536 bytes
2018-08-22 11:45:13 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:45:13 *** Operational MODE: single process ***
2018-08-22 11:45:13 initialized 38 metrics
2018-08-22 11:45:13 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x164f9f0 pid: 1 (default app)
2018-08-22 11:45:13 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:45:13 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:45:13 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:45:13 metrics collector thread started
2018-08-22 11:45:13 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:46:30 Wed Aug 22 11:46:30 2018 - received message 1 from emperor
2018-08-22 11:46:30 ...gracefully killing workers...
2018-08-22 11:46:30 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:46:34 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:46:34 2018] ***
2018-08-22 11:46:34 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:46:34 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:46:34 nodename: conrad-liveweb5
2018-08-22 11:46:34 machine: x86_64
2018-08-22 11:46:34 clock source: unix
2018-08-22 11:46:34 pcre jit disabled
2018-08-22 11:46:34 detected number of CPU cores: 2
2018-08-22 11:46:34 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:46:34 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:46:34 *** dumping internal routing table ***
2018-08-22 11:46:34 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:46:34 *** end of the internal routing table ***
2018-08-22 11:46:34 chdir() to /home/venkateshgajula/
2018-08-22 11:46:34 limiting number of processes to 15...
2018-08-22 11:46:34 your processes number limit is 15
2018-08-22 11:46:34 your memory page size is 4096 bytes
2018-08-22 11:46:34 detected max file descriptor number: 123456
2018-08-22 11:46:34 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:46:34 536 entry found
2018-08-22 11:46:34 lock engine: pthread robust mutexes
2018-08-22 11:46:34 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:46:34 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:46:34 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:46:34 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:46:34 Python main interpreter initialized at 0x20cd9f0
2018-08-22 11:46:34 your server socket listen backlog is limited to 100 connections
2018-08-22 11:46:34 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:46:34 setting request body buffering size to 65536 bytes
2018-08-22 11:46:34 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:46:34 *** Operational MODE: single process ***
2018-08-22 11:46:34 initialized 38 metrics
2018-08-22 11:46:34 WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x20cd9f0 pid: 1 (default app)
2018-08-22 11:46:34 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:46:34 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:46:34 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:46:34 metrics collector thread started
2018-08-22 11:46:34 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:46:38 announcing my loyalty to the Emperor...
2018-08-22 11:46:49 Wed Aug 22 11:46:49 2018 - received message 1 from emperor
2018-08-22 11:46:49 ...gracefully killing workers...
2018-08-22 11:46:49 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:46:51 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:46:50 2018] ***
2018-08-22 11:46:51 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:46:51 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:46:51 nodename: conrad-liveweb5
2018-08-22 11:46:51 machine: x86_64
2018-08-22 11:46:51 clock source: unix
2018-08-22 11:46:51 pcre jit disabled
2018-08-22 11:46:51 detected number of CPU cores: 2
2018-08-22 11:46:51 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:46:51 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:46:51 *** dumping internal routing table ***
2018-08-22 11:46:51 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:46:51 *** end of the internal routing table ***
2018-08-22 11:46:51 chdir() to /home/venkateshgajula/
2018-08-22 11:46:51 limiting number of processes to 15...
2018-08-22 11:46:51 your processes number limit is 15
2018-08-22 11:46:51 your memory page size is 4096 bytes
2018-08-22 11:46:51 detected max file descriptor number: 123456
2018-08-22 11:46:51 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:46:51 536 entry found
2018-08-22 11:46:51 lock engine: pthread robust mutexes
2018-08-22 11:46:51 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:46:51 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:46:51 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:46:51 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:46:51 Python main interpreter initialized at 0x122f9f0
2018-08-22 11:46:51 your server socket listen backlog is limited to 100 connections
2018-08-22 11:46:51 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:46:51 setting request body buffering size to 65536 bytes
2018-08-22 11:46:51 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:46:51 *** Operational MODE: single process ***
2018-08-22 11:46:51 initialized 38 metrics
2018-08-22 11:46:51 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x122f9f0 pid: 1 (default app)
2018-08-22 11:46:51 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:46:51 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:46:51 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:46:51 metrics collector thread started
2018-08-22 11:46:51 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:46:52 announcing my loyalty to the Emperor...
2018-08-22 11:51:28 Wed Aug 22 11:51:28 2018 - *** /var/www/venkateshgajula_pythonanywhere_com_wsgi.py has been touched... grace them all !!! ***
2018-08-22 11:51:28 ...gracefully killing workers...
2018-08-22 11:51:28 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:51:30 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:51:29 2018] ***
2018-08-22 11:51:30 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:51:30 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:51:30 nodename: conrad-liveweb5
2018-08-22 11:51:30 machine: x86_64
2018-08-22 11:51:30 clock source: unix
2018-08-22 11:51:30 pcre jit disabled
2018-08-22 11:51:30 detected number of CPU cores: 2
2018-08-22 11:51:30 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:51:30 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:51:30 *** dumping internal routing table ***
2018-08-22 11:51:30 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:51:30 *** end of the internal routing table ***
2018-08-22 11:51:30 chdir() to /home/venkateshgajula/
2018-08-22 11:51:30 limiting number of processes to 15...
2018-08-22 11:51:30 your processes number limit is 15
2018-08-22 11:51:30 your memory page size is 4096 bytes
2018-08-22 11:51:30 detected max file descriptor number: 123456
2018-08-22 11:51:30 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:51:30 536 entry found
2018-08-22 11:51:30 lock engine: pthread robust mutexes
2018-08-22 11:51:30 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:51:30 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:51:30 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:51:30 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:51:30 Python main interpreter initialized at 0x1a3e9f0
2018-08-22 11:51:30 your server socket listen backlog is limited to 100 connections
2018-08-22 11:51:30 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:51:30 setting request body buffering size to 65536 bytes
2018-08-22 11:51:30 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:51:30 *** Operational MODE: single process ***
2018-08-22 11:51:30 initialized 38 metrics
2018-08-22 11:51:30 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1a3e9f0 pid: 1 (default app)
2018-08-22 11:51:30 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:51:30 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:51:30 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:51:30 metrics collector thread started
2018-08-22 11:51:30 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:53:00 Wed Aug 22 11:53:00 2018 - *** /var/www/venkateshgajula_pythonanywhere_com_wsgi.py has been touched... grace them all !!! ***
2018-08-22 11:53:00 ...gracefully killing workers...
2018-08-22 11:53:00 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:53:05 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:53:04 2018] ***
2018-08-22 11:53:05 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:53:05 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:53:05 nodename: conrad-liveweb5
2018-08-22 11:53:05 machine: x86_64
2018-08-22 11:53:05 clock source: unix
2018-08-22 11:53:05 pcre jit disabled
2018-08-22 11:53:05 detected number of CPU cores: 2
2018-08-22 11:53:05 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:53:05 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:53:05 *** dumping internal routing table ***
2018-08-22 11:53:05 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:53:05 *** end of the internal routing table ***
2018-08-22 11:53:05 chdir() to /home/venkateshgajula/
2018-08-22 11:53:05 limiting number of processes to 15...
2018-08-22 11:53:05 your processes number limit is 15
2018-08-22 11:53:05 your memory page size is 4096 bytes
2018-08-22 11:53:05 detected max file descriptor number: 123456
2018-08-22 11:53:05 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:53:05 536 entry found
2018-08-22 11:53:05 lock engine: pthread robust mutexes
2018-08-22 11:53:05 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:53:05 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:53:05 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:53:05 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:53:05 Python main interpreter initialized at 0x23e69f0
2018-08-22 11:53:05 your server socket listen backlog is limited to 100 connections
2018-08-22 11:53:05 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:53:05 setting request body buffering size to 65536 bytes
2018-08-22 11:53:05 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:53:05 *** Operational MODE: single process ***
2018-08-22 11:53:05 initialized 38 metrics
2018-08-22 11:53:05 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x23e69f0 pid: 1 (default app)
2018-08-22 11:53:05 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:53:05 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:53:05 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:53:05 metrics collector thread started
2018-08-22 11:53:05 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:53:58 Wed Aug 22 11:53:58 2018 - *** /etc/uwsgi/venkateshgajula.pythonanywhere.com.ini has been touched... grace them all !!! ***
2018-08-22 11:53:58 ...gracefully killing workers...
2018-08-22 11:53:58 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:54:02 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:54:01 2018] ***
2018-08-22 11:54:02 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:54:02 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:54:02 nodename: conrad-liveweb5
2018-08-22 11:54:02 machine: x86_64
2018-08-22 11:54:02 clock source: unix
2018-08-22 11:54:02 pcre jit disabled
2018-08-22 11:54:02 detected number of CPU cores: 2
2018-08-22 11:54:02 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:54:02 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:54:02 *** dumping internal routing table ***
2018-08-22 11:54:02 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:54:02 *** end of the internal routing table ***
2018-08-22 11:54:02 chdir() to /home/venkateshgajula/
2018-08-22 11:54:02 limiting number of processes to 15...
2018-08-22 11:54:02 your processes number limit is 15
2018-08-22 11:54:02 your memory page size is 4096 bytes
2018-08-22 11:54:02 detected max file descriptor number: 123456
2018-08-22 11:54:02 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:54:02 536 entry found
2018-08-22 11:54:02 lock engine: pthread robust mutexes
2018-08-22 11:54:02 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:54:02 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:54:02 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:54:02 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:54:02 Python main interpreter initialized at 0x17a59f0
2018-08-22 11:54:02 your server socket listen backlog is limited to 100 connections
2018-08-22 11:54:02 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:54:02 setting request body buffering size to 65536 bytes
2018-08-22 11:54:02 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:54:02 *** Operational MODE: single process ***
2018-08-22 11:54:02 initialized 38 metrics
2018-08-22 11:54:02 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x17a59f0 pid: 1 (default app)
2018-08-22 11:54:02 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:54:02 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:54:02 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:54:02 metrics collector thread started
2018-08-22 11:54:02 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:54:02 announcing my loyalty to the Emperor...
2018-08-22 11:57:07 Wed Aug 22 11:57:07 2018 - *** /etc/uwsgi/venkateshgajula.pythonanywhere.com.ini has been touched... grace them all !!! ***
2018-08-22 11:57:07 ...gracefully killing workers...
2018-08-22 11:57:07 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:57:08 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:57:07 2018] ***
2018-08-22 11:57:08 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:57:08 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:57:08 nodename: conrad-liveweb5
2018-08-22 11:57:08 machine: x86_64
2018-08-22 11:57:08 clock source: unix
2018-08-22 11:57:08 pcre jit disabled
2018-08-22 11:57:08 detected number of CPU cores: 2
2018-08-22 11:57:08 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:57:08 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:57:08 *** dumping internal routing table ***
2018-08-22 11:57:08 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:57:08 *** end of the internal routing table ***
2018-08-22 11:57:08 chdir() to /home/venkateshgajula/
2018-08-22 11:57:08 limiting number of processes to 15...
2018-08-22 11:57:08 your processes number limit is 15
2018-08-22 11:57:08 your memory page size is 4096 bytes
2018-08-22 11:57:08 detected max file descriptor number: 123456
2018-08-22 11:57:08 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:57:08 536 entry found
2018-08-22 11:57:08 lock engine: pthread robust mutexes
2018-08-22 11:57:08 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:57:08 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:57:08 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:57:08 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:57:08 Python main interpreter initialized at 0x24e49f0
2018-08-22 11:57:08 your server socket listen backlog is limited to 100 connections
2018-08-22 11:57:08 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:57:08 setting request body buffering size to 65536 bytes
2018-08-22 11:57:08 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:57:08 *** Operational MODE: single process ***
2018-08-22 11:57:08 initialized 38 metrics
2018-08-22 11:57:08 WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x24e49f0 pid: 1 (default app)
2018-08-22 11:57:08 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:57:08 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:57:08 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:57:08 metrics collector thread started
2018-08-22 11:57:08 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:57:11 announcing my loyalty to the Emperor...
2018-08-22 11:59:42 Wed Aug 22 11:59:42 2018 - *** /var/www/venkateshgajula_pythonanywhere_com_wsgi.py has been touched... grace them all !!! ***
2018-08-22 11:59:42 ...gracefully killing workers...
2018-08-22 11:59:42 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:59:43 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:59:43 2018] ***
2018-08-22 11:59:43 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:59:43 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:59:43 nodename: conrad-liveweb5
2018-08-22 11:59:43 machine: x86_64
2018-08-22 11:59:43 clock source: unix
2018-08-22 11:59:43 pcre jit disabled
2018-08-22 11:59:43 detected number of CPU cores: 2
2018-08-22 11:59:43 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:59:43 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:59:43 *** dumping internal routing table ***
2018-08-22 11:59:43 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:59:43 *** end of the internal routing table ***
2018-08-22 11:59:43 chdir() to /home/venkateshgajula/
2018-08-22 11:59:43 limiting number of processes to 15...
2018-08-22 11:59:43 your processes number limit is 15
2018-08-22 11:59:43 your memory page size is 4096 bytes
2018-08-22 11:59:43 detected max file descriptor number: 123456
2018-08-22 11:59:43 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:59:43 536 entry found
2018-08-22 11:59:43 lock engine: pthread robust mutexes
2018-08-22 11:59:43 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:59:43 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:59:43 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:59:43 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:59:43 Python main interpreter initialized at 0x1d7b9f0
2018-08-22 11:59:43 your server socket listen backlog is limited to 100 connections
2018-08-22 11:59:43 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:59:43 setting request body buffering size to 65536 bytes
2018-08-22 11:59:43 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:59:43 *** Operational MODE: single process ***
2018-08-22 11:59:43 initialized 38 metrics
2018-08-22 11:59:43 WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x1d7b9f0 pid: 1 (default app)
2018-08-22 11:59:43 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:59:43 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:59:43 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:59:43 metrics collector thread started
2018-08-22 11:59:43 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:59:51 Wed Aug 22 11:59:51 2018 - received message 1 from emperor
2018-08-22 11:59:51 ...gracefully killing workers...
2018-08-22 11:59:51 Gracefully killing worker 1 (pid: 3)...
2018-08-22 11:59:53 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 11:59:53 2018] ***
2018-08-22 11:59:53 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 11:59:53 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 11:59:53 nodename: conrad-liveweb5
2018-08-22 11:59:53 machine: x86_64
2018-08-22 11:59:53 clock source: unix
2018-08-22 11:59:53 pcre jit disabled
2018-08-22 11:59:53 detected number of CPU cores: 2
2018-08-22 11:59:53 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 11:59:53 detected binary path: /usr/local/bin/uwsgi
2018-08-22 11:59:53 *** dumping internal routing table ***
2018-08-22 11:59:53 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 11:59:53 *** end of the internal routing table ***
2018-08-22 11:59:53 chdir() to /home/venkateshgajula/
2018-08-22 11:59:53 limiting number of processes to 15...
2018-08-22 11:59:53 your processes number limit is 15
2018-08-22 11:59:53 your memory page size is 4096 bytes
2018-08-22 11:59:53 detected max file descriptor number: 123456
2018-08-22 11:59:53 building mime-types dictionary from file /etc/mime.types...
2018-08-22 11:59:53 536 entry found
2018-08-22 11:59:53 lock engine: pthread robust mutexes
2018-08-22 11:59:53 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 11:59:53 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 11:59:53 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 11:59:53 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 11:59:53 Python main interpreter initialized at 0x257c9f0
2018-08-22 11:59:53 your server socket listen backlog is limited to 100 connections
2018-08-22 11:59:53 your mercy for graceful operations on workers is 60 seconds
2018-08-22 11:59:53 setting request body buffering size to 65536 bytes
2018-08-22 11:59:53 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 11:59:53 *** Operational MODE: single process ***
2018-08-22 11:59:53 initialized 38 metrics
2018-08-22 11:59:53 WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x257c9f0 pid: 1 (default app)
2018-08-22 11:59:53 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 11:59:53 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 11:59:53 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 11:59:53 metrics collector thread started
2018-08-22 11:59:53 spawned 2 offload threads for uWSGI worker 1
2018-08-22 11:59:55 announcing my loyalty to the Emperor...
2018-08-22 12:02:25 Wed Aug 22 12:02:25 2018 - *** /var/www/venkateshgajula_pythonanywhere_com_wsgi.py has been touched... grace them all !!! ***
2018-08-22 12:02:25 ...gracefully killing workers...
2018-08-22 12:02:25 Gracefully killing worker 1 (pid: 3)...
2018-08-22 12:02:28 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 12:02:27 2018] ***
2018-08-22 12:02:28 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 12:02:28 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 12:02:28 nodename: conrad-liveweb5
2018-08-22 12:02:28 machine: x86_64
2018-08-22 12:02:28 clock source: unix
2018-08-22 12:02:28 pcre jit disabled
2018-08-22 12:02:28 detected number of CPU cores: 2
2018-08-22 12:02:28 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 12:02:28 detected binary path: /usr/local/bin/uwsgi
2018-08-22 12:02:28 *** dumping internal routing table ***
2018-08-22 12:02:28 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 12:02:28 *** end of the internal routing table ***
2018-08-22 12:02:28 chdir() to /home/venkateshgajula/
2018-08-22 12:02:28 limiting number of processes to 15...
2018-08-22 12:02:28 your processes number limit is 15
2018-08-22 12:02:28 your memory page size is 4096 bytes
2018-08-22 12:02:28 detected max file descriptor number: 123456
2018-08-22 12:02:28 building mime-types dictionary from file /etc/mime.types...
2018-08-22 12:02:28 536 entry found
2018-08-22 12:02:28 lock engine: pthread robust mutexes
2018-08-22 12:02:28 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 12:02:28 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 12:02:28 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 12:02:28 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 12:02:28 Python main interpreter initialized at 0x1dae9f0
2018-08-22 12:02:28 your server socket listen backlog is limited to 100 connections
2018-08-22 12:02:28 your mercy for graceful operations on workers is 60 seconds
2018-08-22 12:02:28 setting request body buffering size to 65536 bytes
2018-08-22 12:02:28 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 12:02:28 *** Operational MODE: single process ***
2018-08-22 12:02:28 initialized 38 metrics
2018-08-22 12:02:28 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x1dae9f0 pid: 1 (default app)
2018-08-22 12:02:28 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 12:02:28 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 12:02:28 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 12:02:28 metrics collector thread started
2018-08-22 12:02:28 Wed Aug 22 12:02:28 2018 - received message 1 from emperor
2018-08-22 12:02:28 ...gracefully killing workers...
2018-08-22 12:02:28 spawned 2 offload threads for uWSGI worker 1
2018-08-22 12:03:24 announcing my loyalty to the Emperor...
2018-08-22 12:03:29 Wed Aug 22 12:03:29 2018 - worker 1 (pid: 3) is taking too much time to die...NO MERCY !!!
2018-08-22 12:03:31 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 12:03:30 2018] ***
2018-08-22 12:03:31 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 12:03:31 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 12:03:31 nodename: conrad-liveweb5
2018-08-22 12:03:31 machine: x86_64
2018-08-22 12:03:31 clock source: unix
2018-08-22 12:03:31 pcre jit disabled
2018-08-22 12:03:31 detected number of CPU cores: 2
2018-08-22 12:03:31 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 12:03:31 detected binary path: /usr/local/bin/uwsgi
2018-08-22 12:03:31 *** dumping internal routing table ***
2018-08-22 12:03:31 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 12:03:31 *** end of the internal routing table ***
2018-08-22 12:03:31 chdir() to /home/venkateshgajula/
2018-08-22 12:03:31 limiting number of processes to 15...
2018-08-22 12:03:31 your processes number limit is 15
2018-08-22 12:03:31 your memory page size is 4096 bytes
2018-08-22 12:03:31 detected max file descriptor number: 123456
2018-08-22 12:03:31 building mime-types dictionary from file /etc/mime.types...
2018-08-22 12:03:31 536 entry found
2018-08-22 12:03:31 lock engine: pthread robust mutexes
2018-08-22 12:03:31 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 12:03:31 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 12:03:31 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 12:03:31 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 12:03:31 Python main interpreter initialized at 0xaa49f0
2018-08-22 12:03:31 your server socket listen backlog is limited to 100 connections
2018-08-22 12:03:31 your mercy for graceful operations on workers is 60 seconds
2018-08-22 12:03:31 setting request body buffering size to 65536 bytes
2018-08-22 12:03:31 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 12:03:31 *** Operational MODE: single process ***
2018-08-22 12:03:31 initialized 38 metrics
2018-08-22 12:03:31 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0xaa49f0 pid: 1 (default app)
2018-08-22 12:03:31 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 12:03:31 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 12:03:31 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 12:03:31 metrics collector thread started
2018-08-22 12:03:31 spawned 2 offload threads for uWSGI worker 1
2018-08-22 12:03:33 announcing my loyalty to the Emperor...
2018-08-22 12:11:43 Wed Aug 22 12:11:43 2018 - received message 0 from emperor
2018-08-22 12:11:43 SIGINT/SIGQUIT received...killing workers...
2018-08-22 12:11:44 worker 1 buried after 1 seconds
2018-08-22 12:11:44 goodbye to uWSGI.
2018-08-22 12:11:44 chdir(): No such file or directory [core/uwsgi.c line 1610]
2018-08-22 12:11:44 VACUUM: unix socket /var/sockets/venkateshgajula.pythonanywhere.com/socket removed.
2018-08-22 12:11:45 *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Aug 22 12:11:44 2018] ***
2018-08-22 12:11:45 compiled with version: 5.4.0 20160609 on 08 July 2018 19:28:11
2018-08-22 12:11:45 os: Linux-4.4.0-1065-aws #75-Ubuntu SMP Fri Aug 10 11:14:32 UTC 2018
2018-08-22 12:11:45 nodename: conrad-liveweb5
2018-08-22 12:11:45 machine: x86_64
2018-08-22 12:11:45 clock source: unix
2018-08-22 12:11:45 pcre jit disabled
2018-08-22 12:11:45 detected number of CPU cores: 2
2018-08-22 12:11:45 current working directory: (unreachable)/etc/uwsgi/vassals
2018-08-22 12:11:45 detected binary path: /usr/local/bin/uwsgi
2018-08-22 12:11:45 *** dumping internal routing table ***
2018-08-22 12:11:45 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2018-08-22 12:11:45 *** end of the internal routing table ***
2018-08-22 12:11:45 chdir() to /home/venkateshgajula/
2018-08-22 12:11:45 limiting number of processes to 15...
2018-08-22 12:11:45 your processes number limit is 15
2018-08-22 12:11:45 your memory page size is 4096 bytes
2018-08-22 12:11:45 detected max file descriptor number: 123456
2018-08-22 12:11:45 building mime-types dictionary from file /etc/mime.types...
2018-08-22 12:11:45 536 entry found
2018-08-22 12:11:45 lock engine: pthread robust mutexes
2018-08-22 12:11:45 thunder lock: disabled (you can enable it with --thunder-lock)
2018-08-22 12:11:45 uwsgi socket 0 bound to UNIX address /var/sockets/venkateshgajula.pythonanywhere.com/socket fd 3
2018-08-22 12:11:45 Python version: 3.6.0 (default, Jan 13 2017, 00:00:00)  [GCC 4.8.4]
2018-08-22 12:11:45 *** Python threads support is disabled. You can enable it with --enable-threads ***
2018-08-22 12:11:45 Python main interpreter initialized at 0x21289f0
2018-08-22 12:11:45 your server socket listen backlog is limited to 100 connections
2018-08-22 12:11:45 your mercy for graceful operations on workers is 60 seconds
2018-08-22 12:11:45 setting request body buffering size to 65536 bytes
2018-08-22 12:11:45 mapped 334256 bytes (326 KB) for 1 cores
2018-08-22 12:11:45 *** Operational MODE: single process ***
2018-08-22 12:11:45 initialized 38 metrics
2018-08-22 12:11:45 WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x21289f0 pid: 1 (default app)
2018-08-22 12:11:45 *** uWSGI is running in multiple interpreter mode ***
2018-08-22 12:11:45 gracefully (RE)spawned uWSGI master process (pid: 1)
2018-08-22 12:11:45 spawned uWSGI worker 1 (pid: 3, cores: 1)
2018-08-22 12:11:45 metrics collector thread started
2018-08-22 12:11:45 spawned 2 offload threads for uWSGI worker 1
2018-08-22 12:11:48 announcing my loyalty to the Emperor...

PLEASE CHECK AND TELL ME WHAT TO DO

[edit by admin: formatting]

ITS WORKING BUT WHEN ACCESSING OTHER PAGE IT IS GIVING internal server error

http://venkateshgajula.pythonanywhere.com/admin/

above is ok

http://venkateshgajula.pythonanywhere.com/admin/login

this gives error

It looks like you only posted part of the error log above. The most recent error is at the bottom of the page -- you can see the time at which each error was logged at the start of each line. Right now it is showing an error that says KeyError: 'A secret key is required to use CSRF.', which suggests that you need to set the SECRET_KEY value in the settings.py file that makes up the Django app. Set it to some random long string.

SECRET_KEY='oqnajbthbnnbhsiq'

this I found in config.py which is already there but still error coming

home/venkateshgajula/School-Bus-Tracking/instance/config.py

this is not found so there is no such a folder in project files

I have created instance folder and created config.py still error is coming no change

this is new in error log

2018-08-24 15:32:25,497: /home/venkateshgajula/School-Bus-Tracking/BusTrack/views/admin.py:43: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
    2018-08-24 15:32:25,498:   form = UserPasswordForm(request.form)
    2018-08-24 15:32:25,499: [2018-08-24 15:32:25,498] ERROR in app: Exception on /admin/login [GET]
    2018-08-24 15:32:25,499: Traceback (most recent call last):
    2018-08-24 15:32:25,500:   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1982, in wsgi_app
    2018-08-24 15:32:25,500:     response = self.full_dispatch_request()
    2018-08-24 15:32:25,500:   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1614, in full_dispatch_request
    2018-08-24 15:32:25,500:     rv = self.handle_user_exception(e)
    2018-08-24 15:32:25,500:   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1517, in handle_user_exception
    2018-08-24 15:32:25,500:     reraise(exc_type, exc_value, tb)
    2018-08-24 15:32:25,500:   File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 33, in reraise
    2018-08-24 15:32:25,500:     raise value
    2018-08-24 15:32:25,501:   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1612, in full_dispatch_request
    2018-08-24 15:32:25,501:     rv = self.dispatch_request()
    2018-08-24 15:32:25,501:   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1598, in dispatch_request
    2018-08-24 15:32:25,501:     return self.view_functions[rule.endpoint](**req.view_args)
    2018-08-24 15:32:25,501:   File "/home/venkateshgajula/School-Bus-Tracking/BusTrack/views/admin.py", line 43, in login
    2018-08-24 15:32:25,501:     form = UserPasswordForm(request.form)
    2018-08-24 15:32:25,501:   File "/usr/local/lib/python3.6/dist-packages/wtforms/form.py", line 212, in __call__
    2018-08-24 15:32:25,501:     return type.__call__(cls, *args, **kwargs)
    2018-08-24 15:32:25,501:   File "/usr/local/lib/python3.6/dist-packages/flask_wtf/form.py", line 158, in __init__
    2018-08-24 15:32:25,502:     super(Form, self).__init__(*args, **kwargs)
    2018-08-24 15:32:25,502:   File "/usr/local/lib/python3.6/dist-packages/flask_wtf/form.py", line 88, in __init__
    2018-08-24 15:32:25,502:     super(FlaskForm, self).__init__(formdata=formdata, **kwargs)
    2018-08-24 15:32:25,502:   File "/usr/local/lib/python3.6/dist-packages/wtforms/form.py", line 278, in __init__
    2018-08-24 15:32:25,502:     self.process(formdata, obj, data=data, **kwargs)
    2018-08-24 15:32:25,502:   File "/usr/local/lib/python3.6/dist-packages/wtforms/form.py", line 132, in process
    2018-08-24 15:32:25,502:     field.process(formdata)
    2018-08-24 15:32:25,502:   File "/usr/local/lib/python3.6/dist-packages/wtforms/csrf/core.py", line 43, in process
    2018-08-24 15:32:25,503:     self.current_token = self.csrf_impl.generate_csrf_token(self)
    2018-08-24 15:32:25,503:   File "/usr/local/lib/python3.6/dist-packages/flask_wtf/csrf.py", line 134, in generate_csrf_token
    2018-08-24 15:32:25,503:     token_key=self.meta.csrf_field_name
    2018-08-24 15:32:25,503:   File "/usr/local/lib/python3.6/dist-packages/flask_wtf/csrf.py", line 35, in generate_csrf
    2018-08-24 15:32:25,503:     message='A secret key is required to use CSRF.'
    2018-08-24 15:32:25,503:   File "/usr/local/lib/python3.6/dist-packages/flask_wtf/csrf.py", line 121, in _get_config
    2018-08-24 15:32:25,503:     raise KeyError(message)
    2018-08-24 15:32:25,503: KeyError: 'A secret key is required to use CSRF.'

[edited by admin: formatting]

If it's a normal Django app, you need to put it in settings.py, not config.py

there is no such settings.py in the app.

this is not a Django app this seems to be flask app admin page worked error is displayed on login page thats why above logs. need solution why it is giving error

a bit of a dumb question, but have you reloaded your webapp in between these changes?

and also have you tried just doing app.config('SECRET_KEY') = 'abc' instead of using the config.py file?

it seems like your flask app still can't find your SECRET_KEY variable, so you are not setting it correctly.

in which file I should add this

app.config('SECRET_KEY') = 'abc'

let me know cause I have tried adding it but it still show error

You could probably do it anywhere with the actual app variable. But just do it in the file where wsgi.py imports the app?

I have added adding wsgi.py as well as init.py but still same error

Are you sure you're applying it to the app that your webapp is using? The app in app.config mentioned above may not be the name that your app has. It will be whatever variable you assign to when you do app = Flask(__name__) in your flask application.

https://github.com/Rjtsahu/School-Bus-Tracking

I did all aspects I did tried it the link is above see. it and tell me where exactly I need to do

It should be in the __init__.py file in the BusTrack directory.

I should add, though, that you really need to understand the code that you're trying to deploy here -- PythonAnywhere is a site for developers to deploy their code, or code that they want to understand. We can't give detailed instructions on how you should deploy someone else's code here.