Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqIwr-00014P-F9 for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 17:22:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqIwq-0000PH-FL for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 17:22:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqIwq-0000FD-61 for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 17:22:00 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqIwo-0008IK-5a for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 17:21:59 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 670BD2A0106 for ; Mon, 7 Jun 2021 10:21:57 -0700 (PDT) Date: Mon, 7 Jun 2021 10:21:57 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Database issues when adding GUI In-Reply-To: Message-ID: References: <48392c33-d63e-15be-e7de-d7a7c0c2fd80@gmail.com> <34B90F57-654D-4170-A7E9-613EB40A952C@americanefficient.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 7 Jun 2021, Adrian Klaver wrote: > No this is because you did not use an actual connection string e.g: > psycopg2.connect("host=salmo user=rshepard dbname=bustrac") > Instead you used an undefined variable bustrac per the error message: > NameError: name 'bustrac' is not defined Adrian, First I'll upgrade 12.2 to 12.7, then I'll upgrade PyQt5. Thanks, Rich