Re: Gnucash Mobile alpha release

2012-07-09 Thread Bill Hammond
Hi!

Just installed on my Samsung Galaxy Admire running Gingerbread 2.3.4
with no problems so far. I'd be interested in becoming an alpha/beta
tester if you can use an Android newbie that knows how to run the Hello
World tutorial. Feel free to get in touch.

All the best,

Bill Hammond

On 07/09/2012 06:44 AM, Ngewi Fet wrote:
 Hello everyone,
 It's about mid-term in the Google Summer of Code program and I would like
 to share what I've been working on.
 
 The Gnucash for Android app is now ready for a small alpha release. The
 app supports android versions from Froyo 2.2 (API level 8) and above.
 I have compiled an Android application package (apk) so that you do not
 have to download the code and compile yourself.
 
 This alpha release is not distributed through any Android market.
 In order to install it,
 1. Modify the settings of your phone to allow installation of applications
 from Unknown sources.
 That can be found under Settings - Applications (for Android 2.x
 devices)
 or under Settings - Security  (for Android 4.x devices)
 2.  Then you can just navigate to the link below in your phone browser and
 then click on Download.
 3.  When the download is done, go to the Downloads app in your phone and
 then click on GnucashMobile entry.
 
 ** Disclaimer * *
 *This is an alpha release, and active development is ongoing. The app is
 not final and should not be used for*
 *any production use (whatever that means for you). The (metaphorical) rug
 can be pulled from under your feet at any time.*
 
 Now that we have that out of the way, you can download the application
 from GitHub
 downloads https://github.com/codinguser/GnucashMobile/downloads.
 If you run into any issues, you can post them on the issues
 sectionhttps://github.com/codinguser/GnucashMobile/issuesof the
 Github repo. Thanks.
 
 Cheers,
 Ngewi
 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel
 


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: build problem

2011-07-17 Thread Bill Hammond
I've got the same problem under Ubuntu Natty.

Regards,

Bill

On 07/17/2011 09:36 PM, John Ralls wrote:
 
 On Jul 17, 2011, at 8:17 PM, J. Alex Aycinena wrote:
 
 John,

 One of your recent commits related to testing gives me this error when
 I try to build:

 /home/gnucash-dev/svncheckouts/gnucash-clean/src/test-core/test-stuff.c:
 In function 'test_handle_faults':
 /home/gnucash-dev/svncheckouts/gnucash-clean/src/test-core/test-stuff.c:374:2:
 error: implicit declaration of function 'g_printf'
 [-Werror=implicit-function-declaration]
 cc1: all warnings being treated as errors
 
 
 Alex,
 
 That's very strange. g_printf() has been part of glib for a very long time. 
 Surely you got something more, like not being able to find glib.h.
 
 Regards,
 John Ralls
 
 
 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


r20494 make check fails

2011-03-26 Thread Bill Hammond
Hello!

I'm having trouble getting make check to pass with r20494 after a clean
build.  Here's the error...

libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
.libs/test-link test-link.o 
../../../../src/libqof/qof/.libs/libgnc-qof.so
../../../../src/app-utils/.libs/libgncmod-app-utils.so
../../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
../.libs/libgncmod-ofx.so -lpthread -lm -pthread -Wl,-rpath
-Wl,/home/ka1ssr/unstable/gnucash/lib -Wl,-rpath
-Wl,/home/ka1ssr/unstable/gnucash/lib/gnucash
../.libs/libgncmod-ofx.so: undefined reference to
`gnc_gen_trans_list_widget'
collect2: ld returned 1 exit status
make[5]: *** [test-link] Error 1
make[5]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ka1ssr/development/gnucash/src'
make: *** [check-recursive] Error 1

The configure/make all phases run fine with no errors.  I'm running
Ubuntu 10.10.  All packages are up to date.

Thanks for your help.

Regards,

Bill

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r20494 make check fails

2011-03-26 Thread Bill Hammond
Hi, Christian!  Thanks for getting back to me.

Yup, It looks like I got bit by mixed binaries.  The
libgncmod-generic-import.la I was linking against was dated March 8th. 
I cleaned up my unstable binary directory, rebuilt everything and make
check runs just fine now.

Thanks again.

Regards,

Bill

On 03/26/2011 05:54 PM, Christian Stimming wrote:
 Am Samstag, 26. März 2011 schrieb Bill Hammond:
 I'm having trouble getting make check to pass with r20494 after a clean
 build.  Here's the error...

 libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall
 -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
 .libs/test-link test-link.o
 ../../../../src/libqof/qof/.libs/libgnc-qof.so
 ../../../../src/app-utils/.libs/libgncmod-app-utils.so
 ../../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
 ../.libs/libgncmod-ofx.so -lpthread -lm -pthread -Wl,-rpath
 -Wl,/home/ka1ssr/unstable/gnucash/lib -Wl,-rpath
 -Wl,/home/ka1ssr/unstable/gnucash/lib/gnucash
 ../.libs/libgncmod-ofx.so: undefined reference to
 `gnc_gen_trans_list_widget'
 collect2: ld returned 1 exit status
 make[5]: *** [test-link] Error 1
 make[5]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
 I don't see this error here. make check runs fine.

 That could happen if the test-link executable somehow tries to link against 
 a slightly older version of gnucash's gncmod-generic-import.la which didn't 
 have this symbol. I've added this approx. 5 weeks ago, or at least I've added 
 the usage of this in the ofx module. A mixup of older and newer binaries 
 could 
 cause this error.

 If no such mixup can have occurred on your system, we need to do further 
 investigations...

 Regards,

 Christian

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: No DBD drivers found warning when running make check

2011-02-03 Thread Bill Hammond
On 02/02/2011 08:35 PM, John Ralls wrote:
 On Feb 2, 2011, at 1:05 PM, Bill Hammond wrote:

 Hi Tommy!

 On 01/31/2011 11:49 PM, Tommy Trussell wrote:
 On Mon, Jan 31, 2011 at 9:36 PM, Bill Hammond ka1...@gmail.com wrote:
 Hello!

 I am having trouble running make check on r20217.  Here's what's happening:

 ...

 I'm running Ubuntu 10.10.  I checked and the dbd drivers have been
 installed in /usr/lib/dbd.
 I just happened to check out and build r20217 this afternoon on this
 Ubuntu 10.04 box, and it worked fine.

 I did go through all the steps exactly as described at
 http://wiki.gnucash.org/wiki/Building#Ubuntu_10.04_LTS_.28Lucid_Lynx.29

 so if you used different ./configure parameters that might explain why
 mine worked and yours didn't... ?
 I took the scorched earth approach by starting with a clean slate.  I
 deleted my ~/development/gnucash installation and started at the
 beginning of the procedure in the wiki.  I then checked out r20224,
 executed the time honoured ./autogen.sh / ./configure
 --prefix=/home/ka1ssr/unstable/gnucash --enable-debug --enable-doxygen
 --enable-error-on-warning --enable-compile-warnings / make all install. 
 Now I get this:

 ...

 make[5]: Entering directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi'
 /bin/bash ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I../../.. -DG_LOG_DOMAIN=\gnc.backend.dbi\   -I.. -I../..
 -DLOCALE_DIR=\/home/ka1ssr/unstable/gnucash/share/locale\
 -I../../../src/backend -I../../../src/backend/sql -I../../../src/debug
 -I../../../src/engine -I../../../src/app-utils -I../../../src/core-utils
 -I../../../lib/libc -I../../../src/libqof/qof -pthread
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1
 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-Werror
 -Wdeclaration-after-statement -g  -g  -Wall -Wunused
 -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -MT
 gnc-backend-dbi.lo -MD -MP -MF .deps/gnc-backend-dbi.Tpo -c -o
 gnc-backend-dbi.lo gnc-backend-dbi.c
 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../..
 -DG_LOG_DOMAIN=\gnc.backend.dbi\ -I.. -I../..
 -DLOCALE_DIR=\/home/ka1ssr/unstable/gnucash/share/locale\
 -I../../../src/backend -I../../../src/backend/sql -I../../../src/debug
 -I../../../src/engine -I../../../src/app-utils -I../../../src/core-utils
 -I../../../lib/libc -I../../../src/libqof/qof -pthread
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread
 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include -Werror -Wdeclaration-after-statement -g -g
 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused
 -MT gnc-backend-dbi.lo -MD -MP -MF .deps/gnc-backend-dbi.Tpo -c
 gnc-backend-dbi.c  -fPIC -DPIC -o .libs/gnc-backend-dbi.o
 mv -f .deps/gnc-backend-dbi.Tpo .deps/gnc-backend-dbi.Plo
 make[5]: *** No rule to make target
 `../../../src/app-utils/libgncmod-app-utils.la', needed by
 `libgncmod-backend-dbi.la'.  Stop.
 make[5]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/ka1ssr/development/gnucash/src/backend'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/ka1ssr/development/gnucash/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/ka1ssr/development/gnucash'
 make: *** [all] Error 2

 Thanks for your help with this.
 Sorry, that's my fault. When I moved gnc-locale-utils from app-utils to 
 core-utils (to correct exactly this problem) I failed to change 
 backends/dbi/Makefile.am. If you feel up to it, you can do so yourself 
 (delete line 15 and change app-utils to core-utils in line 36). I'll check in 
 a fix in a bit.

 Regards,
 John Ralls

