agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Tim.Wadsworth@brunel.ac.uk
To: Postgres mailing list <postgres@postgres.Berkeley.EDU>
Subject: pgbrowse starts up but then dies ...
Date: Wed, 15 Feb 1995 19:37:10 +0100 (GMT)
Message-ID: <1588.199502151937@h3pc-06.brunel.ac.uk> (raw)

Hi,

I have *partially* solved the problem I posted a couple of weeks ago, by
recompiling wishpqx from the source. The binary which came with the newbie
distribution was giving a segmentation fault - possibly because I am running
X11R6 ...

Anyway, I now get the pgbrowse box up, and 'Connecting to localhost ...', but
it immediately dies. Postmaster *is* running. I am using Linux 1.1.59 and
tcl/tk, all from the Slackware 2.1.0 distribution.

It is probably something quite simple, but I know very little about tcl/tk ...
the errors that appear on stdout are below.

Thanks in advance for any help!

> pgbrowse
invalid command name "PQsethost"
    while executing
"error "invalid command name \"$name\"""
    invoked from within
"if {!$tcl_interactive || ([info level] > 2) || [info script] != ""} {
        error "invalid command name \"$name\""
    }"
    (procedure "tclx_unknown2" line 17)
    invoked from within
"tclx_unknown2 $args"
    invoked from within
"return [tclx_unknown2 $args]..."
    (procedure "unknown" line 8)
    invoked from within
"PQsethost $a1"
    ("sethost" arm line 1)
    invoked from within
"case $cmd in {
        host {PQhost}
        port {PQport}
        db {PQdb}
        dbs {return [Tku_ListboxDump .dbs.listbox]}
        sethost {PQfinish; PQsethost $a1}
        ..."
    (procedure "PQ" line 10)
    invoked from within
"PQ sethost $host"
    (procedure "GetDbs" line 6)
    invoked from within
"GetDbs localhost 4321"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $args"
    invoked from within
"return [uplevel 1 $args]..."
    invoked from within
"if [auto_load [lindex $args 0]] {
        return [uplevel 1 $args]
    }"
    (procedure "unknown" line 2)
    invoked from within
"GetDbs $host $port"
    invoked from within
"if $PGB(-hide) {
        set PGB(dbs) $db
        PQ sethost $host
        PQ setport $port
        PQ setdb $db
        set n 0
        foreach c [split $query ,] {
                lappend PGBC(classes) $c ..."
    (file "/usr/local/postgres/pgbrowse/lib/init.tcl" line 267)
    invoked from within
"source /usr/local/postgres/pgbrowse/lib/init.tcl"

>

Tim.

 ________________________________________________
|                                                |
| From Tim Wadsworth: Tim.Wadsworth@brunel.ac.uk |
|________________________________________________|

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



reply

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: postgres@postgres.berkeley.edu
  Cc: Tim.Wadsworth@brunel.ac.uk
  Subject: Re: pgbrowse starts up but then dies ...
  In-Reply-To: <1588.199502151937@h3pc-06.brunel.ac.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox