> > Also both of those scripts seems to try to download. 'app.py' instead of >> themselves and i can see that because they give the same output as 'app.py' >> in the error log: > > [Fri Sep 07 11:42:08.911854 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] Traceback (most recent call last): [Fri Sep 07 11:42:08.911858 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app [Fri Sep 07 11:42:08.911861 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] response = self.full_dispatch_request() [Fri Sep 07 11:42:08.911865 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request [Fri Sep 07 11:42:08.911868 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] rv = self.handle_user_exception(e) [Fri Sep 07 11:42:08.911871 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception [Fri Sep 07 11:42:08.911874 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] reraise(exc_type, exc_value, tb) [Fri Sep 07 11:42:08.911876 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise [Fri Sep 07 11:42:08.911880 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] raise value [Fri Sep 07 11:42:08.911882 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request [Fri Sep 07 11:42:08.911885 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] rv = self.dispatch_request() [Fri Sep 07 11:42:08.911888 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request [Fri Sep 07 11:42:08.911892 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] return self.view_functions[rule.endpoint](**req.view_args) [Fri Sep 07 11:42:08.911894 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/home/nikos/public_html/app.py", line 336, in index [Fri Sep 07 11:42:08.911897 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] pagehit = cur.fetchone()[0]
[Fri Sep 07 11:42:08.911817 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] [2018-09-07 11:42:08,911] ERROR in app: Exception on /downloads.py [GET] [Fri Sep 07 11:42:08.911854 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] Traceback (most recent call last): [Fri Sep 07 11:42:08.911858 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app [Fri Sep 07 11:42:08.911861 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] response = self.full_dispatch_request() [Fri Sep 07 11:42:08.911865 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request [Fri Sep 07 11:42:08.911868 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] rv = self.handle_user_exception(e) [Fri Sep 07 11:42:08.911871 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception [Fri Sep 07 11:42:08.911874 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] reraise(exc_type, exc_value, tb) [Fri Sep 07 11:42:08.911876 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise [Fri Sep 07 11:42:08.911880 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] raise value [Fri Sep 07 11:42:08.911882 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request [Fri Sep 07 11:42:08.911885 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] rv = self.dispatch_request() [Fri Sep 07 11:42:08.911888 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/usr/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request [Fri Sep 07 11:42:08.911892 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] return self.view_functions[rule.endpoint](**req.view_args) [Fri Sep 07 11:42:08.911894 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] File "/home/nikos/public_html/app.py", line 336, in index [Fri Sep 07 11:42:08.911897 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] pagehit = cur.fetchone()[0] [Fri Sep 07 11:42:08.911901 2018] [wsgi:error] [pid 19469] [remote 46.103.174.201:7336] TypeError: 'NoneType' object is not subscriptable -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