Success!  Well...sort of.  I updated to r20228 which fixed the
Makefile.am issue and got rid of a majority of the no DBD drivers
found warnings.  There are still warnings when we get to the dbi checks.

...

libtool: link: gcc -I../../../../lib/libc -I../../../../src
-I../../../../src/core-utils -I../../../../src/gnc-module
-I../../../../src/test-core -I../../../../src/engine
-I../../../../src/engine/test-core -I../../../../src/libqof/qof
-I../../../../src/backend/sql -DTEST_MYSQL_URL=\\
-DTEST_PGSQL_URL=\\ -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -DORBIT2=1 -pthread
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Werror -Wdeclaration-after-statement -g -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused
-g -o .libs/test-load-backend test-load-backend.o 
../../../../src/test-core/.libs/libtest-core.a
../../../../src/gnc-module/.libs/libgnc-module.so
../../../../src/engine/.libs/libgncmod-engine.so
../../../../src/engine/test

Re: No DBD drivers found warning when running make check

2011-02-02 Thread Bill Hammond
Hi Tommy!

On 01/31/2011 11:49 PM, Tommy Trussell wrote:
 On Mon, Jan 31, 2011 at 9:36 PM, Bill Hammond ka1...@gmail.com wrote:
 Hello!

 I am having trouble running make check on r20217.  Here's what's happening:

 ...

 I'm running Ubuntu 10.10.  I checked and the dbd drivers have been
 installed in /usr/lib/dbd.
 I just happened to check out and build r20217 this afternoon on this
 Ubuntu 10.04 box, and it worked fine.

 I did go through all the steps exactly as described at
 http://wiki.gnucash.org/wiki/Building#Ubuntu_10.04_LTS_.28Lucid_Lynx.29

 so if you used different ./configure parameters that might explain why
 mine worked and yours didn't... ?

I took the scorched earth approach by starting with a clean slate.  I
deleted my ~/development/gnucash installation and started at the
beginning of the procedure in the wiki.  I then checked out r20224,
executed the time honoured ./autogen.sh / ./configure
--prefix=/home/ka1ssr/unstable/gnucash --enable-debug --enable-doxygen
--enable-error-on-warning --enable-compile-warnings / make all install. 
Now I get this:

...

