Thread: Tcl Error

Tcl Error

From
setyawan_kim
Date:
Hi,

I have PgAccess 0.98.7 and I clicked on the button "Database ", "New" Name  : Employer "Create"

Error : Tcl Error executing pg_exec create database Employer is not a valid
postgreSQL connection

Operating system Linux Mandrake 9.0 (dolphin) , PostgreSQL-7.2.2-1mdk,
Tk-8.3.3-21mdk

What can I do ?




Setyawan


Re: Tcl Error

From
Constantin Teodorescu
Date:
setyawan_kim wrote:

>Hi,
>
>I have PgAccess 0.98.7 and I clicked on the button "Database ", "New"
>  Name  : Employer 
> "Create"
>
>Error : Tcl Error executing pg_exec create database Employer is not a valid 
>postgreSQL connection
>
>Operating system Linux Mandrake 9.0 (dolphin) , PostgreSQL-7.2.2-1mdk, 
>Tk-8.3.3-21mdk
>
>What can I do ?
>
>  
>

In order to create a new database, you should be connected to an 
existing one.
Try connecting to 'template1' database (always exist) and then create a 
new database.

Teo
Braila, ROMANIA




Re: Tcl Error

From
JL
Date:
On Tue May 27 2003 00:50, Constantin Teodorescu wrote:
<snip>
> In order to create a new database, you should be connected to an
> existing one.
> Try connecting to 'template1' database (always exist) and then create a
> new database.

IMHO this is the nonsence.
It is not logical to think in those terms.

The pgaccess code should trap the error, as it knows that"you should be connected to an existing one".
And then, pgaccess code should do, whatever else needs to be done.

-- 
John Turner
http://Members.Ntelos.Net/~JLT
JCI Inc.
304 776 3675
"Just because you do not know the answer,
does not mean that someone else does"
Sephen J. Gould {RIP}


Maybe Off Topic -- PGACCESS

From
Jeff Silberberg
Date:
<br /> Went to install the latest TCL/TK & PGACCESS on a Win 2K pro system tonight and had some issues..  So I
attemptedto go to the <br /> host web site <a eudora="autourl" href="http://www.pgaccess.org/">www.pgaccess.org</a> and
geta domain not found,  an attempt to email support@pgaccess.org returns a similar <br /><br /><blockquote cite="cite"
class="cite"type="cite"><blockquote cite="cite" class="cite" type="cite">Failed to deliver to 'support@pgaccess.org'<br
/>SMTP module(domain @192.168.23.136:pgaccess.org) reports:<br />  host name is unknown</blockquote></blockquote><br />
Doesanyone know the status of this project ??  The current web host ??  What memo did I miss :-)  ?<br /><br /> Anyone
havesuccess with  tcl/tk  ActiveTcl8.3.5.0-2-win32-ix86.exe &  pgaccess-0_98_8_20030117-WIN32.zip on a <br /> Win
2Kpro box. An yes I moved and renamed the DLL's into winnt/system..<br /><br /> TIA,<br /><p> Jeffrey Silberberg<br
/><fontcolor="#0000FF" face="Bookman Old Style, Bookman">CompuDesigns, Inc.<br /></font>Atlanta, GA. 30350<br /><br /> 

Re: Maybe Off Topic -- PGACCESS

From
"C. Maj"
Date:
On Thu, 29 May 2003, Jeff Silberberg waxed:

8<'s

> Does anyone know the status of this project ??  The current web host
> ??  What memo did I miss :-)  ?

Downloads are still available on sourceforge, but the wiki, CVS, and
mailing lists are down.  Good news is that a Starkit is now available
for download thanks to Brett Schwarz and much thanks to L. J. Bayuk for
his pgin.tcl code.

> Anyone have success with  tcl/tk  ActiveTcl8.3.5.0-2-win32-ix86.exe
> &  pgaccess-0_98_8_20030117-WIN32.zip on a
> Win 2K pro box. An yes I moved and renamed the DLL's into winnt/system..

The latest release was 0.98.8.20030520, available as a Starkit at:
   http://prdownloads.sourceforge.net/pgaccess/pgaccess.kit?download

Running the Starkit on OSX won't work, but for Linux and Win it should
make installation much easier.  You will need to first install Tclkit
for your platform, followed by the Starkit.

For more on Starkits, including an always fresh pgaccess.kit file, check
the Starkit Distribution Archive:
   http://mini.net/sdarchive/

The releases are also published on freshmeat, you can subscribe to the
list of new release notifications there as well.

--Chris


-- 

Chris Maj <cmaj_hat_freedomcorpse_hot_info>
0xC0051F6A
5EB8 2035 F07B 3B09 5A31  7C09 196F 4126 C005 1F6A