Questions tagged [flup]

37 questions
0
votes
2 answers

Lighttpd + fastcgi + django: truncated response sent to client due to unexpected EOF

I'm trying to get my Django based webapp into a working deployment configuration, and after spending a bunch of time trying to get it working under lighttpd / fastcgi, can't get past this problem. When a client logs in for the first time, they…
glenc
  • 3,132
  • 2
  • 26
  • 42
0
votes
1 answer

flup and socket connection

I'm trying to connect to my test fcgi application via unix socket. The server is pretty simple and taken from flask documentation http://flask.pocoo.org/docs/0.10/deploying/fastcgi/ The client code is mine. I expect to send the sample HTTP request…
Ilya Boltnev
  • 1,031
  • 3
  • 13
  • 27
0
votes
0 answers

A scalable solution for sharing objects between threads in web.py (+ flup/fcgi)

I need to share an object between threads in web.py. I'm running a web service that performs a calculation & returns a value. The calculation is done using an object that takes up quite a lot of memory, so I don't want it to be created for each…
AviM
  • 99
  • 1
  • 5
0
votes
1 answer

Django often returns outdated view

I'm pretty new to web development (not to programming), but I just successfully (sort of) deployed a really basic hello-world style Django app. The first time I did it, I had an issue in my HTML. Here's my whole view with the error: from…
0
votes
1 answer

HTTP POST request fails over 128k using Django/flup

SO a form I have takes an image and uploads it. This produces an error when the image is over 128k, otherwise it works fine. I don't have the error message, because it tries to render 500.shtml, which I don't have a template for in Django, so Django…
TimDC
  • 121
  • 3
  • 11
0
votes
1 answer

How to convert from lighttpd mod_fastcgi to Apache 2.2 mod_fcgid

I have a Python script which contains: from flup.server.fcgi import WSGIServer def processRequest(environ, start_response): # proprietary business logic here return WSGIServer( application = processRequest, bindAddress =…
0
votes
2 answers

PyCharm 2.7 + django 1.4.3 + can't import flup.sever.fcgi_fork

OS: Windows 7 Django: 1.4.3 Actions Taken: Upgraded from PyCharm 2.6.3 to PyCharm 2.7 Opened a project that was working perfectly fine on PyCharm 2.6.3. Ran manage.py run under PyCharm Received an error that flup was not installed (didn't need…
nu everest
  • 9,589
  • 12
  • 71
  • 90
1 2
3