cherrypy Questions
4
Solved
I'm really enjoying Bottle so far, but the fact that I have to CTRL+C out of the server and restart it every time I make a code change is a big hit on my productivity. I've thought about using Watc...
3
Solved
From CherryPy 3.0 and onwards, one-way SSL can be turned on simply by pointing to the server certificate and private key, like this:
import cherrypy
class HelloWorld(object):
def index(self):
r...
Androw asked 13/12, 2010 at 9:49
2
I carried out a test on cherrypy (using web.py as a framework) and tornado retrieving webpages from the internet.
I have three test cases using siege to send requests to server (-c means number of...
Nuisance asked 23/11, 2012 at 2:42
3
Solved
I have a web server that has all of the configurations set in the code, but I want to be able to handle all page 404 errors. How would I go about doing this in Python?
3
Solved
I'm using python and CherryPy to create a simple internal website that about 2 people use. I use the built in webserver with CherryPy.quickstart and never messed with the config files. I recently c...
3
Solved
I have a CherryPy script that I frequently run to start a server. Today I was having to start and stop it a few times to fix some bugs in a config file, and I guess the socket didn't close all the ...
1
Solved
It boggles my mind that this hasn't already been asked on Stack Overflow, but I gave it an honest search...
I'm currently developing a simple web application using CherryPy (and routes and Mako, i...
3
Solved
I'm using Py2exe to compile a CherryPy (3.1) server using Python 2.6 (32-bit) on Windows 7 Pro (64-bit).
This server will run without a GUI.
Questions:
Do I need to be concerned about adding a ...
1
I'm using Cherrypy 3.8.0 with Python 2 to use SSL/TLS using pyOpenSSL.
I want to disable SSL3 to avoid POODLE (or other weak ciphers).
Here's what I have so far:
server_config={
'server.socke...
Hautesalpes asked 16/1, 2016 at 22:38
1
I have configured Cherrypy 3.8.0 with Python 3 to use SSL/TLS. However, I want to disable SSL3 to avoid POODLE. I searched through the documentation but I am unsure on how to implement it.
I am us...
Bouilli asked 12/1, 2016 at 10:19
1
Solved
I have a website server based on python (cherrypy), and i need some help. I'm sorry in advance if this question is too basic. I don't have a vast of experience in this area so far.
My main page is...
4
Solved
Does SQLAlchemy support some kind of caching so if I repeatedly run the same query it returns the response from cache instead of querying the database? Is this cache automatically cleared when the ...
Alice asked 15/10, 2008 at 14:26
3
In some source code I am
writing, I am able to make a request such as:
http://proxy.metaperl.org/index/bitgold-rw1
And have it redirect successfully.
However, I want to remove index from the UR...
2
I have a webserver (CherryPy) running with on a Cubox (armhf platform) and upon starting the wever i get the following error:
[14/Aug/2015:09:33:40] HTTP Traceback (most recent call last):
File "...
2
How can I block SSL protocols in PyOpenSSL in favour of TLS? I'm using CentOS 7 and have these versions:
pyOpenSSL-0.13.1-3.el7.x86_64
openssl-1.0.1e-34.el7_0.7.x86_64
In my config file (this if...
2
Solved
I have a python web app that uses the pylibmc module to connect to a memcached server. If I test my app with requests once per second or slower, everything works fine. If I send more than one reque...
2
Solved
I'm trying to build a Cherrypy/Python webservice. I already spend the whole day on finding out how to make a cross domain ajax request possible. That's finally working, but now I have the next issu...
Amabelle asked 20/1, 2015 at 16:4
3
I'm trying to silence the logging of http requests from CherryPy. I've tried
cherrypy.log.access_file = None
which as I understand it should remove the handler for access logging, but I can't s...
2
Solved
This is my first time delving into web development in python. My only other experience is PHP, and I never used a framework before, so I'm finding this very intimidating and confusing.
I'm interes...
Cosetta asked 30/5, 2013 at 19:17
1
Solved
The following code works well, but it fails if executed from a CherryPy app method with the error message CoInitialize has not been called:
import win32com.client
xl = win32com.client.Dispatch("Ex...
Excavate asked 4/11, 2014 at 21:44
4
Solved
Does cherrypy support Python3 yet? What other web frameworks out there support Python 3?
2
Solved
Is there a way in python to change the port that cherrypy is using and force the web server (not apache, cherrypy) to restart?
1
# ! /usr/bin/env python
# -*- coding: utf-8 -*-
# login_frontend.py
""" Python 2.7.3
Cherrypy 3.2.2
PostgreSQL 9.1
psycopy2 2.4.5
SQLAlchemy 0.7.10
"""
I'm having a problem joining four tabl...
Providence asked 5/7, 2013 at 18:16
1
Solved
I was following by lalalalalalalambda example to put cherrypy behind nginx server, but didn't acomplish anything except nginx 502 bad gataway at my home Debian distro.
Here is Nginx settings :
lo...
2
Solved
We're designing a system based on CherryPy that in addition to serving web requests needs to do tasks/jobs in parallel. We want it to be a single process running as a daemon and create threads for ...
S asked 9/2, 2012 at 8:37
© 2022 - 2024 — McMap. All rights reserved.