Skip site navigation (1) Skip section navigation (2)

Re: Mac OS "crash"

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Mac OS "crash"
Date: 2004-03-19 10:13:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Adam H. Pendleton wrote:

> Well pgAdmin3 on Panther runs and then suddenly exits, but it's not a 
> crash.  It's a clean exit when the program encouters a problem, but 
> there is no "sane" error handler for the problem.  The code in 
> question is:
> pgAdmin3.cpp:329
> int count = wxDir::GetAllFiles(uiPath+COMMON_DIR, &files, 
> wxT("*.xrc"), wxDIR_FILES);
> if (!count)
>    return false;

Are the *.xrc files present there?
For testing purposes, you could change that #ifdef embracint that part 
of code, to use embedded xrc dialogs instead of loading them from file. 
Since usually xrc dialogs are piggy-backed on the executable, I didn't 
bother about debug code here.


In response to


pgadmin-hackers by date

Next:From: Adam H.PendletonDate: 2004-03-19 11:36:37
Subject: Re: Mac OS "crash"
Previous:From: Hiroshi SaitoDate: 2004-03-18 19:08:00
Subject: Re: Mac OS "crash"

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group