ldd mod_wsgi.so out puts :
libpython2.4.so.1.0 = /usr/lib64/libpython2.4.so.1.0
(0x2b6f95177000)
libpthread.so.0 = /lib64/libpthread.so.0 (0x2b6f954a9000)
libdl.so.2 = /lib64/libdl.so.2 (0x2b6f956c4000)
libutil.so.1 = /lib64/libutil.so.1
So is there any way getting around this, I need python 2.6 for some
dependency reasons (with some packages require)..
On Apr 13, 7:54 pm, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:
2010/4/13 MMRUser oshadha.ro...@gmail.com:
ldd mod_wsgi.so out puts :
libpython2.4.so.1.0 =
You will have to recompile all the dependencies that use python
yourself. DO NOT use RPM packages, this includes mod_wsgi. REMOVE all
python dependent RPMs from your system and download the source and
start compiling everything. There may not be all that many, you may
only need to compile mod_wsgi
Ok i'll give a try..
On Apr 13, 8:40 pm, Carl Nobile carl.nob...@gmail.com wrote:
You will have to recompile all the dependencies that use python
yourself. DO NOT use RPM packages, this includes mod_wsgi. REMOVE all
python dependent RPMs from your system and download the source and
start
Now actually my system rebuilt, all clean so please tell me how to
install a fresh copy of mod_wsgi that compatible with python 2.6
On Apr 13, 4:55 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On 12 April 2010 17:15, MMRUser oshadha.ro...@gmail.com wrote:
I ran apr-1-config
just as a test I tried to compile it and gives me this error
# ./configure --with-python=/usr/local/bin/python2.6
checking for apxs2... no
checking for apxs... no
checking Apache version... ./configure: line 1704: apxs: command not
found
./configure: line 1704: apxs: command not found
You have two posts on this list for what seems like the same issue.
Please use one or the other not both it gets confusing. This is the
older one I think, so I will answer you in the newer post.
~Carl
On Tue, Apr 13, 2010 at 12:10 PM, MMRUser oshadha.ro...@gmail.com wrote:
just as a test I
Do you know where I can get the proper apxs packages + RPMs, it's not
in the redhat PM (tried with yum).
On Apr 13, 10:26 pm, Carl Nobile carl.nob...@gmail.com wrote:
You still need to have apxs installed with RPMs if they don't depend
on python themselves. Yes mod_wsgi depends on apxs, but
You will have to hunt for it, but here is a download link. Also, if
apxs2 or apxs have any dependencies of their own you will have to
install the RPM for those also. You will know if they complain when
you install them.
http://rpmfind.net/linux/RPM/index.html
~Carl
On Tue, Apr 13, 2010 at 12:56
Once more question how do I remove mod wsgi, that I previously
installed using rpm (mod_wsgi-3.2-1.el5.x86_64.rpm).Can't I just
remove the mod_wsgi.so in apache's modules..?
On Apr 13, 11:18 pm, Carl Nobile carl.nob...@gmail.com wrote:
You will have to hunt for it, but here is a download link.
Yes, but it will bite you in the butt later if you don't remove the RPM.
# rpm -e package name
To find the package name for the above:
# rpm -qa | grep mod_wsgi
I haven't used these commands in many years because I use a Debian
derived distribution now which uses apt_get or aptitude.
Hope
On 14 April 2010 00:40, Carl Nobile carl.nob...@gmail.com wrote:
You will have to recompile all the dependencies that use python
yourself. DO NOT use RPM packages, this includes mod_wsgi. REMOVE all
python dependent RPMs from your system and download the source and
start compiling everything.
New problem arises, I tried to install apxs 2 (http://rpm.pbone.net/
index.php3/stat/4/idpl/4434034/com/apache-apxs-2.2.4-1.i386.rpm.html)
an as a dependency it requires perl-base (http://rpm.pbone.net/
index.php3/stat/4/idpl/12070642/dir/redhat_el_5/com/perl-
base-2.12-1.el5.rf.noarch.rpm.html) I
I ran apr-1-config --apr-libtool and it says
/apr-1/build/libtool..
and the $libdir set to:
my $libdir = `pkg-config --variable=libdir apr-1`;
On Apr 12, 11:26 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On 12 April 2010 15:14, MMRUser oshadha.ro...@gmail.com wrote:
Yes apr-devel packages are there in my system.. It's not the problem I
guess..
On Apr 12, 1:08 am, vishwajeet singh dextrou...@gmail.com wrote:
On Mon, Apr 12, 2010 at 12:36 AM, MMRUser oshadha.ro...@gmail.com wrote:
./configure
checking for apxs2... no
checking for apxs... /usr/sbin/apxs
Can you be more specific about dev packages ..
On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
But are the dev packages for all of those on your system? To build
mod_wsgi you not only need the libs, but you need the dev packages for
the libs also. This does for python, apache and
These are the development packages for all the dependencies used by
mod_python. The package names are different depending on which
distribution of Linux you are using. They will usually have dev or
devl in the name.
~Carl
On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
Where ?
On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
These are the development packages for all the dependencies used by
mod_python. The package names are different depending on which
distribution of Linux you are using. They will usually have dev or
devl in the name.
~Carl
What distribution are you using? There are many of them but the most
common are Red Hat, Ubuntu, Mandriva, etc.
You will find them listed in whatever package manager you are using.
If you don't know what I'm talking about then you probably should find
somebody that does. You need to have some
I'm using Redhat EL see the title .. I wanted to know exact packages
which will solve this issue.
On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
What distribution are you using? There are many of them but the most
common are Red Hat, Ubuntu, Mandriva, etc.
You will find them
I don't know the exact packages. I don't use Red Hat. However, this
should be easy enough to find in the package manager. If you are using
a headless box you can go to the red hat package site on a different
computer and lookup the package names for the version of Red Hat you
have, then type them
Try as root:
# yum install python-devel httpd-devel
Regards, Clodoaldo
2010/4/11 MMRUser oshadha.ro...@gmail.com:
I'm using Redhat EL see the title .. I wanted to know exact packages
which will solve this issue.
On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
What distribution
On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:
Try as root:
# yum install python-devel httpd-devel
The 'httpd' package may only be Apache itself and APR libraries may be
separate packages, so may need 'devel' versions of apr and aprutil.
This is based on it wanting to
2010/4/11 Graham Dumpleton graham.dumple...@gmail.com:
On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:
Try as root:
# yum install python-devel httpd-devel
The 'httpd' package may only be Apache itself and APR libraries may be
separate packages, so may need 'devel'
FWIW, the packages for RHEL 5 / Centos 5 are already built over here:
http://iuscommunity.org/
On Sun, Apr 11, 2010 at 7:07 PM, Clodoaldo Neto
clodoaldo.pi...@gmail.comwrote:
2010/4/11 Graham Dumpleton graham.dumple...@gmail.com:
On 12 April 2010 07:23, Clodoaldo Neto
Still getting the same error, the only installed new package is python-
devel others were already in the system. I installed Apache using yum
command. Apxs installed from the source, but when I do locate apxs
nothings returns, also if I try to install yum install httpd-devel
well it's already
On 12 April 2010 13:50, MMRUser oshadha.ro...@gmail.com wrote:
Still getting the same error, the only installed new package is python-
devel others were already in the system. I installed Apache using yum
command. Apxs installed from the source,
Installed from what source?
It looks very much
Hey.. I checked the files that you have mentioned
LIBTOOL in config_vars.mk
LIBTOOL = /usr/lib/apr-1/build/libtool --silent
Which is exact path in my system...
installbuilddir in apxs
my $installbuilddir = $libdir . /usr/lib/httpd/build;
and I need to say something, that is I changed this
On 12 April 2010 14:53, MMRUser oshadha.ro...@gmail.com wrote:
Hey.. I checked the files that you have mentioned
LIBTOOL in config_vars.mk
LIBTOOL = /usr/lib/apr-1/build/libtool --silent
Which is exact path in my system...
installbuilddir in apxs
my $installbuilddir = $libdir .
/usr/lib/httpd/build is exist and libdir is set to
my $installbuilddir = $libdir . /usr/lib/httpd/build;
On Apr 12, 11:04 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On 12 April 2010 14:53, MMRUser oshadha.ro...@gmail.com wrote:
Hey.. I checked the files that you have mentioned
Only one change in apxs that is set the variable /usr/lib/httpd/build
so then it can find the path, before it was something different
On Apr 12, 11:04 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On 12 April 2010 14:53, MMRUser oshadha.ro...@gmail.com wrote:
Hey.. I checked the
Hi thanks for the quick response.
i compiled mod_wsgi 3.1. also i tried to disable libphp, to check if
there is a problem, but it still didn't work.
On 24 Feb., 18:12, Shane Caraveo mixedpu...@gmail.com wrote:
What version of wsgi? mod_wsgi 3 compiles clean and works with system
python and
i couldn't find any way to fix that problem. so i compiled apache
again with 64 bit. and for some reason it works now
but thx anyway for the help
On 24 Feb., 18:22, webair chrisr.we...@gmail.com wrote:
Hi thanks for the quick response.
i compiled mod_wsgi 3.1. also i tried to disable
If you are new to Python and mod_wsgi as you say, on MacOS X I would
always strongly recommend you not go compiling any of Apache, Python,
PHP etc yourself. Use the version of Apache, Python and PHP which are
supplied by Apple. Using MacPorts, fink, homebrew or even compiling
stuff from source
I guess I will need to some help in order to compile it :)
I tried that procedure, but when I ran the compiler it complained that
a httpd.h file is missing. Is that from the Apache source code?
Thanks,
Cesar
On Jan 24, 9:16 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2010/1/28 Canassa cesar.cana...@gmail.com:
I guess I will need to some help in order to compile it :)
I tried that procedure, but when I ran the compiler it complained that
a httpd.h file is missing. Is that from the Apache source code?
When you install Apache you need to select the option in
2010/1/28 Graham Dumpleton graham.dumple...@gmail.com:
2010/1/28 Canassa cesar.cana...@gmail.com:
I guess I will need to some help in order to compile it :)
I tried that procedure, but when I ran the compiler it complained that
a httpd.h file is missing. Is that from the Apache source code?
2010/1/17 Ram gudav...@gmail.com:
Hi Graham,
Thanks for you answer. That link helped out quite a bit.
As for the number of threads, you're right that it most likely is
quite excessive. The app handles most requests in 200-300 ms, but
with some caching I think that can be reduced to the
Hi Graham,
Thanks for you answer. That link helped out quite a bit.
As for the number of threads, you're right that it most likely is
quite excessive. The app handles most requests in 200-300 ms, but
with some caching I think that can be reduced to the 20-50ms range.
As for the number of
Note, this email has been cc'd back to mod_wsgi mailing list. Please
use the mailing list for further followups. List can be found at:
http://groups.google.com/group/modwsgi?lnk=srg
See response to question below.
2010/1/9 jérémy PARIS jeremy.zin...@gmail.com:
Hi,
My name is Jérémy and I
Graham-
CONFIG_ARGS= '--prefix=/usr/local/Cellar/python/2.6.4' 'CC=/
Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2' 'CFLAGS=-O4 -march=core2 -
mmmx -msse4.1 -w -pipe' 'LDFLAGS=-L/usr/local/Cellar/readline/6.0/lib'
'CPPFLAGS=-I/usr/local/Cellar/readline/6.0/include'
This is a python
2009/12/24 Adam Wolf adamaw...@gmail.com:
Graham-
CONFIG_ARGS= '--prefix=/usr/local/Cellar/python/2.6.4' 'CC=/
Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2' 'CFLAGS=-O4 -march=core2 -
mmmx -msse4.1 -w -pipe' 'LDFLAGS=-L/usr/local/Cellar/readline/6.0/lib'
Graham-
The version of Python 2.6.1 as supplied by Apple is incompatible with
the postgres DB adapter psycopg2. A workaround is running:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
to force python to run in 32 bit mode.
This solved the problem while using the python
Can you install Python 2.6.4 from source code yourself.
You will need to have XCode installed.
Use 'configure' arguments to Python as documented in:
./configure --prefix=/usr/local/python-2.6.4 \
--enable-framework=/usr/local/python-2.6.4/frameworks \
--enable-universalsdk=/
2009/12/24 Adam Wolf adamaw...@gmail.com:
Ok, I'll give that a shot now (Apple's 2.6.1 with Homebrew's
postgresql was not compatible with psycopg2).
I'm using 10.6 so shouldn't it be:
--enable-universalsdk=/ MACOSX_DEPLOYMENT_TARGET=10.6
Not necessarily. That says what the oldest version of
I've been bashing my head against the wall trying to get 2.6.4
installed form source.
First, --with-universal-archs=all doesn't work on Snow Leopard:
http://bugs.python.org/issue6245
Roland mentions only adding the intel and 3-way options for 2.7
and 3.1 but it seems to be available in my 2.6.4
Try dropping the MACOSX_DEPLOYMENT_TARGET option completely. When I
built 2.6.2 on Snow Leopard, I used:
./configure --prefix=/usr/local/python-2.6.2
--enable-framework=/usr/local/python-2.6.2/frameworks
--enable-universalsdk=/ --with-universal-archs=all
I'll get down 2.6.4 and see what happens
With those options I get:
checking size of wchar_t... configure: error: cannot compute sizeof
(wchar_t)
changing back to --with-universal-archs=intel I still get the:
config.status: error: cannot find input file: Mac/Makefile.in
Does --with-universal-archs=all work on your SL installation?
Scratch that. Something is indeed amiss.
I had to use --disable-framework because else you got:
grumpy:mod_wsgi-4.X-2 grahamd$ sudo /usr/sbin/apachectl -t
httpd: Syntax error on line 118 of /private/etc/apache2/httpd.conf:
Cannot load /usr/libexec/apache2/mod_wsgi.so into server:
I am in a hurry so going to have to go soon. You really do need:
--with-universal-archs=all
when building Python else it doesn't build 64-bit, but Python
configure script is broken when specifying 'all' or '64-bit'.
Being Christmas, not sure when I will get too look at this. It does
mention
Documentation says:
* ``3-way``:``ppc``, ``i386`` and ``x86_64``
* ``intel``:``i386``, ``x86_64``
To build a universal binary that includes a 64-bit architecture you must build
on a system running OSX 10.5 or later. The ``all`` flavour can only be build on
OSX 10.5.
So, can't use
Graham-
Thanks for all of your help with this. I'll keep hacking away at it
and let you know how it goes (though... I'm still stuck on ./configure
for python).
-Adam
On Dec 23, 7:36 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
Documentation says:
* ``3-way``: ``ppc``, ``i386``
Nevermind, it looks like I got it to work. I commented out the csrf
middleware line and it works fine. That must be something to do with
me running it on a different domain than intented? Oh well, that's not
a discussion for here. It would still be nice to know if I have a good
wsgi config.
On
I most strongly recommend that you upgrade to a new version of
mod_wsgi. At least 2.4 or later due to changes in how paths are
managed by mod_wsgi. Then read and apply what is described in:
http://code.google.com/p/modwsgi/wiki/VirtualEnvironments
Graham
2009/12/21 Jason Broyles
Graham,
even the simple configuration on the quick start doesn't work for me.
i am doing something wrong but still haven't figured it out. here is
how the configuration looks like:
VirtualHost *:80
ServerName wsgi.localhost
ServerAlias example.com
ServerAdmin webmas...@example.com
2009/12/18 Mengu whalb...@gmail.com:
Graham,
I do not see any error when I point my browser to http://wsgi.localhost/wsgi.
All i see is the content of the wsgi folder.
Don't put your WSGI script files under your DocumentRoot for a start.
The issue then probably is that you have got multiple
Graham,
You are definitely right. All of my virtualhosts were ignored. I have
changed one of my virtualhosts and the example application is working
great. Also a user on #wsgi (freenode) told me to keep the wsgi files
out of the documentroot so I have already done that.
The next step is to find
Graham Dumpleton wrote:
2009/12/2 peter2108 pe...@monicol.co.uk:
I compiled Apache with 'worker' MPM and installed v3.1 of mod-wsgi
using the webfaction forum post you pointed out to me. I used the
Apache conf as in the post but added WSGIRestrictEmbedded On. This
seems to work fine. The
Hi,
Any one please suggest.
Thanks,
Akansh
On Fri, Nov 13, 2009 at 1:07 PM, akansh upadhayaya akansh...@gmail.comwrote:
Ok i did that and every thing is fine
but now tell me the steps to check if it is (wsgi) working or not.
Is there is any programme or any script for it???
You are pushing your luck. Not only do you seem to keep ignoring what
people tell you as far as reading the documentation, you wait only ten
minutes before you posted a followup hounding for an answer.
As was pointed out to you before, read:
2009/11/12 Akansh akansh...@gmail.com:
Hi,
I am facing error on MAC Sonw Leoperd Server while importing
mod_wsgi.
It says no name module mod_wsgi.
Even I have run the configure by ./configure and then “make install”
I think so I did mistake somewere.
Can you please guide
Hi,
thanks for the response but my issue is with installation on MAC snow
leoperd.
What i did i will tell you
1.I downloaded the wsgi from the website.
2.I run from the command line on MAC ./configure in that directory path.
3.after 2 i run the command 'install make'.
4.on the other
Hi Jason,
thanks !!
But i am not sure if mod_wsgi is installed successfully or not.
so can u tell me how to test it.Also how to compile and run this code on
MAC.
As I am System Engineer not programmer ( Know little programming)
Also it will be great if you will tell me in step by
Hi Akansh,
If you take the time to follow the previous link, you would be able to
verify that it is working. All you need is a .wsgi file, and a couple
changes to the apache configuration.
By the way, if you put this line in the apache httpd.conf file, you will
have a good idea if it was
Make a backup copy of any file you change, before you change it :)
On Thu, Nov 12, 2009 at 2:23 PM, akansh upadhayaya akansh...@gmail.comwrote:
Hi Jason,
Thanks to you !!
I was thinking to follow the steps which says about apache httpd.conf
file but afraid that might be that results to
Sure !!!
Thanks...
Akansh...:d
On 11/13/09, Jason Garber b...@gahooa.com wrote:
Make a backup copy of any file you change, before you change it :)
On Thu, Nov 12, 2009 at 2:23 PM, akansh upadhayaya akansh...@gmail.comwrote:
Hi Jason,
Thanks to you !!
I was thinking to
Ok checking on it
Thanks,
Akansh
On Fri, Nov 13, 2009 at 11:06 AM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
2009/11/13 akansh upadhayaya akansh...@gmail.com:
Hi Jason,
there is problem...
On the note provided by you on Link
2009/11/13 akansh upadhayaya akansh...@gmail.com:
Hi Jason,
there is problem...
On the note provided by you on Link
http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide
Under Configuring The Source Code
at line ./configure --with-apxs=/usr/local/apache/bin/apxs \
Ok i did that and every thing is fine
but now tell me the steps to check if it is (wsgi) working or not.
Is there is any programme or any script for it???
if there then tell me in step by step that is how to compile ,where to
save etc.
As i have mentioned that i am not a
On Oct 23, 11:54 am, gert gert.cuyk...@gmail.com wrote:
Nope it does not when configured properly, Graham wil explain :)
But first tell us which version you are using, your apache conf and
python version.
Versions are above.
Note that mod_ssl is leaking memory.
It doesn't seem to leak if I
For source code reloading and daemon mode, forgot to include reference to:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
Graham
2009/10/24 Graham Dumpleton graham.dumple...@gmail.com:
2009/10/24 msoulier msoul...@digitaltorque.ca:
So I'm looking at moving from mod_python to
On 24/10/09 Graham Dumpleton said:
Short answer therefore is to stop using that old version of mod_wsgi
and use mod_wsgi 2.6 instead, or 2.5 if using Debian binaries from its
repository.
I grabbed 2.6 an built a CentOS 5 rpm for it. It does leak, but CentOS 5 is
also using Python 2.4, so
2009/10/10 gert gert.cuyk...@gmail.com:
On Oct 9, 7:31 pm, Xof x...@thebuild.com wrote:
My apologies if this is an FAQ.
In the situation where the client-server connection is broken (user
hits cancel, etc.), what happens to the Python instance handling that
connection? Does it run to
2009/10/10 gert gert.cuyk...@gmail.com:
On Oct 10, 1:03 am, gert gert.cuyk...@gmail.com wrote:
On Oct 10, 12:43 am, gert gert.cuyk...@gmail.com wrote:
On Oct 9, 7:31 pm, Xof x...@thebuild.com wrote:
My apologies if this is an FAQ.
In the situation where the client-server
2009/10/10 Johan johan.nordenswan@student.lu.se:
I think it runs to completion anyway.
I don't think the wsgi has insight into tcp transmissions from the the
server. A webapp could be made to detect this anyway by demanding a
reply from the client. So for instance, a script that does:
2009/10/10 Xof x...@thebuild.com:
My apologies if this is an FAQ.
In the situation where the client-server connection is broken (user
hits cancel, etc.), what happens to the Python instance handling that
connection? Does it run to completion anyway, get killed, die when it
tries to write
On Oct 10, 2009, at 3:40 AM, Graham Dumpleton wrote:
Read this thread.
http://groups.google.com/group/modwsgi/browse_frm/thread/8ebd9aca9d317ac9
Will save me explaining it again.
Perfect, thanks!
--
-- Christophe Pettus
x...@thebuild.com
On Oct 9, 7:31 pm, Xof x...@thebuild.com wrote:
My apologies if this is an FAQ.
In the situation where the client-server connection is broken (user
hits cancel, etc.), what happens to the Python instance handling that
connection? Does it run to completion anyway, get killed, die when it
On Oct 10, 12:43 am, gert gert.cuyk...@gmail.com wrote:
On Oct 9, 7:31 pm, Xof x...@thebuild.com wrote:
My apologies if this is an FAQ.
In the situation where the client-server connection is broken (user
hits cancel, etc.), what happens to the Python instance handling that
connection?
On Oct 10, 1:03 am, gert gert.cuyk...@gmail.com wrote:
On Oct 10, 12:43 am, gert gert.cuyk...@gmail.com wrote:
On Oct 9, 7:31 pm, Xof x...@thebuild.com wrote:
My apologies if this is an FAQ.
In the situation where the client-server connection is broken (user
hits cancel, etc.),
I have since created a minimal Quixote application that reproduces the
problem. So I then interposed the suggested logging middleware and got
the log below. As can be seen, there is a response header Status
with a value of 403 (set by Quixote's http_response.set_header
method), but this doesn't
I wrote:
As can be seen, there is a response header Status
with a value of 403 (set by Quixote's http_response.set_header
method), but this doesn't seem to have been translated into the
mod_wsgi's own Status value , which is set to 200.
I dug into the QWIP code that adapts Quixote to WSGI
Dear Graham
First, I want to thank you for your quick support (even on weekends!)!
As you suggested I made a fresh compile install of mod_wsgi with the
--with-python option.
Doing so I got rid of the apache warnings.
Unfortunately though, it still uses the wrong Python path ( /usr/
lib/... )
2009/9/14 lukas venode@gmail.com:
Dear Graham
First, I want to thank you for your quick support (even on weekends!)!
As you suggested I made a fresh compile install of mod_wsgi with the
--with-python option.
Doing so I got rid of the apache warnings.
Unfortunately though, it still
2009/9/9 Jeff Jenkins aposiope...@gmail.com:
I'm registering the handler like this:
import signal
signal.signal(signal.SIGQUIT, Handler())
in the .wsgi file. The Handler object's __call__ method uses the
inspect module to get the stack frames, and then prints them to
sys.stderr (as well
I'm registering the handler like this:
import signal
signal.signal(signal.SIGQUIT, Handler())
in the .wsgi file. The Handler object's __call__ method uses the
inspect module to get the stack frames, and then prints them to
sys.stderr (as well as to a file, and a database).
We're using the
2009/9/6 Jeff Jenkins aposiope...@gmail.com:
For a project I'm involved with I had to create something which could
dump the stack traces of the running threads. Since apache/mod_wsgi
is using multiple python interpreters, I'm sending a SIGQUIT to all of
the processes, which they're catching
I downloaded and installed mod_wsgi 3.0c4. But I'm still getting the
same error. Here is the tail on the apache log:
[Mon Aug 31 23:57:03 2009] [warn] Init: Session Cache is not
configured [hint: SSLSessionCache]
[Mon Aug 31 23:57:03 2009] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Mon Aug 31
This is getting to be a pain in the neck. Some installations will not
work when -F/-framework is used, showing the symptom you see instead,
and require linking to libpython2.6.a to work. As far as I can tell it
isn't related to the specific Python version but some other oddity
which may even
Did you install XCode from the optional installs directory of the Snow
Leopard disk?
No, I hadn't realized I needed to reinstall it.
Send a directory listing of what is in that directory as well as:
/usr/include/apache2
Looks like everything is here after I re-installed XCode:
2009/8/31 Andrey Fedorov anfedo...@gmail.com:
Did you install XCode from the optional installs directory of the Snow
Leopard disk?
No, I hadn't realized I needed to reinstall it.
I didn't either until I upgraded. :-)
Send a directory listing of what is in that directory as well as:
Okay, I have looked at the compiled output and you are perhaps using
standard Apache tools.
Can you use spotlight to find location of 'httpd.h' on Snow Leopard.
Doesn't look to be in place it is supposed to be.
I wander if Snow Leopard requires special package to be installed to
allow code
2009/8/31 Rascal jonras...@gmail.com:
Hi,
Motivation for this question stems from a recent post on the mod-
python list stating that mod_python is no longer developed. Is that
true? The feature I used was hooking a python script in apache's fixup
phase where my authen/authz and global
2009/8/31 Graham Dumpleton graham.dumple...@gmail.com:
Okay, I have looked at the compiled output and you are perhaps using
standard Apache tools.
Can you use spotlight to find location of 'httpd.h' on Snow Leopard.
Doesn't look to be in place it is supposed to be.
I wander if Snow Leopard
Did you install XCode from the optional installs directory of the Snow
Leopard disk?
None of the required header files are installed with the base
operating system release.
So, if not installed, likely you are using MacPorts gcc, but can't
find any installed header files to compile against.
I
BTW, the command line Python in Snow Leopard is now also 64 bit.
$ file /usr/bin/python
/usr/bin/python: Mach-O universal binary with 3 architectures
/usr/bin/python (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/python (for architecture i386):Mach-O executable
2009/7/24 Eder Carneiro edercarne...@gmail.com:
Hi all
I'm in beginning of using mod_wsgi and cherrypy. I read about mod_wsgi
+ cherrypy integration on this group's wiki, and following that guide,
i could get them working toghether in a simple hello world like
application. My apache wsgi
2009/7/17 Ronaldo Maia mai...@gmail.com:
Hello all.
Reading the documentation, I came up with this for my site:
VirtualHost
This is wrong, should be something like:
VirtualHost *:80
ServerName www.stoq.com.br
AddDefaultCharset utf-8
DocumentRoot /var/www/stoq.com.br/www
Hmmm, maybe that should be a snake in Malt Whiskey in particular. See:
http://botland.oebfare.com/logger/django/2009/6/17/21/
to try and understand my obscure thinking. :-)
Graham
2009/6/6 gert gert.cuyk...@gmail.com:
On Jun 6, 5:38 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On Jun 6, 5:38 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/6/6 gert gert.cuyk...@gmail.com:
Suggestions ? Because if Graham makes it, it will end up something
like a debian logo, that looks like crap, literally
How about:
201 - 300 of 430 matches
Mail list logo