[uwsgi]
uid = ideascube
gid = ideascube
# Django-related settings
# the base directory (full path)
chdir           = /usr/share/python/ideascube/local/lib/python2.7/site-packages/ideascube/
# Django's wsgi file
module          = ideascube.wsgi
# the virtualenv (full path)
home            = /usr/share/python/ideascube/

# Load env vars from /etc/default.
# See http://uwsgi-docs.readthedocs.org/en/latest/ConfigLogic.html
# and http://uwsgi-docs.readthedocs.org/en/latest/ParsingOrder.html
# for-readline is uWsgi >= 2.01 only:
# http://uwsgi-docs.readthedocs.org/en/latest/Changelog-2.0.1.html
for-readline = /etc/default/ideascube
  env = %(_)
end-for =

# process-related settings
# master
master          = true
# maximum number of worker processes
processes       = 4
# the socket (use the full path to be safe
socket          = /tmp/ideascube.sock
# ... with appropriate permissions - may be needed
chmod-socket    = 666
# stats           = /tmp/ideascube.stats.sock
# clear environment on exit
vacuum          = true
plugins         = python

[uwsgi]
uid = ideascube
gid = ideascube
# Django-related settings
# the base directory (full path)
chdir           = /usr/share/python/ideascube/lib/python3.4/site-packages/ideascube/
# Django's wsgi file
module          = ideascube.wsgi
# the virtualenv (full path)
home            = /usr/share/python/ideascube/

# Load env vars from /etc/default.
# See http://uwsgi-docs.readthedocs.org/en/latest/ConfigLogic.html
# and http://uwsgi-docs.readthedocs.org/en/latest/ParsingOrder.html
# for-readline is uWsgi >= 2.01 only:
# http://uwsgi-docs.readthedocs.org/en/latest/Changelog-2.0.1.html
for-readline = /etc/default/ideascube
  env = %(_)
end-for =

# process-related settings
# master
master          = true
# maximum number of worker processes
processes       = 4
# the socket (use the full path to be safe
socket          = /tmp/ideascube.sock
# ... with appropriate permissions - may be needed
chmod-socket    = 666
# stats           = /tmp/ideascube.stats.sock
# clear environment on exit
vacuum          = true
plugins         = python3

Fix the uwsgi configuration file
Fix the uwsgi configuration file

We use Python 3 now, not Python 2.

Also, there's a "local/" subfolders that shouldn't be there.