make[5]: Entering directory
`/home/ka1ssr/development/gnucash/src/backend/dbi'
/bin/bash ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../.. -DG_LOG_DOMAIN=\gnc.backend.dbi\   -I.. -I../..
-DLOCALE_DIR=\/home/ka1ssr/unstable/gnucash/share/locale\
-I../../../src/backend -I../../../src/backend/sql -I../../../src/debug
-I../../../src/engine -I../../../src/app-utils -I../../../src/core-utils
-I../../../lib/libc -I../../../src/libqof/qof -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1
-pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-Werror
-Wdeclaration-after-statement -g  -g  -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations  -Wno-unused -MT
gnc-backend-dbi.lo -MD -MP -MF .deps/gnc-backend-dbi.Tpo -c -o
gnc-backend-dbi.lo gnc-backend-dbi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../..
-DG_LOG_DOMAIN=\gnc.backend.dbi\ -I.. -I../..
-DLOCALE_DIR=\/home/ka1ssr/unstable/gnucash/share/locale\
-I../../../src/backend -I../../../src/backend/sql -I../../../src/debug
-I../../../src/engine -I../../../src/app-utils -I../../../src/core-utils
-I../../../lib/libc -I../../../src/libqof/qof -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Werror -Wdeclaration-after-statement -g -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused
-MT gnc-backend-dbi.lo -MD -MP -MF .deps/gnc-backend-dbi.Tpo -c
gnc-backend-dbi.c  -fPIC -DPIC -o .libs/gnc-backend-dbi.o
mv -f .deps/gnc-backend-dbi.Tpo .deps/gnc-backend-dbi.Plo
make[5]: *** No rule to make target
`../../../src/app-utils/libgncmod-app-utils.la', needed by
`libgncmod-backend-dbi.la'.  Stop.
make[5]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ka1ssr/development/gnucash/src/backend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ka1ssr/development/gnucash/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ka1ssr/development/gnucash'
make: *** [all] Error 2

Thanks for your help with this.

Bill

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: No DBD drivers found warning when running make check

2011-02-02 Thread Bill Hammond
On 02/02/2011 08:35 PM, John Ralls wrote:

 Sorry, that's my fault. When I moved gnc-locale-utils from app-utils to 
 core-utils (to correct exactly this problem) I failed to change 
 backends/dbi/Makefile.am. If you feel up to it, you can do so yourself 
 (delete line 15 and change app-utils to core-utils in line 36). I'll check in 
 a fix in a bit.

 Regards,
 John Ralls

Hi John,

Did you mean backend/dbi?  I made the changes to Makefile.am but the
build still fails.

I'll wait for the commit.  Time for bed.

Thanks!

Bill

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Make check fails at dbi test

2011-01-10 Thread Bill Hammond
Wonderful news, Jeff.  Thanks.  I should have made it clear that the
zero amount issue happens with SQL, not the XML.  Sorry 'bout that.

Bill

On 01/10/2011 01:54 AM, Jeff Kletsky wrote:

 [...]
 Hello!

 I am having a problem with make check on r20048 (and a few versions
 before that).  I am also having problems with gnucash 2.4.0 storing
 accounts as an SQL database.  The transaction dates and descriptions
 are
 displayed in the register but the amounts always show zero.

 Here's the error I get when I run make check.  There are no errors
 during the ./autogen / ./configure / make phases of building.

 I'm running Ubuntu 10.10 with sqlite3 3.7.0.  I believe I have all
 the
 dbi stuff installed. I'm still running gnucash 2.2.9 with no
 problems.
 What vers

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Make check fails at dbi test

2011-01-09 Thread Bill Hammond
Hello!

I am having a problem with make check on r20048 (and a few versions
before that).  I am also having problems with gnucash 2.4.0 storing
accounts as an SQL database.  The transaction dates and descriptions are
displayed in the register but the amounts always show zero.

Here's the error I get when I run make check.  There are no errors
during the ./autogen / ./configure / make phases of building.

I'm running Ubuntu 10.10 with sqlite3 3.7.0.  I believe I have all the
dbi stuff installed. I'm still running gnucash 2.2.9 with no problems.

Many thanks for your help.

Bill

 8---
...
make[6]: Entering directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
Using filename: /tmp/test-IuSwjr
Testing sqlite3
* 17:49:12  CRIT gnc.engine xaccSplitSetValue: assertion
`gnc_numeric_check(amt) == GNC_ERROR_OK' failed
* 17:49:12  CRIT gnc.engine xaccSplitSetAmount: assertion
`gnc_numeric_check(amt) == GNC_ERROR_OK' failed
* 17:49:12  CRIT gnc.engine xaccSplitSetValue: assertion
`gnc_numeric_check(amt) == GNC_ERROR_OK' failed
* 17:49:12  CRIT gnc.engine xaccSplitSetAmount: assertion
`gnc_numeric_check(amt) == GNC_ERROR_OK' failed
* 17:49:13  WARN gnc.account [xaccAccountEqual()] kvp frames differ:
{
double-val = KVP_VALUE_DOUBLE(3.14159),
timespec-val = KVP_VALUE_TIMESPEC(2011-01-09 17:49:07.00 -0500),
int64-val = KVP_VALUE_GINT64(100),
numeric-val = KVP_VALUE_NUMERIC(0/1),
guid-val = KVP_VALUE_GUID(9770a545afadcd208e7f4ce0ed5b175e),
string-val = KVP_VALUE_STRING(abcdefghijklmnop),
}


vs

{
double-val = KVP_VALUE_DOUBLE(0),
timespec-val = KVP_VALUE_TIMESPEC(2011-01-09 17:49:07.00 -0500),
int64-val = KVP_VALUE_GINT64(0),
numeric-val = KVP_VALUE_NUMERIC(0/0),
string-val = KVP_VALUE_STRING(abcdefghijklmnop),
guid-val = KVP_VALUE_GUID(9770a545afadcd208e7f4ce0ed5b175e),
}
* 17:49:13  WARN gnc.account [xaccAcctChildrenEqual()] accounts
9770a545afadcd208e7f4ce0ed5b175e and 9770a545afadcd208e7f4ce0ed5b175e differ
* 17:49:13  WARN gnc.account [xaccAccountEqual()] children differ
FAILURE Accounts trees match test-dbi-stuff.c:63
Returned from index list
 You may ignore the warning about the lock file having no entries: We
had to ignore locking to run two sessions on the same database
* 17:49:13  WARN gnc.backend.dbi [gnc_dbi_unlock()] There was no lock
entry in the Lock table
TEST_MYSQL_URL=''
TEST_PGSQL_URL=''
Executed 5 tests. There was 1 failure.
FAIL: test-dbi-basic
Using filename: /tmp/test-0V18aa
Testing sqlite3
Returned from index list
 You may ignore the warning about the lock file having no entries: We
had to ignore locking to run two sessions on the same database
* 17:49:19  WARN gnc.backend.dbi [gnc_dbi_unlock()] There was no lock
entry in the Lock table
TEST_MYSQL_URL=''
TEST_PGSQL_URL=''
Executed 5 tests. All tests passed.
PASS: test-dbi
Using filename: /tmp/test-NWyw4B
Testing sqlite3
 You may ignore the warning about the lock file having no entries: We
had to ignore locking to run two sessions on the same database
* 17:49:26  WARN gnc.backend.dbi [gnc_dbi_unlock()] There was no lock
entry in the Lock table
Executed 7 tests. All tests passed.
PASS: test-dbi-business
Executed 1 test. All tests passed.
PASS: test-load-backend
==
1 of 4 tests failed
Please report to gnucash-devel@gnucash.org
==
make[6]: *** [check-TESTS] Error 1
make[6]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
make[5]: *** [check-am] Error 2
make[5]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi/test'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/ka1ssr/development/gnucash/src/backend/dbi'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/ka1ssr/development/gnucash/src/backend'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ka1ssr/development/gnucash/src'
make: *** [check-recursive] Error 1


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Make check fails at dbi test

2011-01-09 Thread Bill Hammond
Hi, Derek,

Does 0.0.5 sound right?  I confess that I don't really know how to
extract version numbers from libraries.  I know enough Ubuntu to be
dangerous.

Bill

On 01/09/2011 06:38 PM, Derek Atkins wrote:
 Hi,

 On Sun, January 9, 2011 6:05 pm, Bill Hammond wrote:
 Hello!

 I am having a problem with make check on r20048 (and a few versions
 before that).  I am also having problems with gnucash 2.4.0 storing
 accounts as an SQL database.  The transaction dates and descriptions are
 displayed in the register but the amounts always show zero.

 Here's the error I get when I run make check.  There are no errors
 during the ./autogen / ./configure / make phases of building.

 I'm running Ubuntu 10.10 with sqlite3 3.7.0.  I believe I have all the
 dbi stuff installed. I'm still running gnucash 2.2.9 with no problems.
 What version of libdbi do you have?  This looks like the libdbi fastmath
 bug issue

 -derek

 Many thanks for your help.

 Bill

  8---
 ...
 make[6]: Entering directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi/test'
 Using filename: /tmp/test-IuSwjr
 Testing sqlite3
 * 17:49:12  CRIT gnc.engine xaccSplitSetValue: assertion
 `gnc_numeric_check(amt) == GNC_ERROR_OK' failed
 * 17:49:12  CRIT gnc.engine xaccSplitSetAmount: assertion
 `gnc_numeric_check(amt) == GNC_ERROR_OK' failed
 * 17:49:12  CRIT gnc.engine xaccSplitSetValue: assertion
 `gnc_numeric_check(amt) == GNC_ERROR_OK' failed
 * 17:49:12  CRIT gnc.engine xaccSplitSetAmount: assertion
 `gnc_numeric_check(amt) == GNC_ERROR_OK' failed
 * 17:49:13  WARN gnc.account [xaccAccountEqual()] kvp frames differ:
 {
 double-val = KVP_VALUE_DOUBLE(3.14159),
 timespec-val = KVP_VALUE_TIMESPEC(2011-01-09 17:49:07.00 -0500),
 int64-val = KVP_VALUE_GINT64(100),
 numeric-val = KVP_VALUE_NUMERIC(0/1),
 guid-val = KVP_VALUE_GUID(9770a545afadcd208e7f4ce0ed5b175e),
 string-val = KVP_VALUE_STRING(abcdefghijklmnop),
 }


 vs

 {
 double-val = KVP_VALUE_DOUBLE(0),
 timespec-val = KVP_VALUE_TIMESPEC(2011-01-09 17:49:07.00 -0500),
 int64-val = KVP_VALUE_GINT64(0),
 numeric-val = KVP_VALUE_NUMERIC(0/0),
 string-val = KVP_VALUE_STRING(abcdefghijklmnop),
 guid-val = KVP_VALUE_GUID(9770a545afadcd208e7f4ce0ed5b175e),
 }
 * 17:49:13  WARN gnc.account [xaccAcctChildrenEqual()] accounts
 9770a545afadcd208e7f4ce0ed5b175e and 9770a545afadcd208e7f4ce0ed5b175e
 differ
 * 17:49:13  WARN gnc.account [xaccAccountEqual()] children differ
 FAILURE Accounts trees match test-dbi-stuff.c:63
 Returned from index list
  You may ignore the warning about the lock file having no entries: We
 had to ignore locking to run two sessions on the same database
 * 17:49:13  WARN gnc.backend.dbi [gnc_dbi_unlock()] There was no lock
 entry in the Lock table
 TEST_MYSQL_URL=''
 TEST_PGSQL_URL=''
 Executed 5 tests. There was 1 failure.
 FAIL: test-dbi-basic
 Using filename: /tmp/test-0V18aa
 Testing sqlite3
 Returned from index list
  You may ignore the warning about the lock file having no entries: We
 had to ignore locking to run two sessions on the same database
 * 17:49:19  WARN gnc.backend.dbi [gnc_dbi_unlock()] There was no lock
 entry in the Lock table
 TEST_MYSQL_URL=''
 TEST_PGSQL_URL=''
 Executed 5 tests. All tests passed.
 PASS: test-dbi
 Using filename: /tmp/test-NWyw4B
 Testing sqlite3
  You may ignore the warning about the lock file having no entries: We
 had to ignore locking to run two sessions on the same database
 * 17:49:26  WARN gnc.backend.dbi [gnc_dbi_unlock()] There was no lock
 entry in the Lock table
 Executed 7 tests. All tests passed.
 PASS: test-dbi-business
 Executed 1 test. All tests passed.
 PASS: test-load-backend
 ==
 1 of 4 tests failed
 Please report to gnucash-devel@gnucash.org
 ==
 make[6]: *** [check-TESTS] Error 1
 make[6]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi/test'
 make[5]: *** [check-am] Error 2
 make[5]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi/test'
 make[4]: *** [check-recursive] Error 1
 make[4]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi/test'
 make[3]: *** [check-recursive] Error 1
 make[3]: Leaving directory
 `/home/ka1ssr/development/gnucash/src/backend/dbi'
 make[2]: *** [check-recursive] Error 1
 make[2]: Leaving directory `/home/ka1ssr/development/gnucash/src/backend'
 make[1]: *** [check-recursive] Error 1
 make[1]: Leaving directory `/home/ka1ssr/development/gnucash/src'
 make: *** [check-recursive] Error 1


 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel