Questions tagged [waitress]

Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance.

190 questions
0
votes
1 answer

Waitress in Pyramid 1.4

I have a program written in Python 2.7.5 that I waned to move to my account hosted on WebFaction. There I wanted to implement it using Pyramid 1.4/Python 2.7. I have installed all packages, but it seems I have a problem with Pyramid itself. Below…
MPękalski
  • 6,873
  • 4
  • 26
  • 36
0
votes
2 answers

Pyramid: restart the apps in a exception view

The command that I've been using is: pserve development.ini --reload and every time when i meet a error like SQLAlchemy's "IntegrityError" or something else, I have to kill pserve an type the command again to restart the apps. Is there a method i…
Paul Yin
  • 1,753
  • 2
  • 13
  • 19
0
votes
1 answer

Saving image in python using urllib

I am trying to save an image from the web using urllib and I keep getting this error : [Wed Oct 17 10:03:43 2012] [error] [client 223.232.227.124] urllib.urlretrieve(image,ban) [Wed Oct 17 10:03:43 2012] [error] [client 223.232.227.124] File…
aradhya
  • 355
  • 8
  • 21
0
votes
1 answer

Can't debug a Pyramid project in Eclipse/Pydev with Waitress

I'm trying to setup a working IDE and starting to learn Python with Pyramid framework in a friendly environment like Eclipse/Pydev. All is working ok (debug, breakpoints included) if I use the old pastescript server by replacing: use =…
sh4
  • 1,217
  • 13
  • 20
0
votes
1 answer

How to get waitress server working in an EC2 instance?

I want to set up a partly developed website from an EC2 instance. The site is being developed using Pyramid web framework. Is it possible to set up simple waitress server from EC2? I tried these instructions for setting up a Apache server. But when…
Ranjith Ramachandra
  • 10,399
  • 14
  • 59
  • 96
-1
votes
3 answers

'NoneType' object has no attribute 'get' while serving with Waitress

I know there have been posts about this issue before but reading them I am still unable to find a solution. The weird part about this is my app has been working fine for weeks and then I reset my server and I keep getting this error. I am using…
Ace
  • 13
  • 5
-1
votes
2 answers

Batch File to open Chrome and launch Python Dash App

I have a Dash App I'm running locally on a few machines through waitress, and I want it to open by clicking a simple batch file. I would lke to improve two things: that it'll open chrome only after the Flask server is running already, and if…
TwoPointNo
  • 1
  • 1
  • 3
-1
votes
1 answer

Python:'dict' object has no attribute 'iter'

I am using python 3.7.8 and trying to access azure data lake account files getting this error. dependencies version details: azure-core 1.13.0 azure-storage-blob 12.8.1 azure-storage-file-datalake 12.2.0 Flask …
cj devin
  • 1,045
  • 3
  • 13
  • 48
-1
votes
1 answer

Python Flask waitress-serve command-line call argument?

I have the following simple py file below. It works fine if I type python damn.py, but it says not to use it as production server. I have installed waitress. In my case, what exactly should the argument in the " " be? I have tried waitress-serve…
Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
-1
votes
1 answer

ImportError: cannot import name 'serve' from 'waitress'

from waitress import serve # error line import app # python file where flask code is written serve(app.app,port=8000,thread=55) Python version : 3.7 waitress version : try with 1.4.1 and 1.3.0* Stack…
1 2 3
12
13