Package: fookebox
Version: 0.6.0-1
Severity: minor

fookebox via WSGI crashes for me.
fastcgi to the rescue:

***** conf.d/fookebox snippet:

Alias /javascript/ /usr/share/javascript/
<IfModule mod_fastcgi.c>
        Alias /fookebox /etc/fookebox/fookebox.fcgi
<Else>
        <IfModule mod_wsgi.c>
                WSGIScriptAlias /fookebox /etc/fookebox/fookebox.wsgi

                WSGIDaemonProcess fookebox
                WSGIProcessGroup fookebox

        </IfModule>
</IfModule>


***** /etc/fookebox/fookebox.fcgi:

#!/usr/bin/python

BASE_PATH = '/usr/share/fookebox'
APP_CONFIG = '/etc/fookebox/config.ini'

import sys
if BASE_PATH not in sys.path:
        sys.path.append(BASE_PATH)

from paste.deploy import loadapp
app = loadapp('config:' + APP_CONFIG)

from flup.server.fcgi import WSGIServer
WSGIServer(app).run() 

*****

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable'), (550, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fookebox depends on:
ii  libjs-prototype                   1.7.0-2
ii  libjs-scriptaculous               1.9.0-2
ii  python                            2.7.2-10
ii  python-mpd                        0.3.0-4
ii  python-pylons                     1.0-2
ii  python-simplejson                 2.4.0-1
ii  python-sqlalchemy                 0.7.6-1
ii  uwsgi-plugin-python [httpd-wsgi]  1.1.2+dfsg-1

Versions of packages fookebox recommends:
pn  mpd  <none>

fookebox suggests no packages.

-- Configuration Files:
/etc/fookebox/config.ini changed [not included]
/etc/fookebox/fookebox.wsgi [Errno 2] No such file or directory: 
u'/etc/fookebox/fookebox.wsgi'

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to