Dear All.

I am trying to migrate my web2py applications to the new version 2.3.2 and 
deploy with nginx + uwsgi but i am received the following error:


DEBUG: connect attempt 4, connection error:
Traceback (most recent call last):
  File "/home/www-data/web2py/gluon/dal.py", line 6771, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/home/www-data/web2py/gluon/dal.py", line 2475, in __init__
    self.after_connection()
  File "/home/www-data/web2py/gluon/dal.py", line 2479, in after_connection
    self.execute("SET standard_conforming_strings=on;")
  File "/home/www-data/web2py/gluon/dal.py", line 1671, in execute
    return self.log_execute(*a, **b)
  File "/home/www-data/web2py/gluon/dal.py", line 1665, in log_execute
    ret = self.cursor.execute(*a, **b)
OperationalError: no se puede cambiar el parámetro «standard_conforming_strings»

I am using postgresql version 8.1.9

My db.py:

db = DAL('postgres://bla:foo@192.168.1.26:5432/cltes')

What i am doing wrong?

>From the old web2py and apache apps running very well.

Regards.




-- 



Reply via email to