[Mono-devel-list] FW: [Long Post] XSP and databases using libgda
Trevor
trevor at gnuguy.com
Wed Jan 14 16:44:11 EST 2004
I'm sorry about my previous post... here it is again.
I get the following error messages when trying to access data from a
database. What should I be looking for? Any ideas? It's a Redhat 7.3 box.
** (/usr/bin/xsp.exe:17533): WARNING **: Failed to load library
./libgobject-2.0.so (gobject-2.0): ./libgobject-2.0.so: cannot open shared
object file: No such file or directory
** (/usr/bin/xsp.exe:17533): WARNING **: Failed to load library
./libgobject-2.0.so (gobject-2.0): ./libgobject-2.0.so: cannot open shared
object file: No such file or directory
** (System.Data.OleDb:17533): CRITICAL **: file gda-config.c: line 136
(gda_config_parse_config_file): assertion `len != 0' failed
Also, below is the results for gda-test:
<SNIP>
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
=========================================
Data source = Default, User = nouser
Provider capabilities...
Aggregates: Not supported
Indexes: Not supported
Namespaces: Not supported
Procedures: Not supported
Sequences: Not supported
SQL: Not supported
Transactions: Supported
Triggers: Not supported
Users: Not supported
Views: Not supported
XML queries: Supported
BLOBs: Not supported
Provider reports version: (null)
Namespaces
NONE
Databases 0
Stored procedures
NONE
Connection Tables 0
Available types 15
bigint
binary
boolean
date
double
integer
list
numeric
point
single
smallint
string
time
timestamp
tinyint
Views
NONE
Indexes
NONE
Aggregates
NONE
Users
NONE
Sequences
NONE
Triggers
NONE
Languages
NONE
Starting transaction...
** (gda-test:17583): CRITICAL **: file gda-util.c: line 202 (gda_file_save):
assertion `filename != NULL' failed
Error
Finishing transaction...
** (gda-test:17583): CRITICAL **: file gda-util.c: line 202 (gda_file_save):
assertion `filename != NULL' failed
Error
Starting transaction...
** (gda-test:17583): CRITICAL **: file gda-util.c: line 202 (gda_file_save):
assertion `filename != NULL' failed
Error
Rolling back transaction...OK
And my /etc/libgda/config file:
[root at powerelf libgda]# cat config
<?xml version="1.0"?>
<libgda-config>
<section path="/apps/libgda/Datasources/Default">
<entry name="Provider" type="string" value="XML"/>
<entry name="Username" type="string" value="nouser"/>
<entry name="DSN" type="string"
value="URI=/tmp/gnome-db-test.db"/>
<entry name="Description" type="string" value="Default data
source"/>
</section>
</libgda-config>
More information about the Mono-devel-list
mailing list