[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] (no subject)

From: David Grant
Subject: [Gnumed-devel] (no subject)
Date: Mon, 09 Jun 2003 21:49:17 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030601

I'm an experienced Linux user and I know Python, but I'm a total postgresql newbie (and a newbie to all databases for that matter).

I installed postgresql and created a user named "david" and I created a database as that user, called "gnumed". The database and user exist, as confirmed by webmin. When I try to run "", I get the following error:

[PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ query >>>select name from distributed_db;<<< failed [PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ exception type : libpq.OperationalError [PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ exception value: ERROR: Relation "distributed_db" does not exist

[PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ Traceback (most recent call last):<#10-0x0A-lf> [PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ File "/home/david/cvs/gnumed/gnumed/client/python-common/", line 545, in run_query<#10-0x0A-lf> aCursor.execute(aCmd)<#10-0x0A-lf> [PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ File "/usr/lib/python2.2/site-packages/pyPgSQL/", line 2956, in execute<#10-0x0A-lf> raise OperationalError, msg<#10-0x0A-lf> [PANIC] (/home/david/cvs/gnumed/gnumed/client/python-common/ OperationalError: ERROR: Relation "distributed_db" does not exist<#10-0x0A-lf><#10-0x0A-lf>

I think I recognize "select name from distributed_db;" as some sort of SQL query... Is my database not initialized properly? By the way, what's the best way to clear my database and start over. Can I just delete the /var/lib/postgresql/data directory? Thanks.

Please CC any replies to address@hidden

David Grant

reply via email to

[Prev in Thread] Current Thread [Next in Thread]