Mac OS "crash" - Mailing list pgadmin-hackers

From Adam H. Pendleton
Subject Mac OS "crash"
Date
Msg-id 4059EE58.6060904@fmonkey.net
Whole thread Raw
Responses Re: Mac OS "crash"  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers
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;

On Panther count == 0, and since OnIni() just returns false, the program
just stops instead of printing an error.  There should probably be an
error handler here.  As for why GetAllFiles is returning 0, well, I
don't know.  The directory path seems okay ("/usr/local/pgadmin3/ui" +
"common") but it still loads nothing.  Any ideas?

ahp

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pgAdmin3 on Panther
Next
From: "Hiroshi Saito"
Date:
Subject: Re: Mac OS "crash"