Hi,
I'm trying to use rivet with the DIO and DIODisplay packages but have
constant segmentation faults.
First I populated a test table with some rows using DIO. Everything worked
fine...
Then I wanted to check DIODisplay out. The first segfaults were due to
load_response using the default response array. I have no clue why it
doesn't like it but adding an array name (resp) and changing response by
resp in the rest of the code at least showed a form on the web page.
This time the segfaults were produced elsewhere, so I started tracking it
down and came to the conclusion that it is the access of the results of the
query that are responsible.
I have a DIO object, make a request (exec) and get the result object back. I
can get the fields, errorcode, errorinfo and numrows but next and forall
both segfault.
Same thing for the array, fetch, list methods from the dio object... the
only method that worked till now is string but this only returns the first
record.

I hope somebody will be able to help me solve these problems, or at least
tell me where I can look to solve these issues. Would somebody have a
working deb package with the latest rivet??
My setup: Debian unstable using a Mysql database with rivet from svn tag 1_0
which compiled ok, but installation was not straightforward due to the
declaration lib_libexecdir=/usr/lib /usr/share/rivet0.7.0 .

As I'm already asking quiet a lot of things, Could somebody give a simple
example how DIODisplay is to be used? a test database with one table a
couple of columns and a .rvt page showing how to use it??

Thank in advance for any help!
Cristian.

Reply via email to