On Apr 25, 10:06 pm, Newt wrote:
> Thank you very much,
> yes, it's the only app (well I have a production and development
> version of the same application running there).
> The production version is dj 1.0.2
> The development version is dj 1.1b - with the trunk version of django-
> pyodbc - b
Thank you very much,
yes, it's the only app (well I have a production and development
version of the same application running there).
The production version is dj 1.0.2
The development version is dj 1.1b - with the trunk version of django-
pyodbc - but I switched to this version in desperate respo
Presuming you are only running the one web application on the server,
do things improve it you add directive:
PythonInterpreter main_interpreter
to Apache configuration.
If it doesn't, not the same issue as pyscopg2.
Graham
On Apr 25, 9:13 pm, Newt wrote:
> I'm running it as mod_python on
I'm running it as mod_python on Ubuntu 8.04 server. I connect to
external MSSQL server thru django-pyodbc, the only thing I had to
install manually was the pyodbc, the rest was installed using package
manager (unix-odbc, freetds). I'm not much a server admin and it was a
few months ago.
Ales
On
On Apr 25, 12:37 am, Newt wrote:
> Hello,
>
> in my latest application I have models with like 15 Decimal fields,
> with different decimal places.
>
> when I try to save an object of that model, I get sometimes (often,
> but not always) this error:
>
> File "/home/newt/django/1.0/sites/cdms/i
Hi,
I'm pretty sure I use it correctly, but don't understand how this
fixes the problem :(.
I looked up the reload in the documentation and all it does a module
reload - where would I place it?
I was thinking i could convert all decimals to strings prior the
saving the new object, but it would no
Are you sure you're using it correctly? i googled it and came up with
this which is the exact same position you're in.
This never actually applies a value to be converted but it still tries
and that's what causes the error (i think)
>>> import decimal
>>> d = decimal.Decimal()
>>> reload(decimal
Hello,
in my latest application I have models with like 15 Decimal fields,
with different decimal places.
when I try to save an object of that model, I get sometimes (often,
but not always) this error:
File "/home/newt/django/1.0/sites/cdms/item/views.py", line 1054, in
item_copy
object.s
8 matches
Mail list logo