From: James Michael DuPont <mdupont777@yahoo.com>
To: pgsql-interfaces@postgresql.org
To: olly@lfix.co.uk
To: submit@bugs.debian.org
Subject: BUG REPORT : PGACCESS : :Database::getTablesList can't read "::Connections::Conn(pgversion, 2)": no such element in array
Date: Thu, 16 Jan 2003 22:47:25 -0800 (PST)
Message-ID: <20030117064725.36203.qmail@web13305.mail.yahoo.com> (raw)
Dear Sirs,
It looks like a problem in the internal data model of the tables.
When i try and create a new table, it is not displayed.
but it is created. If i export the table, it is in the dump.
This is what i think is the important failling functoin
: :Database::getTablesList
this is the error:
can't read "::Connections::Conn(pgversion,2)": no such element in array
I also get an error on startup about the ~/.pgaccess/connections file
(see the [Startup Error :] section of the mail)
SECTIONS in the MAIL :
[Error log : ]
[Startup Error :]
[~/.pgaccess/connections contents]
This is running on debian unstable with the following versions :
------------------------------------------------
Package: pgaccess
Status: install ok installed
Version: 1:0.98.8.20021216-4
Depends: tcl8.3 | tcl8.4, tk8.3 | tk8.4, libpgtcl (>= 7.2), tcllib
--------------------------------------------
Package: libpgtcl
Status: install ok installed
Source: postgresql
Version: 7.3.1-4
Depends: libpq3 (>= 7.3.1), tcl8.4 | tclsh, tk8.4 | wish, libc6 (>=
2.3.1-1), libkrb5-17-heimdal (>= 0.4e-23), libpam0g (>= 0.76),
libreadline4 (>= 4.3-1), libssl0.9.6, xlibs (>> 4.1.0), zlib1g (>=
1:1.1.4)
-------------------------------------
[Error log : ]
-----------------------------------------
can't read "::Connections::Conn(pgversion,2)": no such element in array
can't read "::Connections::Conn(pgversion,2)": no such element in array
while executing
"set V $::Connections::Conn(pgversion,$id)"
(procedure "::Database::getTablesList" line 13)
invoked from within
"::Database::getTablesList"
(procedure "::Database::getObjectsList" line 8)
invoked from within
"::Database::getObjectsList Tables"
(procedure "::PgAckages::save" line 25)
invoked from within
"::PgAckages::save"
("uplevel" body line 2)
invoked from within
"uplevel \#0 $cmd"
(procedure "Button::_release" line 18)
invoked from within
"Button::_release .pgaw:PgAckages:file.fbtn.busage"
(command bound to event)
-----------------------------------------
[Startup Error :]
-----------------------------------------
ERROR: There seems to be a problem with your connections file.
A host/db combination should be unique and the db should not be empty
string
Check host/db: localhost/introspector with ids: 1 2 3
Try removing the ~/.pgaccess/connections file
Skipping this host/db combination
-----------------------------------------
[~/.pgaccess/connections contents]
-----------------------------------------
last_id 3 password,1 {} password,2 {} password,3 {} host,1 localhost
host,2 localhost host,3 localhost username,1 mdupont username,2 mdupont
username,3 mdupont handle,1 pgsql10 pgport,1 5432 handle,2 pgsql9
savepasswords,1 0 pgport,2 5432 handle,3 pgsql9 pgport,3 5432
savepasswords,2 0 savepasswords,3 0 dbname,1 introspector dbname,2
introspector dbname,3 introspector {pgversion,1 2 3} {}
mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mdupont777@yahoo.com, olly@lfix.co.uk, submit@bugs.debian.org
Subject: Re: BUG REPORT : PGACCESS : :Database::getTablesList can't read "::Connections::Conn(pgversion, 2)": no such element in array
In-Reply-To: <20030117064725.36203.qmail@web13305.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox