On 12/4/06, Murray Cumming <murrayc murrayc com> wrote:
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>
The problem was an inaccurate call (I inverted arguments in the call...) Here is a patch to fix that (you don't need to add anything to your ~/.libgda/config file anymore). Cheers, Vivien
Attachment:
patch
Description: Binary data