Re: [gnome-db] error with libgda on win32
- From: Alan Knowles <alan akbkhome com>
- To: Daniel Morgan <danielmorgan verizon net>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] error with libgda on win32
- Date: Sun, 17 Oct 2004 20:37:53 +0800
The binary I built defaults to use C:\libgda\config (this is the xml file.)
Home directories do not appear to work on win98 (my only test
enviroment) - eg. get_home_dir() returns null; - so that section may be
ignored.
Regards
Alan
Daniel Morgan wrote:
There is an assertion with libgda on win32. Is there something I did wrong?
Is it trying to use GConf?
Is it looking for a config file? There is a config file at D:\Documents and
Settings\daniel\.libgda
Where D: is the system drive that has Windows XP Professional (with Service
Pack 2) installed.
I did install MySQL and PostgreSQL before running it and setting the
appropriate environment variables.
Also, where is the gda config program for configuring gda data sources?
How do I configure gda data sources?
Anyways, its nice to see parts of libgda working on Win32 by the ways.
C:\libgda>gdatest
=========================================
= Testing configuration API
=========================================
Section /apps/libgda
** (gda-test:444): CRITICAL **: file gda-config.c: line 140
(gda_config_parse_co
nfig_file): assertion `len != 0' failed
=========================================
= Testing provider configuration API
=========================================
Provider = MySQL
location = C:/libgda/providers\libgda-mysql.dll
description = Provider for MySQL databases
gda_params = DATABASE (Database Name) HOST (Host Name) PORT (Port)
UN
IX_SOCKET (UNIX Socket) USE_SSL (Use Secure Connection)
Provider = PostgreSQL
location = C:/libgda/providers\libgda-postgres.dll
description = Provider for PostgreSQL databases
gda_params = DATABASE (Database Name) SEARCHPATH (Search Path)
HOST (H
ost Name) HOSTADDR (Host Address) OPTIONS (Extra Options) PORT (Port)
REQUIR
ESSL (Require SSL) TTY (TTY)
=========================================
= Testing data source configuration
=========================================
=========================================
= Testing GdaValue's
=========================================
Testing value of type bigint
Native value = 123456789
Stringified value = 123456789
Stringified value after copy = 123456789
Testing value of type boolean
Native value = 1
Stringified value = TRUE
Stringified value after copy = TRUE
Testing value of type double
Native value = 3.141600
Stringified value = 3.14
Stringified value after copy = 3.14
Testing value of type string
Native value = This is a string
Stringified value = This is a string
Stringified value after copy = This is a string
=========================================
= Testing data models
=========================================
Testing list model...
Displaying data model 0078C100, with 1 columns and 0 rows
Testing array model...
Displaying data model 0078D7C0, with 6 columns and 50 rows
Column 0 - Row 0: This is a string
Column 1 - Row 0: 200
Column 2 - Row 0: FALSE
Column 3 - Row 0: 3.14
Column 4 - Row 0: Another string
Column 5 - Row 0: 4560.46
Column 0 - Row 1: This is a string
Column 1 - Row 1: 200
Column 2 - Row 1: FALSE
Column 3 - Row 1: 3.14
Column 4 - Row 1: Another string
Column 5 - Row 1: 4560.46
Column 0 - Row 2: This is a string
Column 1 - Row 2: 200
Column 2 - Row 2: FALSE
Column 3 - Row 2: 3.14
Column 4 - Row 2: Another string
Column 5 - Row 2: 4560.46
Column 0 - Row 3: This is a string
Column 1 - Row 3: 200
Column 2 - Row 3: FALSE
Column 3 - Row 3: 3.14
Column 4 - Row 3: Another string
Column 5 - Row 3: 4560.46
Column 0 - Row 4: This is a string
Column 1 - Row 4: 200
Column 2 - Row 4: FALSE
Column 3 - Row 4: 3.14
Column 4 - Row 4: Another string
Column 5 - Row 4: 4560.46
Column 0 - Row 5: This is a string
Column 1 - Row 5: 200
Column 2 - Row 5: FALSE
Column 3 - Row 5: 3.14
Column 4 - Row 5: Another string
Column 5 - Row 5: 4560.46
Column 0 - Row 6: This is a string
Column 1 - Row 6: 200
Column 2 - Row 6: FALSE
Column 3 - Row 6: 3.14
Column 4 - Row 6: Another string
Column 5 - Row 6: 4560.46
Column 0 - Row 7: This is a string
Column 1 - Row 7: 200
Column 2 - Row 7: FALSE
Column 3 - Row 7: 3.14
Column 4 - Row 7: Another string
Column 5 - Row 7: 4560.46
Column 0 - Row 8: This is a string
Column 1 - Row 8: 200
Column 2 - Row 8: FALSE
Column 3 - Row 8: 3.14
Column 4 - Row 8: Another string
Column 5 - Row 8: 4560.46
Column 0 - Row 9: This is a string
Column 1 - Row 9: 200
Column 2 - Row 9: FALSE
Column 3 - Row 9: 3.14
Column 4 - Row 9: Another string
Column 5 - Row 9: 4560.46
Column 0 - Row 10: This is a string
Column 1 - Row 10: 200
Column 2 - Row 10: FALSE
Column 3 - Row 10: 3.14
Column 4 - Row 10: Another string
Column 5 - Row 10: 4560.46
Column 0 - Row 11: This is a string
Column 1 - Row 11: 200
Column 2 - Row 11: FALSE
Column 3 - Row 11: 3.14
Column 4 - Row 11: Another string
Column 5 - Row 11: 4560.46
Column 0 - Row 12: This is a string
Column 1 - Row 12: 200
Column 2 - Row 12: FALSE
Column 3 - Row 12: 3.14
Column 4 - Row 12: Another string
Column 5 - Row 12: 4560.46
Column 0 - Row 13: This is a string
Column 1 - Row 13: 200
Column 2 - Row 13: FALSE
Column 3 - Row 13: 3.14
Column 4 - Row 13: Another string
Column 5 - Row 13: 4560.46
Column 0 - Row 14: This is a string
Column 1 - Row 14: 200
Column 2 - Row 14: FALSE
Column 3 - Row 14: 3.14
Column 4 - Row 14: Another string
Column 5 - Row 14: 4560.46
Column 0 - Row 15: This is a string
Column 1 - Row 15: 200
Column 2 - Row 15: FALSE
Column 3 - Row 15: 3.14
Column 4 - Row 15: Another string
Column 5 - Row 15: 4560.46
Column 0 - Row 16: This is a string
Column 1 - Row 16: 200
Column 2 - Row 16: FALSE
Column 3 - Row 16: 3.14
Column 4 - Row 16: Another string
Column 5 - Row 16: 4560.46
Column 0 - Row 17: This is a string
Column 1 - Row 17: 200
Column 2 - Row 17: FALSE
Column 3 - Row 17: 3.14
Column 4 - Row 17: Another string
Column 5 - Row 17: 4560.46
Column 0 - Row 18: This is a string
Column 1 - Row 18: 200
Column 2 - Row 18: FALSE
Column 3 - Row 18: 3.14
Column 4 - Row 18: Another string
Column 5 - Row 18: 4560.46
Column 0 - Row 19: This is a string
Column 1 - Row 19: 200
Column 2 - Row 19: FALSE
Column 3 - Row 19: 3.14
Column 4 - Row 19: Another string
Column 5 - Row 19: 4560.46
Column 0 - Row 20: This is a string
Column 1 - Row 20: 200
Column 2 - Row 20: FALSE
Column 3 - Row 20: 3.14
Column 4 - Row 20: Another string
Column 5 - Row 20: 4560.46
Column 0 - Row 21: This is a string
Column 1 - Row 21: 200
Column 2 - Row 21: FALSE
Column 3 - Row 21: 3.14
Column 4 - Row 21: Another string
Column 5 - Row 21: 4560.46
Column 0 - Row 22: This is a string
Column 1 - Row 22: 200
Column 2 - Row 22: FALSE
Column 3 - Row 22: 3.14
Column 4 - Row 22: Another string
Column 5 - Row 22: 4560.46
Column 0 - Row 23: This is a string
Column 1 - Row 23: 200
Column 2 - Row 23: FALSE
Column 3 - Row 23: 3.14
Column 4 - Row 23: Another string
Column 5 - Row 23: 4560.46
Column 0 - Row 24: This is a string
Column 1 - Row 24: 200
Column 2 - Row 24: FALSE
Column 3 - Row 24: 3.14
Column 4 - Row 24: Another string
Column 5 - Row 24: 4560.46
Column 0 - Row 25: This is a string
Column 1 - Row 25: 200
Column 2 - Row 25: FALSE
Column 3 - Row 25: 3.14
Column 4 - Row 25: Another string
Column 5 - Row 25: 4560.46
Column 0 - Row 26: This is a string
Column 1 - Row 26: 200
Column 2 - Row 26: FALSE
Column 3 - Row 26: 3.14
Column 4 - Row 26: Another string
Column 5 - Row 26: 4560.46
Column 0 - Row 27: This is a string
Column 1 - Row 27: 200
Column 2 - Row 27: FALSE
Column 3 - Row 27: 3.14
Column 4 - Row 27: Another string
Column 5 - Row 27: 4560.46
Column 0 - Row 28: This is a string
Column 1 - Row 28: 200
Column 2 - Row 28: FALSE
Column 3 - Row 28: 3.14
Column 4 - Row 28: Another string
Column 5 - Row 28: 4560.46
Column 0 - Row 29: This is a string
Column 1 - Row 29: 200
Column 2 - Row 29: FALSE
Column 3 - Row 29: 3.14
Column 4 - Row 29: Another string
Column 5 - Row 29: 4560.46
Column 0 - Row 30: This is a string
Column 1 - Row 30: 200
Column 2 - Row 30: FALSE
Column 3 - Row 30: 3.14
Column 4 - Row 30: Another string
Column 5 - Row 30: 4560.46
Column 0 - Row 31: This is a string
Column 1 - Row 31: 200
Column 2 - Row 31: FALSE
Column 3 - Row 31: 3.14
Column 4 - Row 31: Another string
Column 5 - Row 31: 4560.46
Column 0 - Row 32: This is a string
Column 1 - Row 32: 200
Column 2 - Row 32: FALSE
Column 3 - Row 32: 3.14
Column 4 - Row 32: Another string
Column 5 - Row 32: 4560.46
Column 0 - Row 33: This is a string
Column 1 - Row 33: 200
Column 2 - Row 33: FALSE
Column 3 - Row 33: 3.14
Column 4 - Row 33: Another string
Column 5 - Row 33: 4560.46
Column 0 - Row 34: This is a string
Column 1 - Row 34: 200
Column 2 - Row 34: FALSE
Column 3 - Row 34: 3.14
Column 4 - Row 34: Another string
Column 5 - Row 34: 4560.46
Column 0 - Row 35: This is a string
Column 1 - Row 35: 200
Column 2 - Row 35: FALSE
Column 3 - Row 35: 3.14
Column 4 - Row 35: Another string
Column 5 - Row 35: 4560.46
Column 0 - Row 36: This is a string
Column 1 - Row 36: 200
Column 2 - Row 36: FALSE
Column 3 - Row 36: 3.14
Column 4 - Row 36: Another string
Column 5 - Row 36: 4560.46
Column 0 - Row 37: This is a string
Column 1 - Row 37: 200
Column 2 - Row 37: FALSE
Column 3 - Row 37: 3.14
Column 4 - Row 37: Another string
Column 5 - Row 37: 4560.46
Column 0 - Row 38: This is a string
Column 1 - Row 38: 200
Column 2 - Row 38: FALSE
Column 3 - Row 38: 3.14
Column 4 - Row 38: Another string
Column 5 - Row 38: 4560.46
Column 0 - Row 39: This is a string
Column 1 - Row 39: 200
Column 2 - Row 39: FALSE
Column 3 - Row 39: 3.14
Column 4 - Row 39: Another string
Column 5 - Row 39: 4560.46
Column 0 - Row 40: This is a string
Column 1 - Row 40: 200
Column 2 - Row 40: FALSE
Column 3 - Row 40: 3.14
Column 4 - Row 40: Another string
Column 5 - Row 40: 4560.46
Column 0 - Row 41: This is a string
Column 1 - Row 41: 200
Column 2 - Row 41: FALSE
Column 3 - Row 41: 3.14
Column 4 - Row 41: Another string
Column 5 - Row 41: 4560.46
Column 0 - Row 42: This is a string
Column 1 - Row 42: 200
Column 2 - Row 42: FALSE
Column 3 - Row 42: 3.14
Column 4 - Row 42: Another string
Column 5 - Row 42: 4560.46
Column 0 - Row 43: This is a string
Column 1 - Row 43: 200
Column 2 - Row 43: FALSE
Column 3 - Row 43: 3.14
Column 4 - Row 43: Another string
Column 5 - Row 43: 4560.46
Column 0 - Row 44: This is a string
Column 1 - Row 44: 200
Column 2 - Row 44: FALSE
Column 3 - Row 44: 3.14
Column 4 - Row 44: Another string
Column 5 - Row 44: 4560.46
Column 0 - Row 45: This is a string
Column 1 - Row 45: 200
Column 2 - Row 45: FALSE
Column 3 - Row 45: 3.14
Column 4 - Row 45: Another string
Column 5 - Row 45: 4560.46
Column 0 - Row 46: This is a string
Column 1 - Row 46: 200
Column 2 - Row 46: FALSE
Column 3 - Row 46: 3.14
Column 4 - Row 46: Another string
Column 5 - Row 46: 4560.46
Column 0 - Row 47: This is a string
Column 1 - Row 47: 200
Column 2 - Row 47: FALSE
Column 3 - Row 47: 3.14
Column 4 - Row 47: Another string
Column 5 - Row 47: 4560.46
Column 0 - Row 48: This is a string
Column 1 - Row 48: 200
Column 2 - Row 48: FALSE
Column 3 - Row 48: 3.14
Column 4 - Row 48: Another string
Column 5 - Row 48: 4560.46
Column 0 - Row 49: This is a string
Column 1 - Row 49: 200
Column 2 - Row 49: FALSE
Column 3 - Row 49: 3.14
Column 4 - Row 49: Another string
Column 5 - Row 49: 4560.46
=========================================
= Testing GDA client API
_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]