Try adding:

WSGIApplicationGroup %{GLOBAL}

It may be an issue with working in sub interpreters. That directive will
force your application to run in the main interpreter context within the
process.

Yell us if that helps or not.

Graham


On 13 April 2013 06:22, Joe Friedl <[email protected]> wrote:

> Hi,
>
> We're seeing the following error from cx_Oracle 5.1.1 when running under
> SQLAlchemy 0.7 and mod_wsgi: "Variable_TypeByValue(): unhandled data type
> Decimal". It happens on a cursor.execute() when inserting Decimal values to
> a Numeric field.
>
> cx_Oracle should be fine with Decimals, and has a type check for them
> right before that error that must be falling through.
>
> The error only shows up after we deploy. We're stopping Apache, replacing
> the virtualenv, then starting Apache back up. If we restart Apache again
> after this, the error stops appearing.
>
> We're configuring the virtualenv by using a base env and a
> process-specific one, like so:
>
> WSGIPythonHome /path/to/base/env
> <VirtualHost *:80>
>     ...
>     WSGIProcessGroup  web
>     WSGIDaemonProcess web user=web group=web processes=1 threads=19
> display-name=web python-path=/path/to/app/env/lib/python2.7/site-packages
>     WSGIScriptAlias   / /path/to/app/wsgi.py
>     ...
> </VirtualHost>
>
> We're not really sure where to even start looking. Does anyone have
> suggestions?
>
> Thanks,
> Joe
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to