Обсуждение: BUG REPORT : PGACCESS : :Database::getTablesList can't read "::Connections::Conn(pgversion,2)": no such element in array
BUG REPORT : PGACCESS : :Database::getTablesList can't read "::Connections::Conn(pgversion,2)": no such element in array
От
James Michael DuPont
Дата:
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