Ivan Pavlov wrote:
> On 5/18/07, *Dave Page* <dpage(at)postgresql(dot)org
> <mailto:dpage(at)postgresql(dot)org>> wrote:
> I haven't seen a pgadmin logfile from you yet so I wouldn't know what is
> new and what isn't!
> What I meant is - all entries in the log are timestamped and there were
> only some month old sql errors in there.
> They don't help much unfortuantely. Can you fire it up in gdb and get a
> plain old back trace please?
> Here it is:
> #0 0xb77225ae in wxStringBase::find () from /usr/lib/libwx_baseu-2.8.so.0
> #1 0xb772534a in wxStringBase::find () from /usr/lib/libwx_baseu-2.8.so.0
> #2 0xb77253e4 in wxString::Find () from /usr/lib/libwx_baseu-2.8.so.0
> #3 0x08347dee in isPgApp ()
> #4 0x0807ace5 in pgAdmin3::InitPaths ()
> #5 0x0808168e in pgAdmin3::OnInit ()
> #6 0x08084d01 in wxAppConsole::CallOnInit ()
> #7 0xb7700250 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
> #8 0xb7700327 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
> #9 0x08075960 in main ()
> Seems to be wxBase problem - my version is 184.108.40.206-0ubuntu4 . Hmmm... I
> will install wxWidgets from source and recompile pgAdmin...
I just dusted off my FC6 VM, installed PostgreSQL 8.2.4 and wxGTK 2.8.4,
both from source and SVN-trunk builds and runs perfectly (all bar a
minor toolbar button sizing issue that you wouldn't notice unless you
stared at pgAdmin as much as I do!!).
The pgAdmin function it's dying in is this:
bool isPgApp(const wxString &app)
wxExecute(app + wxT(" --version"), output, 0);
Given that it appears to be bailing in wxStringBase::find, I'd guess
that's the "if (output.Contains(wxT("PostgreSQL")))" line. There's
nothing wrong with that, so I'd have to guess there's a problem with
your wx build.
I agree with your idea - grab wxGTK 2.8.4 and try rebuilding it from
scratch (there's a script in xtra/wx-build in the pgAdmin source tree to
build all the different combinations of build that we support).
In response to
pgadmin-hackers by date
|Next:||From: Raphaël Enrici||Date: 2007-05-18 21:21:22|
|Subject: pgAdmin III 1.6.3 for debian etch uploaded.|
|Previous:||From: svn||Date: 2007-05-18 17:35:05|
|Subject: SVN Commit by dpage: r6309 - trunk/pgadmin3|