Re: Mac OS "crash" - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Mac OS "crash"
Date
Msg-id 405AC7BC.2060201@pse-consulting.de
Whole thread Raw
In response to Mac OS "crash"  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
Responses Re: Mac OS "crash"  (Adam H.Pendleton <fmonkey@fmonkey.net>)
List 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


pgadmin-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Mac OS "crash"
Next
From: Adam H.Pendleton
Date:
Subject: Re: Mac OS "crash"