cherrypy
Cherrypy and duplicate error messages in apache logs
I have a simple cherrypy app that dynamically creates and serves PDF files. Inside the app, I am logging开发者_运维百科 some simple text to apache\'s error logfile.[详细]
2023-02-19 09:11 分类:问答how to access python object in javascript function?
that means now i am working on python with cherryypy and genshi framework with help of this i send python variable to html file using genshi but i want to access variable that variable in javascript f[详细]
2023-02-17 06:59 分类:问答Cherrypy vs. Apache/mod_wsgi
What are pros/cons? -Stability -Developer fri开发者_开发百科endliness -System resources -ScalabilityIn my experience the best performance is by running a WSGI app with a WSGI server like FAPWS or[详细]
2023-02-15 09:15 分类:问答SQLAlchemy Connection Pooling Problems - Postgres on Windows
I\'m using SQLAlchemy 0.6.6 against a Postgres 8.3 DB on Windows 7 an PY 2.6.I am leaving the defaults for configuring pooling when I create my engine, which is pool_size=5, max_overflow=10.[详细]
2023-02-14 11:57 分类:问答sqlalchemy pymssql "connection reset by peer" recovery
I\'m running a cherrypy webservice and wondering what the best option is to recover from \"connection reset by peer\" for a pymssql connection via sqlalchemy. Right now I have to resta开发者_运维问答r[详细]
2023-02-13 13:29 分类:问答Is there no way to serve a static directory and its children i Cherrypy?
Using Cherrypy version 3.0.2 Given a file-structure like this: static-dir 2011 2010 2009 ... I use the configuration: \'/static\': {\'tools.staticdir.on\': True, \'tools.staticdir.dir\': \'static-d[详细]
2023-02-10 15:39 分类:问答CherryPy 60x as slow in benchmark with 8 requesting threads compared to 7
I\'m curious why when benchmarking Python web server CherryPy using ab, with -c 7 (7 concurrent threads) it can server 1500 requests/s (about what I expect), but when I change to -c 8 it drops way dow[详细]
2023-02-10 15:12 分类:问答Cherrypy can't find options when using apache?
I\'ve been having a strange problem with cherrypy. When I quickstart an application: cherrypy.quickstart(WebApps(), \'/dev/apps/\', \'settings.config\')[详细]
2023-02-09 21:15 分类:问答CherryPy doesn't properly handle non-ASCII characters in Jinja2 templates
I am trying to run a website using Python 2.7.1, Jinja 2.5.2, and CherryPy 3.1.2. The Jinja templates I am using are UTF-8 encoded. I noticed that some of the characters in those templates are being t[详细]
2023-02-09 11:11 分类:问答Testing cherrypy with nose/fixture/webtest (amidoinitrite)
I am developing a CherryPy application and I want to write some automated tests for it. I chose to use nosetests for it. The application uses sqlalchemy as db backend so I need to use fixture package[详细]
2023-02-07 08:00 分类:问答