Re: [gnome-db] libgnomedb: Starting the example
- From: Murray Cumming <murrayc murrayc com>
- To: Vivien Malerba <vmalerba gmail com>
- Cc: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] libgnomedb: Starting the example
- Date: Mon, 04 Dec 2006 08:58:26 +0100
On Fri, 2006-12-01 at 10:40 +0100, Vivien Malerba wrote:
> On 11/30/06, Murray Cumming <murrayc murrayc com> wrote:
> > When I cd to testing and try to run ./test-dyn-widgets
> >
> > I see a dialog with this error:
> > "
> > Error opening the connection
> > '/home/murrayc/cvs/gnome216/branches/HEAD/libgnomedb/testing/TEST_DICT_sqlite.xml':
> > No DSN or connection string specified
> > "
>
> Ok, this is a bit annoying... I'll fix that,
So what is causing it?
> but for now you'll have
> to declare a new datasource such as:
> "
> <section path="/apps/libgda/Datasources/GnomeDbSqliteTest">
> <entry name="Provider" type="string" value="SQLite"/>
> <entry name="DSN" type="string" value="DB_DIR=<the path to your
> testing dir>;DB_NAME=TEST_sqlite"/>
> <entry name="Description" type="string" value=""/>
> <entry name="Username" type="string" value=""/>
> <entry name="Password" type="string" value=""/>
> </section>
> "
Thanks. I assume you mean that I should add that inside the
<libgda-config> node in $HOME/.gda/config. I tried that (see below) but
I still see the error message.
<?xml version="1.0"?>
<libgda-config>
<section path="/apps/libgda/Datasources/GnomeDbSqliteTest">
<entry name="Provider" type="string" value="SQLite"/>
<entry name="DSN" type="string"
value="DB_DIR=/home/murrayc/cvs/gnome216/branches/HEAD/libgnomedb/testing;DB_NAME=TEST_sqlite.db"/>
<entry name="Description" type="string" value=""/>
<entry name="Username" type="string" value=""/>
<entry name="Password" type="string" value=""/>
</section>
</libgda-config>
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]