>>> 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'
>>>
thanks a lot!
On Tue, May 13, 2008 at 6:22 PM, Justin Davis <[EMAIL PROTECTED]> wrote:
>
> Could you show how the db character is defined? That could help track
> down the problem.
>
> On May 13, 7:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > I upgraded to fedora core 9, and any db method I call, I just get this
> > message 'Aborted' and the whole app just ends. I have psycopg2, DButils,
> > web.py 0.3, python 2.5.1 installed
> >
> > how to fix this?
> >
> > >>> db.query('select * from users limit 1')
> >
> > Aborted
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---