[EMAIL PROTECTED] wrote:
> >>> import web
> >>> db=web.database(**{'user': 'XXX', 'host': 'XXXX', 'db': 'XX',
> 'pw': 'XXXXX', 'dbn': 'postgres'})
> >>> db.query('select * from users limit 1')
> Aborted
>
> Python 2.5.1 (r251:54863, Apr 8 2008, 01:20:16)
> [GCC 4.3.0 20080404 (Red Hat 4.3.0-6)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import DBUtils
> >>> import psycopg2
> >>> import web
> we>>> web.__version__
> '0.3'
> >>>
it sounds like a problem with your postgres setup. Depending upon on
how you upgraded, you may have destroyed some of the postgres password
or rights tables - have you tried to select or upgrade any of the data
from just the command line using postgres ?
ps: this is why for desktop development we now use sqlite - it's so much
easier - then switch to postgres on the server (sql commands in your
code are the same)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---