I found something in the archive.
This seems to be multiple python versions issue, but still do not have a
solution. Unfortunately, this server is preinstalled with python2.4 and
I am trying to use 2.6, which can't be probably found under mod_wsgi
Julius
V Štvrtok, 27. máj 2010 o 12:54 +0200, Jul
I was too fast.
It works when accessed on port.
It doesn't when accessed through mod_wsgi:
File "gluon/sql.py", line 3835, in DAL
migrate=migrate, fake_migrate=fake_migrate)
File "gluon/sql.py", line 959, in __init__
self._pool_connection(lambda : psycopg2.connect(msg))
File "gluon/sq
I found the reason by removing exception catching when connecting to
Postgres in gluon/sql.py.
It told me that this line
self._execute("SET standard_conforming_strings=on;")
is a problem.
I commented it out and everything is fine until now.
Can this removal have a side effect?
Julius
V Št
I did that as first thing. No luck.
I changed it to IP as I it works from command line.
Julius
V Streda, 26. máj 2010 o 19:41 -0500, Thadeus Burgess napísal(a):
> Try
>
> postgres://w2p:passw...@localhost:5432/w2p
>
> --
> Thadeus
>
>
>
>
>
> On Wed, May 26, 2010 at 5:17 PM, Julius Minka
Try
postgres://w2p:passw...@localhost:5432/w2p
--
Thadeus
On Wed, May 26, 2010 at 5:17 PM, Julius Minka wrote:
> This is virtual server with centos 5.5 in internet.
> I have successfully instaled web2py with Apache and mod_wsgi based
> mainly on instructions from
> http://web2py.com/AlterEg
This is virtual server with centos 5.5 in internet.
I have successfully instaled web2py with Apache and mod_wsgi based
mainly on instructions from
http://web2py.com/AlterEgo/default/show/239 and
http://web2py.com/AlterEgo/default/show/240
Probably last step is missing.
I am getting this error wh
6 matches
Mail list logo