Bug#667838: fookebox: Use flup

2012-04-11 Thread Stefan Ott
Thanks for the report!

It would probably make sense to at least include your config file as
an example in the package. But just out of curiosity, could you try
using libapache2-mod-wsgi instead of uwsgi-plugin-python? Or are you
using some other web server? If so, I would be interested in the
details, might as well try to get this working :)

cheers
-- 
Stefan Ott
http://www.ott.net/

You are not Grey Squirrel?



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



Bug#667838: fookebox: Use flup

2012-04-06 Thread Matthias Urlichs
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  python2.7.2-10
ii  python-mpd0.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