Forums

Unhandled exception while running the application

Hello,

I am trying to run a Flask-SQLALchmey web application. When I am trying to load the application it is ending up with unhandled exceptions at server logs. Can someone please check and help me ?

:::Python

enter code here
 2014-11-11 17:21:18 Tue Nov 11 17:21:18 2014 - received message 1 from emperor
 2014-11-11 17:21:18 ...gracefully killing workers...
 2014-11-11 17:21:18 Gracefully killing worker 1 (pid: 302)...
 2014-11-11 17:21:19 worker 1 buried after 1 seconds
 2014-11-11 17:21:19 uWSGI: GAME OVER (insert coin)
 2014-11-11 17:21:19 chdir(): No such file or directory [core/uwsgi.c line 1541]
 2014-11-11 17:21:19 VACUUM: unix socket /var/sockets/ggblog.pythonanywhere.com/socket removed.
 2014-11-11 17:21:21 *** Starting uWSGI 2.0.5.1 (64bit) on [Tue Nov 11 17:21:19 2014] ***
 2014-11-11 17:21:21 compiled with version: 4.8.2 on 02 October 2014 18:18:32
 2014-11-11 17:21:21 os: Linux-3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014
 2014-11-11 17:21:21 nodename: harry-liveweb3
 2014-11-11 17:21:21 machine: x86_64
 2014-11-11 17:21:21 clock source: unix
 2014-11-11 17:21:21 pcre jit disabled     
 2014-11-11 17:21:21 detected number of CPU cores: 4
 2014-11-11 17:21:21 current working directory: /etc/uwsgi/vassals
 2014-11-11 17:21:21 detected binary path: /usr/local/bin/uwsgi
 2014-11-11 17:21:21 using Linux cgroup /mnt/cgroups/cpu/user_types/free with mode 700
 2014-11-11 17:21:21 assigned process 4199 to cgroup /mnt/cgroups/cpu/user_types/free/tasks
 2014-11-11 17:21:21 using Linux cgroup /mnt/cgroups/cpuacct/users/ggblog with mode 700
 2014-11-11 17:21:21 assigned process 4199 to cgroup /mnt/cgroups/cpuacct/users/ggblog/tasks
 2014-11-11 17:21:21 using Linux cgroup /mnt/cgroups/memory/user_types/free with mode 700
 2014-11-11 17:21:21 assigned process 4199 to cgroup /mnt/cgroups/memory/user_types/free/tasks
 2014-11-11 17:21:21 uWSGI running as root, you can use --uid/--gid/--chroot options
 2014-11-11 17:21:21 chroot() to /mnt/chroots/ggblog
 2014-11-11 17:21:21 setgid() to 60000
 2014-11-11 17:21:21 setuid() to 569282
 2014-11-11 17:21:21 limiting number of processes to 15...
 2014-11-11 17:21:21 your processes number limit is 15
 2014-11-11 17:21:21 your memory page size is 4096 bytes
 2014-11-11 17:21:21 detected max file descriptor number: 123456
 2014-11-11 17:21:21 building mime-types dictionary from file /etc/mime.types...
 2014-11-11 17:21:21 536 entry found
 2014-11-11 17:21:21 lock engine: pthread robust mutexes
 2014-11-11 17:21:21 thunder lock: disabled (you can enable it with --thunder-lock)
 2014-11-11 17:21:21 uwsgi socket 0 bound to UNIX address /var/sockets/ggblog.pythonanywhere.com/socket fd 7
 2014-11-11 17:21:21 Python version: 2.7.6 (default, Mar 22 2014, 23:03:41)  [GCC 4.8.2]
 2014-11-11 17:21:21 *** Python threads support is disabled. You can enable it with --enable-threads ***
 2014-11-11 17:21:21 Python main interpreter initialized at 0x16d2680
 2014-11-11 17:21:21 your server socket listen backlog is limited to 100 connections
 2014-11-11 17:21:21 your mercy for graceful operations on workers is 60 seconds
 2014-11-11 17:21:21 setting request body buffering size to 65536 bytes
 2014-11-11 17:21:21 mapped 333952 bytes (326 KB) for 1 cores
 2014-11-11 17:21:21 *** Operational MODE: single process ***
 2014-11-11 17:21:21  * Running on http://127.0.0.1:5000/
 2014-11-11 17:21:21  * Restarting with reloader
 2014-11-11 17:21:21 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x16d2680 pid: 4199 (default app)
 2014-11-11 17:21:21 *** uWSGI is running in multiple interpreter mode ***
 2014-11-11 17:21:21 spawned uWSGI master process (pid: 4199)
 2014-11-11 17:21:21 spawned uWSGI worker 1 (pid: 4201, cores: 1)

Hi there, I can't see any exceptions in the server log. Is there anything in the error log?