Issue with new save-as dialog for postgres
Scott Peshak
speshak at randomscrews.net
Mon May 18 22:19:35 EDT 2009
On Mon, May 18, 2009 at 8:33 PM, Scott Peshak <speshak at randomscrews.net> wrote:
> On Mon, May 18, 2009 at 7:44 PM, Phil Longstaff <plongstaff at rogers.com> wrote:
>
>>
>> Does anything show up in your gnucash trace file?
>
> Yep:
>
> * 17:22:14 CRIT <gnc.backend.dbi> [gnc_dbi_postgres_session_begin()]
> Unable to connect to
> postgres://postgres.otherhost.local:gnucash:gnucash:password: -2
> * 17:22:28 CRIT <GLib> g_hash_table_destroy: assertion `hash_table !=
> NULL' failed
> * 17:22:42 CRIT <gnc.gui> cb_uri_type_changed_cb: assertion `faw !=
> NULL' failed
> * 17:23:10 CRIT <gnc.backend.dbi> [pgsql_error_fn()] DBI error: could
> not connect to server: Connection refused
> Is the server running on host "postgres.otherhost.local" and accepting
> TCP/IP connections on port 0?
>
> I can successfully connect using the psql CLI client from my
> workstation to that server as the gnucash user, so I'm not sure why
> this is happening.
>
I hate to reply to my own post, but I did a little more digging on this.
Gnucash is trying to connect to port 0 for some reason. I confirmed
this with wireshark. I tried adding :5432 to the host text field, but
this had no effect.
-Scott
More information about the gnucash-devel
mailing list