* Take a look at your web2py error logs - it usually gives you the
reason as to what is wrong (even if your admin app does not work,
just open the error logs in a text editor and view it)
* Did you try running web2py from the console - python web2py -S
<some-test-app-name>
Then you can try to do the usual db=DAL(postgresql connection
string) to see if the connect works.
* If it does, then try to work with your application and its models
from the console - python web2py -S <your app> -M (to load the
models), and try some operations from within there
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Fri, 05-06-2015 2:50 PM, weheh wrote:
Grrr.
I just upgraded postgresql to the latest version 9.4 on Windows. I was
surprised to see that it didn't overwrite the Postgres 9.2 install on
my system. So I backed up my 9.2 db, created a new db under 9.4 and
restored the 9.2 db into the 9.4 db. Everything seemed OK. But web2py
wouldn't connect.
So, I rebooted. No connect to 9.4.
I then removed Postgres 9.2. No connect to 9.4.
Then I upgraded to the latest source version of web2py for Windows.
Still no connect. And now, I'm getting an invalid URL when I try to go
to http://127.0.0.1:8000/admin.
So now I have 2 problems: can't get to admin page, can't connect to
Postgres.
Anybody have any ideas how to proceed? I seem to be dead in the water.
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google
Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.