| 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: | 405AC7BC.2060201@pse-consulting.de | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| 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.
Regards,
Andreas
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adam H.Pendleton | 2004-03-19 11:36:37 | Re: Mac OS "crash" | 
| Previous Message | Hiroshi Saito | 2004-03-18 19:08:00 | Re: Mac OS "crash" |