From: GSP <baycity...@gmail.com>
Date: Mon, 31 Mar 2008 18:02:32 -0700 (PDT)
Local: Mon, Mar 31 2008 9:02 pm
Subject: Re: mod_wsgi + database transaction problems.
Hello Graham,
Based on the provided info and configuration, were you able to
Thanks!
On Mar 29, 1:18 am, vandevel <vande...@gmail.com> wrote:
> Thanks for the prompt response. I am aware of the problems with using
> SQLObject in a multi-process environment > so mod_wsgi was configured to run in daemon mode. I'm not entirely > familiar with apache configuration so I am guessing the daemon > process is running as Apache user since I did not explicitly set that > configuration option. > I did discover an issue in the my code which lead to the error when
> The apache configuration is as follows(purged of sensitive details of
> WSGIDaemonProcess site-1 threads=25
> Alias /static /project_dir/static
> WSGIScriptAlias / /project_dir/project.wsgi
> NameVirtualHost *:80
> DocumentRoot /project_dir
> # Possible values include: debug, info, notice, warn, error,
> CustomLog /var/log/apache2/access.log combined
> <Directory /project_dir>
> Thanks for your help!
> On Mar 28, 10:48 pm, Graham Dumpleton <Graham.Dumple...@gmail.com>
> > On Mar 29, 10:17 am, vandevel <vande...@gmail.com> wrote:
> > > I am wondering if anyone has experienced database transaction problems
> > > AssertionError: This transaction has already gone through ROLLBACK;
> > > This only occurs when running the app behindmod_wsgi, however it is
> > More information required.
> > Are you running your application in embedded mode of mod_wsgi or in
> > http://code.google.com/p/modwsgi/wiki/IntegrationWithTurboGears
> > If running in daemon mode, are you running it as Apache user, or did
> > Anyway, post what the mod_wsgi configuration you are using is from
> > Grahamth You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||